Public bug reported:

reproduce steps:

[tagett@stack-01 devstack]$ nova resize test1 4
[tagett@stack-01 devstack]$ nova list
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
| ID                                   | Name      | Status | Task State  | 
Power State | Networks             |
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
| fb326f1c-05cb-4080-a133-2688a1580bdb | spacewalk | ACTIVE | -           | 
Running     |                      |
| d7ba639c-d261-4dbe-ae70-3aaefc4de339 | test1     | RESIZE | resize_prep | 
Running     | private=192.168.1.94 |
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+

kill nova-compute, then restart it.

[tagett@stack-01 devstack]$ nova list
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
| ID                                   | Name      | Status | Task State  | 
Power State | Networks             |
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
| fb326f1c-05cb-4080-a133-2688a1580bdb | spacewalk | ACTIVE | -           | 
Running     |                      |
| d7ba639c-d261-4dbe-ae70-3aaefc4de339 | test1     | RESIZE | resize_prep | 
Running     | private=192.168.1.94 |
+--------------------------------------+-----------+--------+-------------+-------------+----------------------

[tagett@stack-01 devstack]$ nova list
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
| ID                                   | Name      | Status | Task State  | 
Power State | Networks             |
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
| fb326f1c-05cb-4080-a133-2688a1580bdb | spacewalk | ACTIVE | -           | 
Running     |                      |
| d7ba639c-d261-4dbe-ae70-3aaefc4de339 | test1     | RESIZE | resize_prep | 
Running     | private=192.168.1.94 |
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
[tagett@stack-01 devstack]$ nova reboot test1 
ERROR (Conflict): Cannot 'reboot' instance d7ba639c-d261-4dbe-ae70-3aaefc4de339 
while it is in task_state resize_prep (HTTP 409) (Request-ID: 
req-7a9f4e54-388a-48b1-b361-4b82496542da)

** Affects: nova
     Importance: Undecided
     Assignee: Eli Qiao (taget-9)
         Status: New

-- 
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/1389127

Title:
  instance can not recovery from resize status when nova-compute down
  after resize starting

Status in OpenStack Compute (Nova):
  New

Bug description:
  reproduce steps:

  [tagett@stack-01 devstack]$ nova resize test1 4
  [tagett@stack-01 devstack]$ nova list
  
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
  | ID                                   | Name      | Status | Task State  | 
Power State | Networks             |
  
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
  | fb326f1c-05cb-4080-a133-2688a1580bdb | spacewalk | ACTIVE | -           | 
Running     |                      |
  | d7ba639c-d261-4dbe-ae70-3aaefc4de339 | test1     | RESIZE | resize_prep | 
Running     | private=192.168.1.94 |
  
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+

  kill nova-compute, then restart it.

  [tagett@stack-01 devstack]$ nova list
  
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
  | ID                                   | Name      | Status | Task State  | 
Power State | Networks             |
  
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
  | fb326f1c-05cb-4080-a133-2688a1580bdb | spacewalk | ACTIVE | -           | 
Running     |                      |
  | d7ba639c-d261-4dbe-ae70-3aaefc4de339 | test1     | RESIZE | resize_prep | 
Running     | private=192.168.1.94 |
  
+--------------------------------------+-----------+--------+-------------+-------------+----------------------

  [tagett@stack-01 devstack]$ nova list
  
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
  | ID                                   | Name      | Status | Task State  | 
Power State | Networks             |
  
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
  | fb326f1c-05cb-4080-a133-2688a1580bdb | spacewalk | ACTIVE | -           | 
Running     |                      |
  | d7ba639c-d261-4dbe-ae70-3aaefc4de339 | test1     | RESIZE | resize_prep | 
Running     | private=192.168.1.94 |
  
+--------------------------------------+-----------+--------+-------------+-------------+----------------------+
  [tagett@stack-01 devstack]$ nova reboot test1 
  ERROR (Conflict): Cannot 'reboot' instance 
d7ba639c-d261-4dbe-ae70-3aaefc4de339 while it is in task_state resize_prep 
(HTTP 409) (Request-ID: req-7a9f4e54-388a-48b1-b361-4b82496542da)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1389127/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to