Cannot filter 'soft-deletd' instances via nova api
Bug #1196255 reported by
Yufang Zhang
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
In nova-api, both DELETED and SOFT_DELETED are mapped to 'DELETED'. Thus we cannot filer 'soft-deleted' instances via nova-api, like:
nova list --status SOFT_DELETED
I took a look at the blame around this in nova.api. openstack. common and there is some blueprint work and vm_state/task_state management cleanup history here, but I can't tell if this was just an oversight or intentional.
See here: http:// wiki.openstack. org/VMState