simply_tenant_usage stack traces due to lacking of flavor metadata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
High
|
Dan Smith |
Bug Description
During the Grizzly cycle, we made a change such that flavor details are copied for each instance and stored in instance_
2013-03-27 03:41:00.883 ERROR nova.api.openstack [req-854b5c2a-
mb'
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack Traceback (most recent call last):
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack return req.get_
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack application, catch_exc_
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack app_iter = application(
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack return self.app(env, start_response)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack response = self.app(environ, start_response)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack return resp(environ, start_response)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack resp = self.call_func(req, *args, **self.kwargs)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack return self.func(req, *args, **kwargs)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack content_type, body, accept)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack action_result = self.dispatch(meth, request, action_args)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack return method(req=request, **action_args)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack detailed=detailed)
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack flavor = instance_
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack File "/usr/lib/
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack instance_type[key] = type_fn(
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack KeyError: 'instance_
2013-03-27 03:41:00.883 10756 TRACE nova.api.openstack
2013-03-27 03:41:00.902 INFO nova.api.openstack [req-854b5c2a-
We've discussed (via #openstack-nova) a possible short term fix for Grizzly RC2, which is to add handling in the code to fall back to the old flavor data retrieval mechanism. Then, as a longer term Havana solution, adding another migration inclusive of deleted data.
Either way we need a fix for Grizzly, otherwise the Horizon "overview" pages will generate exceptions and manifest as errors back to users.
description: | updated |
tags: | added: grizzly-rc-potential |
Changed in nova: | |
milestone: | none → grizzly-rc2 |
importance: | Undecided → High |
tags: | removed: grizzly-rc-potential |
Changed in nova: | |
milestone: | grizzly-rc2 → 2013.1 |
Fix proposed to branch: master /review. openstack. org/25550
Review: https:/