-
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: Use rados namespace when getting clone depth #3232
Conversation
b076ad9
to
1c134cc
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.
This looks good to me, Thanks for the contribution !
When the Ceph user is restricted to a specific namespace in the pool, it is crucial that evey interaction with the cluster is done within that namespace. This wasn't the case in `getCloneDepth()`. This issue was causing snapshot creation to fail with > Failed to check and update snapshot content: failed to take snapshot of the > volume X: "rpc error: code = Internal desc = rbd: ret=-1, Operation not > permitted" Signed-off-by: Benoît Knecht <bknecht@protonmail.ch>
1c134cc
to
ce36226
Compare
/retest ci/centos/mini-e2e/k8s-1.21 |
@BenoitKnecht "ci/centos/mini-e2e/k8s-1.21" test failed. Logs are available at location for debugging |
/retest ci/centos/k8s-e2e-external-storage/1.23 |
@BenoitKnecht "ci/centos/k8s-e2e-external-storage/1.23" test failed. Logs are available at location for debugging |
/retest ci/centos/k8s-e2e-external-storage/1.21 |
@BenoitKnecht "ci/centos/k8s-e2e-external-storage/1.21" test failed. Logs are available at location for debugging |
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
/retest ci/centos/mini-e2e-helm/k8s-1.23 |
@BenoitKnecht "ci/centos/mini-e2e-helm/k8s-1.23" test failed. Logs are available at location for debugging |
/retest ci/centos/mini-e2e-helm/k8s-1.21 |
@BenoitKnecht "ci/centos/mini-e2e-helm/k8s-1.21" test failed. Logs are available at location for debugging |
/retest ci/centos/mini-e2e-helm/k8s-1.22 |
@BenoitKnecht "ci/centos/mini-e2e-helm/k8s-1.22" test failed. Logs are available at location for debugging |
@Mergifyio requeue |
☑️ This pull request is already queued |
/retest ci/centos/mini-e2e/k8s-1.21 |
@BenoitKnecht "ci/centos/mini-e2e/k8s-1.21" test failed. Logs are available at location for debugging |
@Mergifyio requeue |
☑️ This pull request is already queued |
/retest ci/centos/mini-e2e-helm/k8s-1.22 |
@BenoitKnecht "ci/centos/mini-e2e-helm/k8s-1.22" test failed. Logs are available at location for debugging |
@Mergifyio requeue |
☑️ This pull request is already queued |
Description
When the Ceph user is restricted to a specific namespace in the pool, it is
crucial that evey interaction with the cluster is done within that namespace.
This wasn't the case in
getCloneDepth()
.This issue was causing snapshot creation to fail with
Related issues
Fixes: #3231
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>
: retest the<job-name>
after unrelatedfailure (please report the failure too!)
/retest all
: run this in case the CentOS CI failed to start/report any testprogress or results