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

Fix creating the RBD namespace command with external mode #11239

Conversation

yitzhak12
Copy link
Contributor

@yitzhak12 yitzhak12 commented Jan 28, 2025

In the PR, I implemented the following:

  • Fix creating the RBD namespace command with external mode
  • Fix the deployment checks and the helpers file to take the new storageclass name
    when using the rbd namespace.

See the related bug https://issues.redhat.com/browse/DFBUGS-1300.
In external mode, we are creating the RBD storageclass using the RBD namespace prefix.

$ oc get sc
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
ocs-external-storagecluster-ceph-rbd-rados-namespace-rbd-namespace-4eeac409 openshift-storage.rbd.csi.ceph.com Delete Immediate true 18h
ocs-external-storagecluster-ceph-rgw openshift-storage.ceph.rook.io/bucket Delete Immediate false 18h
ocs-external-storagecluster-cephfs openshift-storage.cephfs.csi.ceph.com Delete Immediate true 18h
openshift-storage.noobaa.io openshift-storage.noobaa.io/obc Delete Immediate false 18h
thin-csi (default) csi.vsphere.vmware.com Delete WaitForFirstConsumer true 18h

@yitzhak12 yitzhak12 added the team/ecosystem Ecosystem team related issues/PRs label Jan 28, 2025
@yitzhak12 yitzhak12 requested a review from a team as a code owner January 28, 2025 10:33
@pull-request-size pull-request-size bot added the size/S PR that changes 10-29 lines label Jan 28, 2025
@yitzhak12 yitzhak12 force-pushed the fix-create-rbd-namespace-command-param branch from 6ac85b1 to adc4adf Compare January 29, 2025 09:35
@pull-request-size pull-request-size bot added size/XS and removed size/S PR that changes 10-29 lines labels Jan 29, 2025
…me' if they missing from the command

Signed-off-by: Itzhak Kave <[email protected]>
@yitzhak12 yitzhak12 force-pushed the fix-create-rbd-namespace-command-param branch from adc4adf to 8bac324 Compare February 9, 2025 10:40
@pull-request-size pull-request-size bot added size/S PR that changes 10-29 lines and removed size/XS labels Feb 12, 2025
…d namespace prefix, Save the 'rbd_namespace' param in the 'config.EXTERNAL_MODE'

Signed-off-by: Itzhak Kave <[email protected]>
@yitzhak12 yitzhak12 force-pushed the fix-create-rbd-namespace-command-param branch from 194cd7f to 4062d46 Compare February 12, 2025 13:25
@yitzhak12
Copy link
Contributor Author

I ran a test in my local, and it passed using the PR.

Copy link

openshift-ci bot commented Feb 12, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dahorak, petr-balogh, yitzhak12

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@petr-balogh petr-balogh merged commit a003cc5 into red-hat-storage:master Feb 12, 2025
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm size/S PR that changes 10-29 lines team/ecosystem Ecosystem team related issues/PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants