Skip to content

OCPBUGS-84564: remove block volume mode in case of ocs-storagecluster-ceph-nfs#16397

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
Harshvardhan-handa123:provisioner-update-for-ceph-nfs-sc
Jul 25, 2026
Merged

OCPBUGS-84564: remove block volume mode in case of ocs-storagecluster-ceph-nfs#16397
openshift-merge-bot[bot] merged 1 commit into
openshift:mainfrom
Harshvardhan-handa123:provisioner-update-for-ceph-nfs-sc

Conversation

@Harshvardhan-handa123

@Harshvardhan-handa123 Harshvardhan-handa123 commented May 5, 2026

Copy link
Copy Markdown
Contributor

Jira link: https://redhat.atlassian.net/browse/OCPBUGS-84564

Description: Removed the option for block volume mode when the storage class is set to ocs-storagecluster-ceph-nfs.

SS:
image

Summary by CodeRabbit

  • New Features
    • Added support for NFS CSI (Ceph) as a storage provisioner, enabling users to provision persistent storage with both Filesystem and Block access modes.

@openshift-ci
openshift-ci Bot requested review from TheRealJon and fsgreco May 5, 2026 07:03
@openshift-ci openshift-ci Bot added the component/core Related to console core functionality label May 5, 2026
@openshift-ci

openshift-ci Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor

Hi @Harshvardhan-handa123. Thanks for your PR.

I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-ci openshift-ci Bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 5, 2026
@coderabbitai

coderabbitai Bot commented May 5, 2026

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This change extends the provisionerAccessModeMapping constant in the shared storage utilities to register the nfs.csi.ceph.com CSI provisioner. The new entry declares supported access modes for Filesystem provisioning (ReadWriteOnce, ReadWriteMany, ReadWriteOncePod) and enables partial name matching for provisioner resolution. The modification maintains the existing data structure and does not alter other storage-related logic or exported interfaces.

