Actions
Bug #48032
closed[test] "rbd mirror pool peer remove" not using admin caps
Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Description
An attempt to remove a mirror peer on a test script error path will result in a permission denied error and test failure:
2020-10-28T13:36:03.319 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:++ rbd --cluster cluster2 mirror pool peer add mirror cluster1 2020-10-28T13:36:03.354 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:rbd: mirror peer already exists 2020-10-28T13:36:03.356 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:+ peer_uuid= 2020-10-28T13:36:03.356 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:+ error_code=17 2020-10-28T13:36:03.356 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:+ set -e 2020-10-28T13:36:03.357 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:+ '[' 17 -eq 17 ']' 2020-10-28T13:36:03.357 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:+ sleep 1 2020-10-28T13:36:04.358 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:++ rbd mirror pool info --cluster cluster2 --pool mirror --format xml 2020-10-28T13:36:04.358 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:++ xmlstarlet sel -t -v '//peers/peer[site_name='\''cluster1'\'']/uuid' 2020-10-28T13:36:04.394 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:+ peer_uuid=912131ba-c076-4c25-b55f-3b4d14989d9d 2020-10-28T13:36:04.394 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:+ rbd --cluster cluster2 --pool mirror mirror pool peer remove 912131ba-c076-4c25-b55f-3b4d14989d9d 2020-10-28T13:36:04.425 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:rbd: error removing mirror peer 2020-10-28T13:36:04.427 INFO:tasks.workunit.cluster1.client.mirror.smithi059.stderr:+ cleanup 13
Updated by Jason Dillaman over 3 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 37884
Updated by Mykola Golub over 3 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 3 years ago
- Copied to Backport #48085: octopus: [test] "rbd mirror pool peer remove" not using admin caps added
Updated by Nathan Cutler over 3 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions