← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1358155] [NEW] Using CLI I am able to stop server when it is locked

 

You have been subscribed to a public bug:

I am using devstack + tempest -

Operations are as -

1.

[raies@localhost devstack]$ nova list
+--------------------------------------+-------------+--------+------------+-------------+-------------------+
| ID                                   | Name        | Status | Task State | Power State | Networks          |
+--------------------------------------+-------------+--------+------------+-------------+-------------------+
| d44993fc-c81f-4e4c-9adf-09019859cb31 | test-server | ACTIVE | -          | Running     | public=172.24.4.7 |
+--------------------------------------+-------------+--------+------------+-------------+-------------------+

2.

[raies@localhost devstack]$ nova lock d44993fc-c81f-4e4c-9adf-
09019859cb31

3.

[raies@localhost devstack]$ nova stop d44993fc-c81f-4e4c-9adf-
09019859cb31


All the above commands are successful.

But third command should raise exception (conflict) but all command are
successful.


Above can be confirmed from the API testing in tempest - 

tempest/tempest/api/compute/servers/test_server_actions.py  ------>
test_lock_unlock_server

** Affects: nova
     Importance: Undecided
         Status: New

-- 
Using CLI I am able to stop server when it is locked
https://bugs.launchpad.net/bugs/1358155
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).