-
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 vSphere storagecapabilities #3284
Add vSphere storagecapabilities #3284
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-sigs/prow repository. |
@arnongilboa I didn't find anything about the in-tree vSphere volume except this (the string is
|
/lgtm |
/lgtm cancel |
@@ -108,6 +108,8 @@ var CapabilitiesByProvisionerKey = map[string][]StorageCapabilities{ | |||
// Infinidat | |||
"infinibox-csi-driver/iscsiorfibrechannel": {{rwx, block}, {rwo, block}, {rwo, file}}, | |||
"infinibox-csi-driver/nfs": {{rwx, file}, {rwo, file}}, | |||
// vSphere | |||
"csi.vsphere.vmware.com": {{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.
I think you should add {rwx, file}, although I don't see Parameters we can check rely on. Anyway, the user can always force the DV to use rwo if rwx is not supported.
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.
Added
2d7d1bb
to
a548d03
Compare
/lgtm |
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 if I'm reading kubernetes-sigs/vsphere-csi-driver#2173 correctly this driver only allows RWX for a specific csi.storage.k8s.io/fstype
of nfs
In this example sc it's |
My question is really why are we adding vsphere at all? Are we planning on supporting nested virtualization? I guess for testing it will be okay. |
|
According to this P.R I think the options are only |
The check Alex pointed supports "ext4", "nfs", "nfs4" & "". |
I think it's defaulting back to |
Yeah I don't know why ext4 and "" are in there but sounds related to the hack they're working with. |
Signed-off-by: Ido Aharon <iaharon@redhat.com>
a548d03
to
df31369
Compare
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.
/approve
/test all |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akalenyu 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 |
/lgtm |
/retest |
2 similar comments
/retest |
/retest |
/cherry-pick release-v1.59 |
@ido106: only kubevirt org members may request cherry picks. If you are already part of the org, make sure to change your membership to public. Otherwise you can still do the cherry-pick manually. 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. |
/cherry-pick release-v1.59 |
@arnongilboa: #3284 failed to apply on top of branch "release-v1.59":
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 vSphere provisioner.
According to the VMware documentation and the compatibility matrices, raw block volumes support only
rwo
access:According to Red Hat OpenShift documentation (also from the VMware docmentation), vSphere support
rwx
only if the underlying vSphere environment supports the vSAN file service:(maybe I can check it like here?)
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-42269
Special notes for your reviewer:
Release note: