Hmm, looks like we forbid users to list deleted instances (when done by simple "nova list"), but at the same time passing "changes-since" allows to circumvent that.
ubuntu@rpodolyaka-devstack-tempest:~/devstack$ nova list --deleted
+--------------------------------------+------+--------+------------+-------------+--------------------------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+------+--------+------------+-------------+--------------------------------------------------------+
| 0fc22f61-a55e-46de-87fd-94a1e7b2141c | demo | ACTIVE | - | Running | private=10.0.0.5, fdad:2959:8cd7:0:f816:3eff:fe04:522d |
+--------------------------------------+------+--------+------------+-------------+--------------------------------------------------------+
Hmm, looks like we forbid users to list deleted instances (when done by simple "nova list"), but at the same time passing "changes-since" allows to circumvent that.
ubuntu@ rpodolyaka- devstack- tempest: ~/devstack$ nova list --deleted ------- ------- ------- ------- ----+-- ----+-- ------+ ------- -----+- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- ------- ------- ----+-- ----+-- ------+ ------- -----+- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ------+ a55e-46de- 87fd-94a1e7b214 1c | demo | ACTIVE | - | Running | private=10.0.0.5, fdad:2959: 8cd7:0: f816:3eff: fe04:522d | ------- ------- ------- ------- ----+-- ----+-- ------+ ------- -----+- ------- -----+- ------- ------- ------- ------- ------- ------- ------- ------+
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 0fc22f61-
+------
ubuntu@ rpodolyaka- devstack- tempest: ~/devstack$ curl -s -H "X-Auth-Token: e9819485d45f428 c8e52c03b22460c c9" -X GET http:// 192.168. 0.13:8774/ v2/dc3cad5a802b 4ba1b86f8562d2f 91c0d/servers? changes- since=2015- 01-01\&limit=2 | python -m json.tool a55e-46de- 87fd-94a1e7b214 1c",
"links" : [
" href": "http:// 192.168. 0.13:8774/ v2/dc3cad5a802b 4ba1b86f8562d2f 91c0d/servers/ 0fc22f61- a55e-46de- 87fd-94a1e7b214 1c",
" rel": "self"
" href": "http:// 192.168. 0.13:8774/ dc3cad5a802b4ba 1b86f8562d2f91c 0d/servers/ 0fc22f61- a55e-46de- 87fd-94a1e7b214 1c",
" rel": "bookmark" 3503-4ae0- b474-1b1e55ca44 6a",
"links" : [
" href": "http:// 192.168. 0.13:8774/ v2/dc3cad5a802b 4ba1b86f8562d2f 91c0d/servers/ 7c837fc6- 3503-4ae0- b474-1b1e55ca44 6a",
" rel": "self"
" href": "http:// 192.168. 0.13:8774/ dc3cad5a802b4ba 1b86f8562d2f91c 0d/servers/ 7c837fc6- 3503-4ae0- b474-1b1e55ca44 6a",
" rel": "bookmark" heat-319343001- Server- f5bl4lw4ejln" links": [ 192.168. 0.13:8774/ v2/dc3cad5a802b 4ba1b86f8562d2f 91c0d/servers? changes- since=2015- 01-01&limit= 2&marker= 7c837fc6- 3503-4ae0- b474-1b1e55ca44 6a",
{
"servers": [
{
"id": "0fc22f61-
{
},
{
}
],
"name": "demo"
},
{
"id": "7c837fc6-
{
},
{
}
],
"name": "tempest-
}
],
"servers_
{
"href": "http://
"rel": "next"
}
]
}
Still, when marker is passed, the deleted entry will be invisible to the user and cause the error.