yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #68123
[Bug 1585858] Re: InterfaceDetachFailed: resources.server: Failed to detach interface
Reviewed: https://review.openstack.org/507635
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=166ac7869fbef4bc88ee5d26e72c7e01d5e581e2
Submitter: Jenkins
Branch: master
commit 166ac7869fbef4bc88ee5d26e72c7e01d5e581e2
Author: Zane Bitter <zbitter@xxxxxxxxxx>
Date: Tue Sep 26 13:26:13 2017 -0400
Increase interface detach polling period
The gate has started failing due to interface detaches timing out.
Examining the logs, it looks like Nova's interface detach retry takes about
6s to run one attempt. Heat, on the other hand, does 10 retries at 0.5s
intervals. So if Nova has to retry then Heat will fail.
Increase Heat's polling interval to make it more likely that if Nova
succeeds, Heat will see it.
Change-Id: Ie74980a3f806b8c17e4e494ae979725b0078f135
Closes-Bug: #1585858
** Changed in: heat
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1585858
Title:
InterfaceDetachFailed: resources.server: Failed to detach interface
Status in OpenStack Heat:
Fix Released
Status in OpenStack Compute (nova):
Invalid
Bug description:
It seems the number of attempts to detach interfaces in not enough in
some cases.
heat_integrationtests.functional.test_create_update.UpdateStackTest.test_stack_update_with_replacing_userdata
2016-05-25 10:37:16.151 | 2016-05-25 10:37:16.020 | -------------------------------------------------------------------------------------------------------------
2016-05-25 10:37:16.151 | 2016-05-25 10:37:16.022 |
2016-05-25 10:37:16.152 | 2016-05-25 10:37:16.025 | Captured traceback:
2016-05-25 10:37:16.152 | 2016-05-25 10:37:16.031 | ~~~~~~~~~~~~~~~~~~~
2016-05-25 10:37:16.152 | 2016-05-25 10:37:16.034 | Traceback (most recent call last):
2016-05-25 10:37:16.152 | 2016-05-25 10:37:16.038 | File "/opt/stack/new/heat/heat_integrationtests/functional/test_create_update.py", line 534, in test_stack_update_with_replacing_userdata
2016-05-25 10:37:16.152 | 2016-05-25 10:37:16.040 | parameters=parms_updated)
2016-05-25 10:37:16.153 | 2016-05-25 10:37:16.044 | File "/opt/stack/new/heat/heat_integrationtests/common/test.py", line 402, in update_stack
2016-05-25 10:37:16.153 | 2016-05-25 10:37:16.046 | self._wait_for_stack_status(**kwargs)
2016-05-25 10:37:16.153 | 2016-05-25 10:37:16.048 | File "/opt/stack/new/heat/heat_integrationtests/common/test.py", line 334, in _wait_for_stack_status
2016-05-25 10:37:16.153 | 2016-05-25 10:37:16.051 | fail_regexp):
2016-05-25 10:37:16.153 | 2016-05-25 10:37:16.054 | File "/opt/stack/new/heat/heat_integrationtests/common/test.py", line 295, in _verify_status
2016-05-25 10:37:16.153 | 2016-05-25 10:37:16.056 | stack_status_reason=stack.stack_status_reason)
2016-05-25 10:37:16.154 | 2016-05-25 10:37:16.058 | heat_integrationtests.common.exceptions.StackBuildErrorException: Stack UpdateStackTest-2129656241/3c284793-623d-47bd-901a-6d71e75bdbca is in UPDATE_FAILED status due to 'InterfaceDetachFailed: resources.server: Failed to detach interface (bdbc4a8c-114b-42c0-a49a-a27311f5f2e2) from server (259f3fff-6e38-4722-9a51-7c7166d78812)'
To manage notifications about this bug go to:
https://bugs.launchpad.net/heat/+bug/1585858/+subscriptions