yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70541
[Bug 1739013] Re: nova.tests.functional.test_server_group.ServerGroupTest*.test_evacuate_with_anti_affinity does not validate that evacuation really happens
** Changed in: nova
Importance: Undecided => Medium
** Also affects: nova/pike
Importance: Undecided
Status: New
** Changed in: nova/pike
Status: New => In Progress
** Changed in: nova/pike
Importance: Undecided => Medium
** Changed in: nova/pike
Assignee: (unassigned) => melanie witt (melwitt)
--
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/1739013
Title:
nova.tests.functional.test_server_group.ServerGroupTest*.test_evacuate_with_anti_affinity
does not validate that evacuation really happens
Status in OpenStack Compute (nova):
Fix Released
Status in OpenStack Compute (nova) pike series:
In Progress
Bug description:
The tests only asserts that the policy is kept after the evacuation
API is called [1] but does not check if the evacuated server is moved
to a new host. When I added those asserts locally it become clear that
the evacuation fails with NoValidHost but the test passes causing a
false positive result.
The logs in those failed tests show multiple potential problems [2].
[1] https://github.com/openstack/nova/blob/42d2c0263edf9041b7e97b0b59982dcfe904a137/nova/tests/functional/test_server_group.py#L431
[2] http://paste.openstack.org/show/629301/
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1739013/+subscriptions
References