nova list --status SOFT_DELETED does not return soft-deleted instance
Bug #1789455 reported by
Mike Chen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Fan Zhang |
Bug Description
Description
===========
nova list --status SOFT_DELETED does not return soft-deleted instance
Steps to reproduce
==================
1 enable soft-delete by setting reclaim_
2 $ nova boot --flavor xxx --image xxx --nic xxx VM
3 $ nova delete VM
4 $ nova list --status SOFT_DELETED
Expected result
===============
VM is the returned table.
Actual result
=============
It is not.
Environment
===========
$ nova --version
10.1.0
Changed in nova: | |
assignee: | nobody → Chen (chenn2) |
Changed in nova: | |
assignee: | Mike Chen (chenn2) → Fan Zhang (fanzhang) |
To post a comment you must log in.
The problem seems to be that soft-deleted instance's "DELETED" field is set to "True" whereas "nova list --status SOFT_DELETED" queries with search_opts's 'deleted' filter set to "False".