Skip to content

WIP: Add NVMeoF CSI driver support via provider RPC#629

Open
OdedViner wants to merge 1 commit into
red-hat-storage:mainfrom
OdedViner:nvmeof_client
Open

WIP: Add NVMeoF CSI driver support via provider RPC#629
OdedViner wants to merge 1 commit into
red-hat-storage:mainfrom
OdedViner:nvmeof_client

Conversation

@OdedViner

@OdedViner OdedViner commented Jun 21, 2026

Copy link
Copy Markdown

Add NVMeoF CSI driver deployment following the existing NFS pattern:

  • Add NvmeofDriverRequirements to StorageClient status
  • Store NVMeoF requirements from provider RPC response
  • Create/delete csi.ceph.io/v1 Driver CR for NVMeoF
  • Add NvmeofDriverName constant to CSI templates

This enables the client-operator to deploy the NVMeoF CSI driver when the provider signals availability via the GetDesiredClientState RPC.

Depends on #3943

Add NVMeoF CSI driver deployment following the existing
NFS pattern:

- Add NvmeofDriverRequirements to StorageClient status
- Store NVMeoF requirements from provider RPC response
- Create/delete csi.ceph.io/v1 Driver CR for NVMeoF
- Add NvmeofDriverName constant to CSI templates

This enables the client-operator to deploy the NVMeoF
CSI driver when the provider signals availability via
the GetDesiredClientState RPC.

Signed-off-by: Oded Viner <oviner@redhat.com>
@openshift-ci

openshift-ci Bot commented Jun 21, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: OdedViner
Once this PR has been reviewed and has the lgtm label, please assign madhu-1 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@OdedViner OdedViner changed the title Add NVMeoF CSI driver support via provider RPC WIP: Add NVMeoF CSI driver support via provider RPC Jun 23, 2026
@travisn travisn self-requested a review June 24, 2026 15:53
Comment on lines +787 to +789
if err := c.delete(nvmeofDriver); err != nil {
return fmt.Errorf("failed to delete csi nvmeof driver: %v", err)
}

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.

Can we delete the nvmeofdriver if there exist pv/pvc using the driver?

enableRbdDriver := c.shouldEnableDriver(enableRbdDriverKey)
enableCephFsDriver := c.shouldEnableDriver(enableCephFsDriverKey)
enableNfsDriver := c.shouldEnableDriver(enableNfsDriverKey)
enableNvmeofDriver := false

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.

Could we follow the same mechanism used for other drivers?

@openshift-ci

openshift-ci Bot commented Jul 1, 2026

Copy link
Copy Markdown

PR needs rebase.

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.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants