500 error on delete a bay created by another user
Bug #1552457 reported by
hongbin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
Hua Wang |
Bug Description
To reproduce the error:
$ source /opt/stack/
$ magnum bay-create --baymodel swarmbaymodel --name swarmbay
# wait for the creation to complete
$ export OS_USERNAME=admin # switch user
$ magnum bay-delete swarmbay
Delete for bay swarmbay failed: Failed to delete trust 97109cfabbe241c
There are two options to fix it:
1. Allow bay created by a user deleted by another user
2. Don't allow #1, but throw a 400 error instead (not 500)
Changed in magnum: | |
assignee: | nobody → HouMing Wang (houming-wang) |
Changed in magnum: | |
status: | New → In Progress |
To post a comment you must log in.
Change abandoned by HouMing Wang (<email address hidden>) on branch: master /review. openstack. org/289220 /review. openstack. org/#/c/ 289656/) can fix this issue, abandon it.
Review: https:/
Reason: There is another patch(https:/