Can't delete backup: User does not have admin privileges
Bug #1467167 reported by
Ivan Kolodyazhny
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
High
|
Ivan Kolodyazhny |
Bug Description
After merging backup object deletion feature is broken:
http://
Changed in cinder: | |
importance: | Undecided → High |
assignee: | nobody → Ivan Kolodyazhny (e0ne) |
Changed in cinder: | |
status: | New → In Progress |
Changed in cinder: | |
milestone: | none → liberty-1 |
Changed in cinder: | |
status: | In Progress → Fix Committed |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | liberty-1 → 7.0.0 |
To post a comment you must log in.
Looks like you just need to do:
backup._context = context
at https:/ /github. com/openstack/ cinder/ blob/master/ cinder/ backup/ manager. py#L460, so you assign the elevated context to the backup object.