Tempest test_server_actions missing evacuate server test (and client)

Bug #1668690 reported by Felipe Monteiro
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Won't Fix
Low
Unassigned

Bug Description

Currently, test_server_actions does not have a test for evacuating a server [0], nor does it have an evacuate API in servers_client [1].

[0] https://developer.openstack.org/api-ref/compute/?expanded=evacuate-server-evacuate-action-detail
[1] https://github.com/openstack/tempest/blob/master/tempest/lib/services/compute/servers_client.py

Evacuate should be added to servers_client and corresponding tests should be added.

Felipe Monteiro (fm577c)
Changed in tempest:
assignee: nobody → Felipe Monteiro (fm577c)
Changed in tempest:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Martin Kopec (mkopec) wrote :

Unassigning due to a long inactivity.

Changed in tempest:
assignee: Felipe Monteiro (fm577c) → nobody
Revision history for this message
Martin Kopec (mkopec) wrote :

API has been added to the servers_client by https://review.opendev.org/c/openstack/tempest/+/447962

Test case is still missing though.

Revision history for this message
Lukas Piwowarski (lukas-piwowarski) wrote :
Revision history for this message
Martin Kopec (mkopec) wrote :

The documentation states (https://docs.openstack.org/api-ref/compute/?expanded=evacuate-server-evacuate-action-detail) that:
* The failed host must be fenced and no longer running the original server.
* The failed host must be reported as down or marked as forced down using Update Forced Down.

These conditions are difficult to reproduce with 100% accuracy and that isn't a behaviour of a good test.
Also, even if we were able to replicate the pre-conditions, it would mean we can't run any other tests (in case of a setup with one compute node) plus we would risk that we won't be able to bring the host back up and that would fail the whole test run.

I'm closing this as Won't Fix (considering our current resources and all the time this has been opened). If you feel otherwise, feel free to reopen the LP. Thanks.

Changed in tempest:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.