🚥 Pre-merge checks | ✅ 10 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is largely incomplete against the template. While a Jira link and basic description are provided, it lacks most required sections: Analysis/Root cause, Solution description details, Test setup, Test cases, Browser conformance, and Reviewers/assignees. Complete the PR description using the template: add detailed Analysis/Root cause, expanded Solution description explaining the provisioner mapping logic, Test setup/cases, Browser conformance checklist, and appropriate reviewer/assignee tags.
Title check ⚠️ Warning The PR title claims to 'remove block volume mode' but the actual change adds a provisioner entry with both Filesystem AND Block access modes enabled. Revise the title to accurately reflect the change: something like 'Add nfs.csi.ceph.com provisioner configuration to provisionerAccessModeMapping' would better describe what the code actually does.
✅ Passed checks (10 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed Check is not applicable. This PR contains only frontend TypeScript changes and Jest tests, not Ginkgo Go tests. The custom check targets Ginkgo test names specifically.
Test Structure And Quality ✅ Passed Custom check for Ginkgo test quality is not applicable. PR modifies frontend TypeScript storage configuration only. No Ginkgo tests are present in this PR.
Microshift Test Compatibility ✅ Passed No Ginkgo e2e tests are added in this PR—only a TypeScript frontend config update. The MicroShift compatibility check does not apply.
Single Node Openshift (Sno) Test Compatibility ✅ Passed This PR only modifies frontend storage configuration (provisioner access modes for nfs.csi.ceph.com). No new Ginkgo e2e tests added. Check is not applicable.
Topology-Aware Scheduling Compatibility ✅ Passed Frontend UI configuration file only. No deployment manifests, operator code, controllers, or scheduling constraints introduced.
Ote Binary Stdout Contract ✅ Passed PR modifies only frontend TypeScript config for storage provisioners. OTE Binary Stdout Contract applies exclusively to Go testing binaries and process-level code. No Go code changes present.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed Check not applicable: PR modifies only frontend TypeScript config file (shared.ts) adding a provisioner mapping entry. No Ginkgo e2e tests are added; check targets e2e tests only.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bipuladh bipuladh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At some point we should support an extension point for this. WDYT @spadgett ?

@bipuladh

bipuladh commented May 7, 2026

Copy link
Copy Markdown
Contributor

/ok-to-test

@openshift-ci openshift-ci Bot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 7, 2026
@logonoff

logonoff commented May 7, 2026

Copy link
Copy Markdown
Member

/retitle OCPBUGS-84564: remove block volume mode in case of ocs-storagecluster-ceph-nfs
/verified by screenshot

@openshift-ci openshift-ci Bot changed the title remove block volume mode in case of ocs-storagecluster-ceph-nfs stora… OCPBUGS-84564: remove block volume mode in case of ocs-storagecluster-ceph-nfs May 7, 2026

@logonoff logonoff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci-robot openshift-ci-robot added jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. labels May 7, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@Harshvardhan-handa123: This pull request references Jira Issue OCPBUGS-84564, which is valid. The bug has been moved to the POST state.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (5.0.0) matches configured target version for branch (5.0.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Jira link: https://redhat.atlassian.net/browse/OCPBUGS-84564

Description: Removed the option for block volume mode when the storage class is set to ocs-storagecluster-ceph-nfs.

SS:
image

Summary by CodeRabbit

  • New Features
  • Added support for NFS CSI (Ceph) as a storage provisioner, enabling users to provision persistent storage with both Filesystem and Block access modes.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label May 7, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@logonoff: This PR has been marked as verified by screenshot.

Details

In response to this:

/retitle OCPBUGS-84564: remove block volume mode in case of ocs-storagecluster-ceph-nfs
/verified by screenshot

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci Bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels May 7, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 2291108 and 2 for PR HEAD 2465f9c in total

Block: ['ReadWriteOnce', 'ReadWriteMany', 'ReadOnlyMany', 'ReadWriteOncePod'],
},
'nfs.csi.ceph.com': {
Filesystem: ['ReadWriteOnce', 'ReadWriteMany', 'ReadWriteOncePod'],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Rakshith-R can u plz confirm if these are supported access modes for NFS, or we need to add/remove any ??

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NFS should be same as cephFS

NVME-Of same as RBD.

@SanjalKatiyar

Copy link
Copy Markdown
Contributor

/hold
will wait for confirmation here: https://github.com/openshift/console/pull/16397/changes#r3206905036

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 8, 2026
@Harshvardhan-handa123
Harshvardhan-handa123 force-pushed the provisioner-update-for-ceph-nfs-sc branch from 2465f9c to 3ab423c Compare May 12, 2026 11:13
@openshift-ci-robot openshift-ci-robot removed the verified Signifies that the PR passed pre-merge verification criteria label May 12, 2026
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label May 12, 2026
@SanjalKatiyar

Copy link
Copy Markdown
Contributor

/hold cancel

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 12, 2026
@SanjalKatiyar

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 12, 2026
@SanjalKatiyar

Copy link
Copy Markdown
Contributor

/cherry-pick release-4.22

@openshift-cherrypick-robot

Copy link
Copy Markdown

@SanjalKatiyar: once the present PR merges, I will cherry-pick it on top of release-4.22 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-4.22

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Rakshith-R Rakshith-R left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-ci

openshift-ci Bot commented May 13, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Harshvardhan-handa123, logonoff, Rakshith-R, SanjalKatiyar

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

The pull request process is described here

Details 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

@bipuladh

bipuladh commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

/label docs-approved

@openshift-ci openshift-ci Bot added the docs-approved Signifies that Docs has signed off on this PR label Jun 3, 2026
@fsgreco

fsgreco commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

/verified by screenshot and CI

@openshift-ci-robot openshift-ci-robot added the verified Signifies that the PR passed pre-merge verification criteria label Jun 3, 2026
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@fsgreco: This PR has been marked as verified by screenshot and CI.

Details

In response to this:

/verified by screenshot and CI

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD aa82017 and 2 for PR HEAD 3ab423c in total

@logonoff

Copy link
Copy Markdown
Member

/test all

@openshift-merge-bot

Copy link
Copy Markdown
Contributor

/retest-required

Remaining retests: 0 against base HEAD 26f091b and 2 for PR HEAD 3ab423c in total

@openshift-ci

openshift-ci Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

@Harshvardhan-handa123: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-merge-bot
openshift-merge-bot Bot merged commit 218ac3d into openshift:main Jul 25, 2026
10 checks passed
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@Harshvardhan-handa123: Jira Issue Verification Checks: Jira Issue OCPBUGS-84564
✔️ This pull request was pre-merge verified.
✔️ All associated pull requests have merged.
✔️ All associated, merged pull requests were pre-merge verified.

Jira Issue OCPBUGS-84564 has been moved to the MODIFIED state and will move to the VERIFIED state when the change is available in an accepted nightly payload. 🕓

Details

In response to this:

Jira link: https://redhat.atlassian.net/browse/OCPBUGS-84564

Description: Removed the option for block volume mode when the storage class is set to ocs-storagecluster-ceph-nfs.

SS:
image

Summary by CodeRabbit

  • New Features
  • Added support for NFS CSI (Ceph) as a storage provisioner, enabling users to provision persistent storage with both Filesystem and Block access modes.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-cherrypick-robot

Copy link
Copy Markdown

@SanjalKatiyar: new pull request created: #16833

Details

In response to this:

/cherry-pick release-4.22

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. component/core Related to console core functionality docs-approved Signifies that Docs has signed off on this PR jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. verified Signifies that the PR passed pre-merge verification criteria

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants