HTTP 500 in TestVolumeBootPatternV2.test_volume_boot_pattern

Bug #1344207 reported by Davanum Srinivas (DIMS)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
New
Undecided
Unassigned

Bug Description

Example URL:
http://logs.openstack.org/31/104931/9/check/check-tempest-dsvm-postgres-full/5be748f/console.html

Traceback:
2014-07-18 14:40:50.901 | tempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern[compute,image,volume]
2014-07-18 14:40:50.902 | ----------------------------------------------------------------------------------------------------------------
2014-07-18 14:40:50.902 |
2014-07-18 14:40:50.902 | Captured traceback:
2014-07-18 14:40:50.902 | ~~~~~~~~~~~~~~~~~~~
2014-07-18 14:40:50.902 | Traceback (most recent call last):
2014-07-18 14:40:50.902 | File "tempest/scenario/manager.py", line 219, in delete_timeout
2014-07-18 14:40:50.902 | not_found_exception=not_found_exception)
2014-07-18 14:40:50.902 | File "tempest/scenario/manager.py", line 267, in _status_timeout
2014-07-18 14:40:50.902 | CONF.compute.build_interval):
2014-07-18 14:40:50.903 | File "tempest/test.py", line 622, in call_until_true
2014-07-18 14:40:50.903 | if func():
2014-07-18 14:40:50.903 | File "tempest/scenario/manager.py", line 238, in check_status
2014-07-18 14:40:50.903 | thing = things.get(thing_id)
2014-07-18 14:40:50.903 | File "/opt/stack/new/python-novaclient/novaclient/v1_1/servers.py", line 554, in get
2014-07-18 14:40:50.903 | return self._get("/servers/%s" % base.getid(server), "server")
2014-07-18 14:40:50.903 | File "/opt/stack/new/python-novaclient/novaclient/base.py", line 93, in _get
2014-07-18 14:40:50.903 | _resp, body = self.api.client.get(url)
2014-07-18 14:40:50.903 | File "/opt/stack/new/python-novaclient/novaclient/client.py", line 482, in get
2014-07-18 14:40:50.903 | return self._cs_request(url, 'GET', **kwargs)
2014-07-18 14:40:50.904 | File "/opt/stack/new/python-novaclient/novaclient/client.py", line 459, in _cs_request
2014-07-18 14:40:50.904 | **kwargs)
2014-07-18 14:40:50.904 | File "/opt/stack/new/python-novaclient/novaclient/client.py", line 441, in _time_request
2014-07-18 14:40:50.904 | resp, body = self.request(url, method, **kwargs)
2014-07-18 14:40:50.904 | File "/opt/stack/new/python-novaclient/novaclient/client.py", line 435, in request
2014-07-18 14:40:50.904 | raise exceptions.from_response(resp, body, url, method)
2014-07-18 14:40:50.904 | ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-533c2006-4a9b-4c74-b886-fa1302d47dd6)

Seems to be caused by this one:

2014-07-18 14:40:23.382 ERROR nova.api.openstack [req-533c2006-4a9b-4c74-b886-fa1302d47dd6 TestVolumeBootPatternV2-430303589 TestVolumeBootPatternV2-226836540] Caught error: 'image_id'
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack Traceback (most recent call last):
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/__init__.py", line 125, in __call__
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack return req.get_response(self.application)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack application, catch_exc_info=False)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack app_iter = application(self.environ, start_response)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack return resp(environ, start_response)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/keystonemiddleware/auth_token.py", line 661, in __call__
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack return self._app(env, start_response)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack return resp(environ, start_response)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack return resp(environ, start_response)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/local/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack response = self.app(environ, start_response)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack return resp(environ, start_response)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 906, in __call__
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack content_type, body, accept)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 972, in _process_stack
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/wsgi.py", line 1056, in dispatch
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack return method(req=request, **action_args)
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/api/openstack/compute/servers.py", line 773, in show
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack instance))
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack File "/opt/stack/new/nova/nova/objects/instance.py", line 581, in add_image_ref
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack instance['image_ref'] = props['image_id']
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack KeyError: 'image_id'
2014-07-18 14:40:23.382 23024 TRACE nova.api.openstack

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.