-
Notifications
You must be signed in to change notification settings - Fork 553
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
rbd: add immediate topology flag #4790
rbd: add immediate topology flag #4790
Conversation
In csi-external-provisioner: v5.0.1, topology-aware provisioning is enabled by default. As a result provisioner now expects toologyKeys to be present in CSINode object which must be passed by user via `--domainlabels` flag in RBD nodeplugin. Issue: Users upgrading to v3.12.0 who were not previously using topology-aware provisioning may encounter issues when provisionining RBD PVCs, as the `--domainlabels` flag might not be set. Fix: To address this, add `--immediate-topology=false` to disable topology-aware provisioning. User requiring topology-aware provisioning should provided the volumeBindingMode as `WaitForFirstConsumer` and `TopologyConstrainedPools` as required in the StorageClass and configure `--domainlabels` flag in RBD nodeplugin. Signed-off-by: Praveen M <m.praveen@ibm.com>
/test ci/centos/mini-e2e-helm/k8s-1.30 |
Signed-off-by: Praveen M <m.praveen@ibm.com>
d629068
to
2689977
Compare
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/k8s-e2e-external-storage/1.31 |
/test ci/centos/mini-e2e-helm/k8s-1.31 |
/test ci/centos/mini-e2e/k8s-1.31 |
/test ci/centos/k8s-e2e-external-storage/1.30 |
/test ci/centos/k8s-e2e-external-storage/1.29 |
/test ci/centos/mini-e2e-helm/k8s-1.30 |
/test ci/centos/mini-e2e-helm/k8s-1.29 |
/test ci/centos/mini-e2e/k8s-1.30 |
/test ci/centos/mini-e2e/k8s-1.29 |
/test ci/centos/mini-e2e-helm/k8s-1.30 |
/test ci/centos/mini-e2e/k8s-1.30 |
/test ci/centos/upgrade-tests-rbd |
Looks like
It still tries to list node resources, even if they would not be used by If I add to ClusterRole
which added by default when you set
@Madhu-1 @iPraveenParihar Looks like we need adjust helm chart not always add this permissions for ClusterRole |
@dragoangel, Thanks for reporting. seems like while I was testing helm install script, older clusterroles were not cleaned up properly 😞 and error didn't show up. |
Hi @iPraveenParihar assume you had rbac create false, otherwise helm would throw error like you are trying to own resources not owned by this helm chart? |
Describe what this PR does
In csi-external-provisioner version 5.0.1, topology-aware provisioning is enabled by default. As a result, the provisioner now expects topologyKeys to be present in the CSINode object, which must be provided by the user via the
--domainlabels
flag in the RBD nodeplugin.Issue: Users upgrading to version 3.12.0 who were not previously using topology-aware provisioning may encounter issues when provisioning RBD PVCs, as the
--domainlabels
flag might not be set.Fix: To address this, add
--immediate-topology=false
to disable topology-aware provisioning. Users requiring topology-aware provisioning should provide the volumeBindingMode asWaitForFirstConsumer
andTopologyConstrainedPools
in the StorageClass and configure the--domainlabels
flag in the RBD nodeplugin.Fixes: #4777
Future concerns
List items that are not part of the PR and do not impact it's
functionality, but are work items that can be taken up subsequently.
Checklist:
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>
: retest the<job-name>
after unrelatedfailure (please report the failure too!)