-
Notifications
You must be signed in to change notification settings - Fork 547
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
CSI NodePlugin with v.3.12.0 driver fails when missing domain labels #4775
Comments
I'm seeing this on a microk8s cluster as well. Are the expected labels literally |
Standard labels do seem like a better choice, but they are not present on every cluster and there's no requirement that they should be. the description of
And indeed, on an EKS cluster, I see these labels on the nodes:
And I don't see these labels on a local cluster built with But digging into the code a bit, it looks to me like they aren't fixed requirements at all, they're configurable. The rbd manifest has a command-line parameter you can uncomment to specify which labels to use:
The rbd helm chart specifies those labels in the default values.yaml:
Is that a bad default? Does passing helm the |
I ran into the same issue when I updated from 3.11.0 to 3.12.0. Adding this to my values fixed it. topology:
domainLabels: [] I submitted PR #4776 to comment out the bad default value. That said, these label values were 4 years old, and previous versions (3.10.2 and 3.11.0) did not crash in this way. I don't know what caused 3.12.0 to behave differently, so I can't say whether this was the only problem or not. |
I also hit this issue, adding this fixed the problem:
|
this does indeed "fixes" the mentioned problem, however, on new pvc, there's new one :D
|
@iPraveenParihar can you please check above? |
#4776 should fix the
We yet to decide on how to enable/disable topology aware provisioning (#4726). @ypyly, Can you please try with above workaround and see if that helps you? |
@iPraveenParihar yup, that works, thank you for a quick help |
Describe the bug
If you have normal worker nodes, which are missing the labels, and install csi with the latest driver v3.12.0 pod fails with error 258440 driver.go:145] missing domain labels [failure-domain/region failure-domain/zone] on node "[redacted]"
Environment details
fuse
orkernel
. for rbd itskrbd
orrbd-nbd
) : rbd-nbdSteps to reproduce
Steps to reproduce the behavior:
Actual results
all node plugins failing with error error 258440 driver.go:145] missing domain labels [failure-domain/region failure-domain/zone] on node "[redacted]"
Expected behavior
nodeplugins healthy.
Logs
error 258440 driver.go:145] missing domain labels [failure-domain/region failure-domain/zone] on node "[redacted]"
Additional context
Workaround is just to actually put those labels in the nodes, and after that it works as expected
The text was updated successfully, but these errors were encountered: