update_restrict intermittent failure when convergence is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Rabi Mishra |
Bug Description
It seems update_restrict functional tests failing with convergence gate job at times with the following error.
2016-03-08 06:00:35.400 | 2016-03-08 06:00:35.383 | ~~~~~~~~~~~~~~~~~~~
2016-03-08 06:00:35.402 | 2016-03-08 06:00:35.386 | Traceback (most recent call last):
2016-03-08 06:00:35.404 | 2016-03-08 06:00:35.388 | File "/opt/stack/
2016-03-08 06:00:35.429 | 2016-03-08 06:00:35.389 | expected_
2016-03-08 06:00:35.429 | 2016-03-08 06:00:35.391 | File "/opt/stack/
2016-03-08 06:00:35.430 | 2016-03-08 06:00:35.395 | self._wait_
2016-03-08 06:00:35.430 | 2016-03-08 06:00:35.397 | File "/opt/stack/
2016-03-08 06:00:35.430 | 2016-03-08 06:00:35.399 | raise exceptions.
2016-03-08 06:00:35.430 | 2016-03-08 06:00:35.401 | heat_integratio
2016-03-08 06:00:35.430 | 2016-03-08 06:00:35.403 | Details: Stack UpdateRestricte
I could see the following in the log.
f525dbdd1fd64a2
2016-03-08 05:40:29.600 16283 INFO heat.engine.stack [req-039f714a-
This message is pretty confusing. It seems the stack is CREATED along with the resource and goes to CREATE_COMPLETE[1] and then when updating it with a changed env(that only restricts update), something is going wrong and it's trying to CREATE the resource and the error message is confusing.
Changed in heat: | |
assignee: | nobody → Rabi Mishra (rabi) |
summary: |
- update_restrict failure when convergence is enabled + update_restrict intermittent failure when convergence is enabled |
Changed in heat: | |
status: | New → Triaged |
Changed in heat: | |
status: | Triaged → In Progress |
Changed in heat: | |
milestone: | none → newton-2 |
importance: | Undecided → Medium |
Reviewed: https:/ /review. openstack. org/329433 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=c85cae58bf2 acfd32b6b745d7e 218ba8fe05e604
Committed: https:/
Submitter: Jenkins
Branch: master
commit c85cae58bf2acfd 32b6b745d7e218b a8fe05e604
Author: Zane Bitter <email address hidden>
Date: Tue Jun 14 15:09:19 2016 +0200
Fix test_update_ restricted timeouts due to timestamp resolution
Updating a stack where the only resource needs replacement but is
restricted from being replaced is *very* fast. Since the test framework
relies on seeing a change in the updated_time timestamp, which has only 1s
resolution, it can easily be missed causing the test to timeout. This adds
a 1s sleep between updates that have the same expected status to ensure
that the timestamp changes.
Change-Id: Ief845a21108e92 5325b1b3e8f0900 38ccdf73b8e
Closes-Bug: #1554375
Related-Bug: #1583630