RemoteStackTest timeout, fails with db error at creation

Bug #1624294 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
New
Medium
Unassigned

Bug Description

Seen here:
http://logs.openstack.org/81/370881/1/gate/gate-heat-dsvm-functional-convg-mysql-lbaasv2/9e9b0a2/logs/

Traceback (most recent call last):
.py", line 133, in _process_incoming
     res = self.dispatcher.dispatch(message)
   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
     return self._do_dispatch(endpoint, method, ctxt, args)
   File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
     result = func(ctxt, **new_args)
   File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 154, in wrapper
     return f(*args, **kwargs)
   File "/opt/stack/new/heat/heat/common/context.py", line 424, in wrapped
     return func(self, ctx, *args, **kwargs)
   File "/opt/stack/new/heat/heat/engine/worker.py", line 144, in check_resource
     cnxt, resource_id, resource_data, is_update)
   File "/opt/stack/new/heat/heat/engine/check_resource.py", line 292, in load_resource
     is_update, cache_data)
   File "/opt/stack/new/heat/heat/engine/resource.py", line 315, in load
     db_res = resource_objects.Resource.get_obj(context, resource_id)
   File "/opt/stack/new/heat/heat/objects/resource.py", line 121, in get_obj
     refresh=refresh)
   File "/opt/stack/new/heat/heat/db/api.py", line 104, in resource_get
     return IMPL.resource_get(context, resource_id, refresh=refresh)
   File "/opt/stack/new/heat/heat/db/sqlalchemy/api.py", line 171, in resource_get
     result = context.session.query(models.Resource).get(resource_id)
   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 831, in get
     return self._get_impl(ident, loading.load_on_ident)
   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 842, in _get_impl
     if len(ident) != len(mapper.primary_key):
 TypeError: object of type 'NoneType' has no len()

Tags: gate-failure
Rabi Mishra (rabi)
tags: added: gate-failure
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.