yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #86992
[Bug 1940741] Re: func test test_bug_1938326.TestMigrateFromDownHost.test_migrate_from_disabled_host intermittently fails
Reviewed: https://review.opendev.org/c/openstack/nova/+/805667
Committed: https://opendev.org/openstack/nova/commit/5e8267f703d040b6e8b56d5c0f3ed669170cbb2d
Submitter: "Zuul (22348)"
Branch: master
commit 5e8267f703d040b6e8b56d5c0f3ed669170cbb2d
Author: Lee Yarwood <lyarwood@xxxxxxxxxx>
Date: Mon Aug 23 18:14:18 2021 +0100
fup: Increase service_down_time beyond INITIAL_REPORTING_DELAY in test
With service_down_time set to 5 seconds we could easily race the initial
report from the service that is controlled by
nova.servicegroup.api.INITIAL_REPORTING_DELAY which also defaults to 5
seconds.
This change simply increases service_down_time to 6 seconds to avoid
this race, ensuring disabled but alive computes are able to initially
report in and continue to be marked as up by the servicegroup API.
Closes-Bug: #1940741
Change-Id: I61fded6f513c18dbd0248ed54fc58a318dc05416
** Changed in: nova
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/1940741
Title:
func test
test_bug_1938326.TestMigrateFromDownHost.test_migrate_from_disabled_host
intermittently fails
Status in OpenStack Compute (nova):
Fix Released
Bug description:
nova.tests.functional.regressions.test_bug_1938326.TestMigrateFromDownHost.test_migrate_from_disabled_host
----------------------------------------------------------------------------------------------------------
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/root/rtox/nova/functional-py38/nova/tests/functional/regressions/test_bug_1938326.py", line 65, in test_migrate_from_disabled_host
self._confirm_resize(server)
File "/root/rtox/nova/functional-py38/nova/tests/functional/integrated_helpers.py", line 492, in _confirm_resize
self.api.post_server_action(server['id'], {'confirmResize': None})
File "/root/rtox/nova/functional-py38/nova/tests/functional/api/client.py", line 268, in post_server_action
return self.api_post(
File "/root/rtox/nova/functional-py38/nova/tests/functional/api/client.py", line 210, in api_post
return APIResponse(self.api_request(relative_uri, **kwargs))
File "/root/rtox/nova/functional-py38/nova/tests/functional/api/client.py", line 186, in api_request
raise OpenStackApiException(
nova.tests.functional.api.client.OpenStackApiException: Unexpected
status code: {"conflictingRequest": {"code": 409, "message": "Service
is unavailable at this time."}}
Bug signature with couple of hits:
https://paste.opendev.org/show/808229/
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1940741/+subscriptions
References