-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Detaching massively EBS volumes after CSI installed #13197
Comments
It really helps if you follow the template when submitting a bug, and paste the entire (redacted) cluster spec. Have you actually enabled CSI driver in the cluster spec? KCM feature flag should be set when you do. If things are configured correctly, you should see the flag in |
Sorry for that, I will fix soon
Yes, we enabled CSI in cluster spec:
At
But appear at
|
okay. I see the problem. Thanks for reporting this. |
/kind bug
1. What
kops
version are you running? The commandkops version
, will displaythis information.
1.22.2
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.1.18.20
3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
Enable CSI in a 1.18.20 cluster with existing PVs
5. What happened after the commands executed?
kops isn't adding
CSIMigrationAWSComplete
feature gate inkube-controller-manager
6. What did you expect to happen?
Feature gate
CSIMigrationAWSComplete
enabled atkube-controller-manager
7. Anything else do we need to know?
Some days after we enabled CSI, we are experiencing KCM detaching massively EBS.
This bug occurs every time the KCM restarts with this log:
This occurs only with PV migrated.
After investigating we discover that kops doesn't enable the
CSIMigrationAWSComplete
feature gate at KCM, just theCSIMigrationAWS
:We enabled the feature gate directly at
kube-controller-manager
manifest (/etc/kubernetes/manifests). Now the KCM isn't detaching volumes anymore:So what's wrong?
The text was updated successfully, but these errors were encountered: