ResourceClosedError from DB in functional tests
Bug #1483670 reported by
Thomas Herve
This bug report is a duplicate of:
Bug #1499669: Heat stucks in DELETE_IN_PROGRESS for some input data.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
High
|
Unassigned |
Bug Description
As seen here: http://
We get "failed to reach UPDATE_COMPLETE status within the required time".
There is an interesting error in the engine logs:
ResourceClosedE
It may be a concurrency issue, but it's hard to tell what's going on.
description: | updated |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | liberty-rc1 → ongoing |
To post a comment you must log in.
This is happening often enough to affect our merge rate.
http:// logs.openstack. org/57/ 218957/ 3/check/ gate-heat- dsvm-functional -orig-mysql/ 4e5d44e/ console. html#_2015- 09-07_21_ 27_43_693
2015-09-07 21:27:43.693 | 2015-09-07 21:27:43.658 | heat_integratio ntests. functional. test_template_ resource. TemplateResourc eUpdateTest. test_template_ resource_ update_ template_ schema( provider_ props_change) ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---- ontests/ functional/ test_template_ resource. py", line 464, in test_template_ resource_ update_ template_ schema ontests/ common/ test.py" , line 431, in stack_create stacks. get(name) new/heat/ .tox/integratio n/local/ lib/python2. 7/site- packages/ heatclient/ v1/stacks. py", line 204, in get get('/stacks/ %s' % stack_id) new/heat/ .tox/integratio n/local/ lib/python2. 7/site- packages/ heatclient/ common/ http.py" , line 284, in get request( "GET", url, **kwargs) new/heat/ .tox/integratio n/local/ lib/python2. 7/site- packages/ heatclient/ common/ http.py" , line 277, in client_request request( method, url, **kwargs) new/heat/ .tox/integratio n/local/ lib/python2. 7/site- packages/ heatclient/ common/ http.py" , line 266, in json_request request( url, method, **kwargs) new/heat/ .tox/integratio n/local/ lib/python2. 7/site- packages/ heatclient/ common/ http.py" , line 228, in _http_request request( path, method, **kwargs) new/heat/ .tox/integratio n/local/ lib/python2. 7/site- packages/ heatclient/ common/ http.py" , line 221, in _http_request response( resp) exc.HTTPInterna lServerError: ERROR: Remote error: ResourceClosedError This result object does not return ...
2015-09-07 21:27:43.693 | 2015-09-07 21:27:43.660 | -------
2015-09-07 21:27:43.693 | 2015-09-07 21:27:43.662 |
2015-09-07 21:27:43.693 | 2015-09-07 21:27:43.664 | Captured traceback:
2015-09-07 21:27:43.693 | 2015-09-07 21:27:43.665 | ~~~~~~~~~~~~~~~~~~~
2015-09-07 21:27:43.694 | 2015-09-07 21:27:43.667 | Traceback (most recent call last):
2015-09-07 21:27:43.694 | 2015-09-07 21:27:43.668 | File "heat_integrati
2015-09-07 21:27:43.694 | 2015-09-07 21:27:43.670 | files={'the.yaml': self.initial_tmpl})
2015-09-07 21:27:43.694 | 2015-09-07 21:27:43.671 | File "heat_integrati
2015-09-07 21:27:43.696 | 2015-09-07 21:27:43.672 | stack = self.client.
2015-09-07 21:27:43.697 | 2015-09-07 21:27:43.673 | File "/opt/stack/
2015-09-07 21:27:43.698 | 2015-09-07 21:27:43.675 | resp = self.client.
2015-09-07 21:27:43.699 | 2015-09-07 21:27:43.676 | File "/opt/stack/
2015-09-07 21:27:43.730 | 2015-09-07 21:27:43.677 | return self.client_
2015-09-07 21:27:43.730 | 2015-09-07 21:27:43.678 | File "/opt/stack/
2015-09-07 21:27:43.730 | 2015-09-07 21:27:43.679 | resp, body = self.json_
2015-09-07 21:27:43.730 | 2015-09-07 21:27:43.682 | File "/opt/stack/
2015-09-07 21:27:43.731 | 2015-09-07 21:27:43.683 | resp = self._http_
2015-09-07 21:27:43.731 | 2015-09-07 21:27:43.684 | File "/opt/stack/
2015-09-07 21:27:43.731 | 2015-09-07 21:27:43.686 | resp = self._http_
2015-09-07 21:27:43.731 | 2015-09-07 21:27:43.687 | File "/opt/stack/
2015-09-07 21:27:43.731 | 2015-09-07 21:27:43.690 | raise exc.from_
2015-09-07 21:27:43.731 | 2015-09-07 21:27:43.691 | heatclient.