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

nova create control-plane (dangerously) removes everything when run again #2

Open
dhrp opened this issue Aug 22, 2023 · 1 comment
Open

Comments

@dhrp
Copy link

dhrp commented Aug 22, 2023

Situation:
I had an installed the control-plane, with etcd and the apiserver running and healthy, but the status check would warn that the CRD's were not installed.

Running kubectl nova create control-plane --context controller example-nova-cp again didn't make the CRDs installed, but instead removed everything:

kubectl nova create control-plane --context controller example-nova-cp
Installing Nova Control Plane... 🪄
I0822 10:49:23.654278   28474 control_plane_steps.go:78] Cluster name - example-nova-cp
I0822 10:49:23.655367   28474 control_plane_steps.go:122] Creating namespace elotl in control plane
Nova Control Plane installation failed. Rolling back...
clusterroles.rbac.authorization.k8s.io "nova-log-reader" not found
@selvik
Copy link

selvik commented Aug 25, 2023

Thank you very much for the feedback @dhrp! Nova create command has a flag called rollback that has now been changed to false by default which will prevent this from happening. Thank you to @murbans1 for fixing this in upcoming Nova release 0.6.1 @dhrp - will ping you here when this release is out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants