Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cluster-manager is not started #543

Open
masa213f opened this issue Jul 24, 2023 · 3 comments
Open

cluster-manager is not started #543

masa213f opened this issue Jul 24, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@masa213f
Copy link
Contributor

Describe the bug

cluster-manager is not started.

Environments

  • Version: MOCO v0.16.1

To Reproduce

  1. Create a MySQLCluster
  2. Wait for the MySQLCluster to become HEALTHY.
  3. Edit the MySQLCluster so that a reconciliation error occurs.
    $kubectl edit mysqlcluster <MySQLCluster>
    ...
    spec:
      mysqlConfigMapName: not-found
      podTemplate:
    ...
    
  4. Restart the moco-controller
    $ kubectl rollout restart -n moco-system deployment moco-controller 
    

After the above steps, a cluster-manager (goroutine) for the MySQLCluster will not start.

Expected behavior

After restarting moco-controller, the moco-controller should start cluster-managers for the existing MySQLClusters.

@masa213f masa213f added the bug Something isn't working label Jul 24, 2023
@ymmt2005
Copy link
Member

@masa213f Is this a regression?

@masa213f
Copy link
Contributor Author

@ymmt2005 Probably, this defect has existed for a long time.

@ymmt2005
Copy link
Member

@masa213f
Ah, I overlooked this.

Edit the MySQLCluster so that a reconciliation error occurs

Yes, it's currently the way it does. Maybe we should add more validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants