Activity log for bug #1247735

Date Who What changed Old value New value Message
2013-11-04 06:26:42 Daryl Walleck bug added bug
2013-11-04 06:28:11 Daryl Walleck description By accident, I tried to perform a reboot via the API without passing the type field, which returned a 500. On further investigation, it appears that there may not be a check if the reboot type field is None before making the upper call on the value: 2013-11-04 06:20:13.936 DEBUG nova.api.openstack.wsgi [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] Action: 'action', body: {"reboot": {"type": null}} from (pid=18212) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:962 2013-11-04 06:20:13.937 DEBUG nova.api.openstack.wsgi [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] Calling method <bound method Controller._action_reboot of <nova.api.openstack.compute.contrib.keypairs.Controller object at 0x3c8bf10>> from (pid=18212) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:963 2013-11-04 06:20:13.937 ERROR nova.api.openstack [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] Caught error: 'NoneType' object has no attribute 'upper' 2013-11-04 06:20:13.941 INFO nova.api.openstack [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] http://162.242.212.198:8774/v2/400db056ab16454fa4c7c2fe987dafc4/servers/6d897db9-b4f2-459f-95a4-0ad264e87334/action returned with HTTP 500 2013-11-04 06:20:13.941 DEBUG nova.api.openstack.wsgi [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. from (pid=18212) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1224 2013-11-04 06:20:13.942 INFO nova.osapi_compute.wsgi.server [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] 72.32.115.230 "POST /v2/400db056ab16454fa4c7c2fe987dafc4/servers/6d897db9-b4f2-459f-95a4-0ad264e87334/action HTTP/1.1" status: 500 len: 335 time: 0.1340361 By accident, I tried to perform a reboot via the API without passing the type field, which returned a 500. On further investigation, it appears that there may not be a check if the reboot type field is None before making the upper call on the value: 2013-11-04 06:20:13.936 DEBUG nova.api.openstack.wsgi [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] Action: 'action', body: {"reboot": {"type": null}} from (pid=18212) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:962 2013-11-04 06:20:13.937 DEBUG nova.api.openstack.wsgi [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] Calling method <bound method Controller._action_reboot of <nova.api.openstack.compute.contrib.keypairs.Controller object at 0x3c8bf10>> from (pid=18212) _process_stack /opt/stack/nova/nova/api/openstack/wsgi.py:963 2013-11-04 06:20:13.937 ERROR nova.api.openstack [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] Caught error: 'NoneType' object has no attribute 'upper' 2013-11-04 06:20:13.941 INFO nova.api.openstack [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] http://127.0.0.1:8774/v2/400db056ab16454fa4c7c2fe987dafc4/servers/6d897db9-b4f2-459f-95a4-0ad264e87334/action returned with HTTP 500 2013-11-04 06:20:13.941 DEBUG nova.api.openstack.wsgi [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. from (pid=18212) __call__ /opt/stack/nova/nova/api/openstack/wsgi.py:1224 2013-11-04 06:20:13.942 INFO nova.osapi_compute.wsgi.server [req-2a11d741-2988-4b8f-af9f-81282790d3c9 auto auto] 72.32.115.230 "POST /v2/400db056ab16454fa4c7c2fe987dafc4/servers/6d897db9-b4f2-459f-95a4-0ad264e87334/action HTTP/1.1" status: 500 len: 335 time: 0.1340361
2013-11-20 16:20:19 Adrien Cunin nova: status New In Progress
2013-11-20 16:20:23 Adrien Cunin nova: assignee Adrien Cunin (adri2000)
2013-11-20 16:20:28 Adrien Cunin bug added subscriber Adrien Cunin
2013-12-08 23:48:07 OpenStack Infra nova: status In Progress Fix Committed
2013-12-18 15:53:34 Russell Bryant nova: milestone icehouse-2
2014-01-22 16:19:32 Thierry Carrez nova: status Fix Committed Fix Released
2014-04-17 09:02:00 Thierry Carrez nova: milestone icehouse-2 2014.1