Updates job failing on incorrect Heat request
Bug #1640831 reported by
Ben Nemec
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
High
|
Unassigned |
Bug Description
I've seen the updates job fail on this a number of times. The error message we get back is:
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect.
See an example at http://
To post a comment you must log in.
This looks like it may actually be a bug in Heat. I'm not sure what's going on, but it seems like an error reading from the database.
ERROR heat.common.wsgi [req-5cf05301- f072-4df7- a64a-a5ed48029d c0 d57c95b010064f7 8a42dcb9ca11d7f f6 6773cf3e3ee74a7 8a3d150083fa93a e6 - default default] Exception handling resource: 'NoneType' object has no attribute '__getitem__'
Traceback (most recent call last):
File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ rpc/server. py", line 155, in _process_incoming .dispatch( message)
res = self.dispatcher
File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 225, in dispatch dispatch( endpoint, method, ctxt, args)
return self._do_
File "/usr/lib/ python2. 7/site- packages/ oslo_messaging/ rpc/dispatcher. py", line 195, in _do_dispatch
result = func(ctxt, **new_args)
File "/usr/lib/ python2. 7/site- packages/ osprofiler/ profiler. py", line 154, in wrapper
return f(*args, **kwargs)
File "/usr/lib/ python2. 7/site- packages/ heat/common/ context. py", line 424, in wrapped
return func(self, ctx, *args, **kwargs)
File "/usr/lib/ python2. 7/site- packages/ heat/engine/ service. py", line 1714, in list_events identifiers = {s.id: s.identifier() for s in stacks}
stack_
File "/usr/lib/ python2. 7/site- packages/ heat/engine/ service. py", line 1714, in <dictcomp> identifiers = {s.id: s.identifier() for s in stacks}
stack_
File "/usr/lib/ python2. 7/site- packages/ heat/objects/ stack.py" , line 135, in get_all db_object( context, cls(context), db_stack)
yield cls._from_
File "/usr/lib/ python2. 7/site- packages/ heat/objects/ stack.py" , line 73, in _from_db_object stack[' raw_template' ]))
db_
File "/usr/lib/ python2. 7/site- packages/ heat/objects/ raw_template. py", line 57, in from_db_object
tpl[field] = db_tpl[field]
TypeError: 'NoneType' object has no attribute '__getitem__'