Activity log for bug #1526715

Date Who What changed Old value New value Message
2015-12-16 10:46:38 jichenjc bug added bug
2015-12-16 10:46:46 jichenjc nova: assignee jichenjc (jichenjc)
2015-12-16 10:50:26 jichenjc tags api
2015-12-16 12:42:02 OpenStack Infra nova: status New In Progress
2016-02-20 15:50:04 Sean Dague nova: status In Progress Opinion
2016-03-07 12:07:52 OpenStack Infra nova: status Opinion In Progress
2016-04-09 00:57:51 Ken'ichi Ohmichi description search deleted instance is only for admin so we should disallow non-admin search for deleted and soft_deleted instances jichen@devstack1:~$ curl -g -i -X GET http://192.168.122.239:8774/v2.1/d1c5aa58af6c426492c642eb649017be/servers/detail?status=soft_deleted -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack-Nova-API-Version: 2.6" -H "X-Auth-Token: 4414496776a3486ba96a6702f13ed5ce" HTTP/1.1 200 OK Content-Type: application/json Content-Length: 15 X-Openstack-Nova-Api-Version: 2.6 Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-15a68220-093c-4688-b9ac-9dc89215140d Date: Tue, 15 Dec 2015 16:34:36 GMT {"servers": []}jichen@devstack1:~$ 2015-12-15 11:34:35.991 DEBUG nova.compute.api [req-15a68220-093c-4688-b9ac-9dc89215140d demo demo] Searching by: {'deleted': False, 'vm_state': ['soft-delete'], 'project_id': u'd1c5aa58af6c426492c642eb649017be'} from (pid=26588) get_all /opt/stack/nova/nova/compute/api.py:2055 search deleted instance is only for admin. So we should disallow non-admin search for deleted and soft_deleted instances $ curl -g -i -X GET http://192.168.122.239:8774/v2.1/d1c5aa58af6c426492c642eb649017be/servers/detail?status=soft_deleted -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack-Nova-API-Version: 2.6" -H "X-Auth-Token: 4414496776a3486ba96a6702f13ed5ce" HTTP/1.1 200 OK Content-Type: application/json Content-Length: 15 X-Openstack-Nova-Api-Version: 2.6 Vary: X-OpenStack-Nova-API-Version X-Compute-Request-Id: req-15a68220-093c-4688-b9ac-9dc89215140d Date: Tue, 15 Dec 2015 16:34:36 GMT {"servers": []} $ 2015-12-15 11:34:35.991 DEBUG nova.compute.api [req-15a68220-093c-4688-b9ac-9dc89215140d demo demo] Searching by: {'deleted': False, 'vm_state': ['soft-delete'], 'project_id': u'd1c5aa58af6c426492c642eb649017be'} from (pid=26588) get_all /opt/stack/nova/nova/compute/api.py:2055
2016-07-07 17:44:07 melanie witt nova: importance Undecided Low
2016-11-21 20:30:33 jichenjc nova: status In Progress Invalid