-
Notifications
You must be signed in to change notification settings - Fork 274
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
Add Huawei storagecapabilities #3253
Conversation
Hi @ido106. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. 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/test-infra repository. |
@@ -105,6 +105,8 @@ var CapabilitiesByProvisionerKey = map[string][]StorageCapabilities{ | |||
"manila.csi.openstack.org": {{rwx, file}}, | |||
// ovirt csi | |||
"csi.ovirt.org": createRWOBlockAndFilesystemCapabilities(), | |||
// huawei | |||
"csi.huawei.com": {{rwx, block}}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it only support rwx, block or does it also support rwo, block and rwo, file? If so can you add it like this?
"csi.huawei.com": {{rwx, block}, {rwo, block}, {rwo, file}},
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I understand from CNV-41531 comments, they only have storage profile configured for iscsi storage class rwx, block
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I am not seeing it, but I don't see any specifics on what that storage in the JIRA card. But I just checked the user guide for the csi driver and it says this
RWO/ROX/RWOP: supported by all types of volumes. RWOP is supported only by kubernetes 1.22 and later versions.
RWX: supported only by Raw Block volumes and NFS volumes
So it looks like it should be what I suggested.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I added {rwx, block}, {rwo, block}, {rwo, file}, {rox, block}, {rox, file}
as it says
5fd8aa6
to
ab3d1d4
Compare
The provisioner supports NFS and ISCSI. For NFS it is RWX/FS and for ISCSI it is RWX/Block. |
TBH I don't understand why we have to wait for examples. The documentation says:
So apparently we only need to differentiate between NFS and the others. ISCSI doesn't get additional capabilities over the others.
So I think it should be |
ab3d1d4
to
d29813e
Compare
Yes, that sounds good, look at |
d29813e
to
d116027
Compare
/lgtm |
d116027
to
ca2f384
Compare
Signed-off-by: Ido Aharon <iaharon@redhat.com>
ca2f384
to
4981b51
Compare
It was a messy rebase with DELL, please double check that everything is o.k |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: awels The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/override pull-containerized-data-importer-e2e-ceph-wffc |
@awels: Overrode contexts on behalf of awels: pull-containerized-data-importer-e2e-ceph-wffc In response to this:
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. |
Signed-off-by: Ido Aharon <iaharon@redhat.com>
* Add storagecapabilities to vSphere provisioner (#3284) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Fix Dell storagecapabilities (#3249) According to Dell doc: https://dell.github.io/csm-docs/docs/csidriver/ Signed-off-by: Ido Aharon <iaharon@redhat.com> * Add storagecapabilities to csi.huawei.com provisioner (#3253) Signed-off-by: Ido Aharon <iaharon@redhat.com> --------- Signed-off-by: Ido Aharon <iaharon@redhat.com> Co-authored-by: Ido Aharon <iaharon@redhat.com>
* Add storagecapabilities to vSphere provisioner (kubevirt#3284) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Fix Dell storagecapabilities (kubevirt#3249) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Add storagecapabilities to csi.huawei.com provisioner (kubevirt#3253) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Add Longhorn storagecapabilities (kubevirt#3290) Signed-off-by: Ido Aharon <iaharon@redhat.com> --------- Signed-off-by: Ido Aharon <iaharon@redhat.com> Co-authored-by: Ido Aharon <iaharon@redhat.com>
* Add storagecapabilities to vSphere provisioner (kubevirt#3284) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Fix Dell storagecapabilities (kubevirt#3249) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Add storagecapabilities to csi.huawei.com provisioner (kubevirt#3253) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Add Longhorn storagecapabilities (kubevirt#3290) Signed-off-by: Ido Aharon <iaharon@redhat.com> --------- Signed-off-by: Ido Aharon <iaharon@redhat.com> Co-authored-by: Ido Aharon <iaharon@redhat.com>
* Add storagecapabilities to vSphere provisioner (kubevirt#3284) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Fix Dell storagecapabilities (kubevirt#3249) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Add storagecapabilities to csi.huawei.com provisioner (kubevirt#3253) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Add Longhorn storagecapabilities (kubevirt#3290) Signed-off-by: Ido Aharon <iaharon@redhat.com> --------- Signed-off-by: Ido Aharon <iaharon@redhat.com> Co-authored-by: Ido Aharon <iaharon@redhat.com>
* Add storagecapabilities to vSphere provisioner (kubevirt#3284) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Fix Dell storagecapabilities (kubevirt#3249) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Add storagecapabilities to csi.huawei.com provisioner (kubevirt#3253) Signed-off-by: Ido Aharon <iaharon@redhat.com> * Add Longhorn storagecapabilities (kubevirt#3290) Signed-off-by: Ido Aharon <iaharon@redhat.com> --------- Signed-off-by: Ido Aharon <iaharon@redhat.com> Co-authored-by: Ido Aharon <iaharon@redhat.com>
* Add storagecapabilities to vSphere provisioner (#3284) * Fix Dell storagecapabilities (#3249) * Add storagecapabilities to csi.huawei.com provisioner (#3253) * Add Longhorn storagecapabilities (#3290) --------- Signed-off-by: Ido Aharon <iaharon@redhat.com> Co-authored-by: Ido Aharon <iaharon@redhat.com>
* Add storagecapabilities to vSphere provisioner (#3284) * Fix Dell storagecapabilities (#3249) * Add storagecapabilities to csi.huawei.com provisioner (#3253) * Add Longhorn storagecapabilities (#3290) --------- Signed-off-by: Ido Aharon <iaharon@redhat.com> Co-authored-by: Ido Aharon <iaharon@redhat.com>
* Add storagecapabilities to vSphere provisioner (#3284) * Fix Dell storagecapabilities (#3249) * Add storagecapabilities to csi.huawei.com provisioner (#3253) * Add Longhorn storagecapabilities (#3290) --------- Signed-off-by: Ido Aharon <iaharon@redhat.com> Co-authored-by: Ido Aharon <iaharon@redhat.com>
* Add storagecapabilities to vSphere provisioner (#3284) * Fix Dell storagecapabilities (#3249) * Add storagecapabilities to csi.huawei.com provisioner (#3253) * Add Longhorn storagecapabilities (#3290) --------- Signed-off-by: Ido Aharon <iaharon@redhat.com> Co-authored-by: Ido Aharon <iaharon@redhat.com>
Signed-off-by: Ido Aharon iaharon@redhat.com
What this PR does / why we need it:
Adding storagecapabilities to the Huawei provisioner.
According to eSDK Huawei Storage Kubernetes CSI Plugins V4.3.0 User Guide 02.pdf, the provisioner string is
csi.huawei.com
and the storage profile is{ {rwx, file}, {rwo, file}, {rox, file} }
ifsc.Parameters["protocol"] == "nfs"
and{ {rwx, block}, {rwo, block}, {rwo, file}, {rox, block}, {rox, file} }
otherwise:Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #CNV-41636
Special notes for your reviewer:
Release note: