-
Notifications
You must be signed in to change notification settings - Fork 547
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
rbd: dont attempt explicit permission mod change from the RBD driver #2697
Conversation
This pull request now has conflicts with the target branch. Could you please resolve conflicts and force push the corrected changes? 🙏 |
dc9f43c
to
6092601
Compare
/retest ci/centos/mini-e2e-helm/k8s-1.21 |
@ceph/ceph-csi-contributors requesting review as this is important one to be fixed. |
Cc @ceph/ceph-csi-maintainers ptal . |
@humblec please update the PR description. |
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.
small nit
currently we are overriding the permission to `0o777` at time of node stage which is not the correct action. That said, this permission change causes an extra permission correction at time of nodestaging by the CO while the FSGROUP change policy has been set to `OnRootMismatch`. Signed-off-by: Humble Chirammal <[email protected]>
considering the pod has run as normal user, the fsgroup has also set to the same. Signed-off-by: Humble Chirammal <[email protected]>
/retest ci/centos/k8s-e2e-external-storage/1.23 |
/retest ci/centos/k8s-e2e-external-storage/1.23 |
@Mergifyio rebase |
☑️ Nothing to do
|
@Mergifyio refresh |
✅ Pull request refreshed |
/retest ci/centos/k8s-e2e-external-storage/1.23 |
@Mergifyio refresh |
✅ Pull request refreshed |
As non-root out of the box, most storage's won't give us a PVC that is world writeable. Noticed this on OpenShift testing lanes where cephcsi is used instead of the "local" SC that is used in kubevirtci. Ceph stopping chmod 777 reference: ceph/ceph-csi#2697 Signed-off-by: Alex Kalenyuk <[email protected]>
As non-root out of the box, most storage's won't give us a PVC that is world writeable. Noticed this on OpenShift testing lanes where cephcsi is used instead of the "local" SC that is used in kubevirtci. Ceph stopping chmod 777 reference: ceph/ceph-csi#2697 Signed-off-by: Alex Kalenyuk <[email protected]>
As non-root out of the box, most storage's won't give us a PVC that is world writeable. Noticed this on OpenShift testing lanes where cephcsi is used instead of the "local" SC that is used in kubevirtci. Ceph stopping chmod 777 reference: ceph/ceph-csi#2697 Signed-off-by: Alex Kalenyuk <[email protected]>
As non-root out of the box, most storage's won't give us a PVC that is world writeable. Noticed this on OpenShift testing lanes where cephcsi is used instead of the "local" SC that is used in kubevirtci. Ceph stopping chmod 777 reference: ceph/ceph-csi#2697 Signed-off-by: Alex Kalenyuk <[email protected]>
As non-root out of the box, most storage's won't give us a PVC that is world writeable. Noticed this on OpenShift testing lanes where cephcsi is used instead of the "local" SC that is used in kubevirtci. Ceph stopping chmod 777 reference: ceph/ceph-csi#2697 Signed-off-by: Alex Kalenyuk <[email protected]>
As non-root out of the box, most storage's won't give us a PVC that is world writeable. Noticed this on OpenShift testing lanes where cephcsi is used instead of the "local" SC that is used in kubevirtci. Ceph stopping chmod 777 reference: ceph/ceph-csi#2697 Signed-off-by: Alex Kalenyuk <[email protected]>
currently we are overriding the permission to
0o777
at time of nodestage which is not the correct action. That said, this permission
change causes an extra permission correction at time of nodestaging
by the CO while the FSGROUP change policy has been set to
OnRootMismatch
.Signed-off-by: Humble Chirammal [email protected]