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

[Bug]: matrixone operator may lack CRD resource even helm install return success #365

Open
1 task done
loveRhythm1990 opened this issue May 19, 2023 · 0 comments
Open
1 task done
Labels
kind/bug Something isn't working

Comments

@loveRhythm1990
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

  • Version or commit-id (e.g. v0.1.0 or 8b23a93):
  • Hardware parameters:
  • OS type:
  • Others:

Actual Behavior

Steps to reproduce:

  1. use helm install to install mo operator
  2. deploy a mo cluster, wait all pods to start successfully, includes logset pod/cn pod/dn pod
  3. use helm uninstall mo-operator to uninstall a mo operator
  4. use helm install to reinstall mo operator, executed immediately after uninstalling mo-operator

after step 4, it will shows that install successfully, but after a moment the mo operator will report an error that lack CRD.
the reason behind this error is that helm does not check if an already existed CRD is been deleting (It's deletiontimestamp is not nil) when installing chart. and after install successfully, the CRD which been deleting will be deleted

Expected Behavior

If a CRD is been deleting, the helm install command should fail

Steps to Reproduce

No response

Additional information

No response

@loveRhythm1990 loveRhythm1990 added the kind/bug Something isn't working label May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant