Getting instances by ID when admin only returns deleted instances
Bug #701121 reported by
Ed Leafe
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Ed Leafe |
Bug Description
In nova/db/
If it is called with admin rights, it should allow you to see both deleted and non-deleted records if 'can_read_
Changed in nova: | |
assignee: | nobody → Ed Leafe (ed-leafe) |
To post a comment you must log in.
Upon further investigation, every method in this script that accesses can_read_deleted() does it incorrectly. I will fix all of them, not just the instance_ get_by_ id().