yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64815
[Bug 1585858] Re: InterfaceDetachFailed: resources.server: Failed to detach interface
Yes this job is using OVS. We start unplugging the vif here:
http://logs.openstack.org/93/462293/3/gate/gate-heat-dsvm-functional-
convg-mysql-lbaasv2-non-apache-ubuntu-
xenial/ea8c446/logs/screen-n-cpu.txt.gz?level=DEBUG#_Jun_06_05_25_10_121414
Then we start detaching the interface device from the guest here:
http://logs.openstack.org/93/462293/3/gate/gate-heat-dsvm-functional-
convg-mysql-lbaasv2-non-apache-ubuntu-
xenial/ea8c446/logs/screen-n-cpu.txt.gz?level=DEBUG#_Jun_06_05_25_10_249230
Then that fails eventually because the guest is gone:
http://logs.openstack.org/93/462293/3/gate/gate-heat-dsvm-functional-
convg-mysql-lbaasv2-non-apache-ubuntu-
xenial/ea8c446/logs/screen-n-cpu.txt.gz?level=DEBUG#_Jun_06_05_25_27_345226
You can see the instance being terminated at the same time:
http://logs.openstack.org/93/462293/3/gate/gate-heat-dsvm-functional-
convg-mysql-lbaasv2-non-apache-ubuntu-
xenial/ea8c446/logs/screen-n-cpu.txt.gz?level=DEBUG#_Jun_06_05_25_22_366871
So you get an ugly stacktrace in the logs but it should cause things to
fail, unless the test is expecting something it shouldn't.
** Changed in: nova
Status: New => Invalid
--
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 heat:
Triaged
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