heat_integrationtests.functional.test_purge.PurgeTest.test_purge failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Thomas Herve |
Bug Description
I noticed the following error with the recently added function test.
2016-01-25 05:11:16.284 | 2016-01-25 05:11:16.243 | heat_integratio
2016-01-25 05:11:16.285 | 2016-01-25 05:11:16.244 | -------
2016-01-25 05:11:16.285 | 2016-01-25 05:11:16.245 |
2016-01-25 05:11:16.285 | 2016-01-25 05:11:16.251 | Captured traceback:
2016-01-25 05:11:16.285 | 2016-01-25 05:11:16.252 | ~~~~~~~~~~~~~~~~~~~
2016-01-25 05:11:16.285 | 2016-01-25 05:11:16.255 | Traceback (most recent call last):
2016-01-25 05:11:16.286 | 2016-01-25 05:11:16.256 | File "/opt/stack/
2016-01-25 05:11:16.286 | 2016-01-25 05:11:16.259 | self.client.
2016-01-25 05:11:16.286 | 2016-01-25 05:11:16.261 | File "/opt/stack/
2016-01-25 05:11:16.287 | 2016-01-25 05:11:16.262 | stacks = dict((stack.id, stack) for stack in
2016-01-25 05:11:16.288 | 2016-01-25 05:11:16.264 | File "/opt/stack/
2016-01-25 05:11:16.291 | 2016-01-25 05:11:16.266 | stacks = self._list(url, 'stacks')
2016-01-25 05:11:16.292 | 2016-01-25 05:11:16.268 | File "/opt/stack/
2016-01-25 05:11:16.296 | 2016-01-25 05:11:16.270 | body = self.client.
2016-01-25 05:11:16.298 | 2016-01-25 05:11:16.272 | File "/opt/stack/
2016-01-25 05:11:16.299 | 2016-01-25 05:11:16.275 | return self.client_
2016-01-25 05:11:16.302 | 2016-01-25 05:11:16.276 | File "/opt/stack/
2016-01-25 05:11:16.303 | 2016-01-25 05:11:16.279 | resp, body = self.json_
2016-01-25 05:11:16.327 | 2016-01-25 05:11:16.280 | File "/opt/stack/
2016-01-25 05:11:16.328 | 2016-01-25 05:11:16.282 | resp = self._http_
2016-01-25 05:11:16.328 | 2016-01-25 05:11:16.283 | File "/opt/stack/
2016-01-25 05:11:16.328 | 2016-01-25 05:11:16.284 | raise exc.from_
2016-01-25 05:11:16.328 | 2016-01-25 05:11:16.286 | heatclient.
2016-01-25 05:11:16.328 | 2016-01-25 05:11:16.288 |
Looks very similar to bug #1508390.
From the logs:
JSON response : {"explanation": "The resource could not be found.", "code": 404, "error": {"message": "Not found", "traceback": "Traceback (most recent call last):\n\n File \"/opt/ stack/new/ heat/heat/ common/ context. py\", line 329, in wrapped\n return func(self, ctx, *args, **kwargs)\n\n File \"/opt/ stack/new/ heat/heat/ engine/ service. py\", line 536, in list_stacks\n return [api.format_ stack(stack) for stack in stacks]\n\n File \"/opt/ stack/new/ heat/heat/ engine/ stack.py\ ", line 438, in load_all\n not_tags_any) or []\n\n File \"/opt/ stack/new/ heat/heat/ objects/ stack.py\ ", line 120, in get_all\n for db_stack in db_stacks]\n\n File \"/opt/ stack/new/ heat/heat/ objects/ stack.py\ ", line 71, in _from_db_object\n context, db_stack[ 'raw_template_ id']))\ n\n File \"/opt/ stack/new/ heat/heat/ objects/ raw_template. py\", line 67, in get_by_id\n raw_template_db = db_api. raw_template_ get(context, template_id)\n\n File \"/opt/ stack/new/ heat/heat/ db/api. py\", line 46, in raw_template_get\n return IMPL.raw_ template_ get(context, template_id)\n\n File \"/opt/ stack/new/ heat/heat/ db/sqlalchemy/ api.py\ ", line 102, in raw_template_get\n template_ id)\n\nNotFound : raw template with id 1906 not found\n", "type": "NotFound"}, "title": "Not Found"} to_json /opt/stack/ new/heat/ heat/common/ serializers. py:40