yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01587
[Bug 1126163] Re: Rebooting a VM in Rescue state takes the VM to Active state
** Changed in: nova
Status: Fix Committed => 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/1126163
Title:
Rebooting a VM in Rescue state takes the VM to Active state
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Rebooting a VM in rescue state should not be allowed, as it gets the
VM back to the active state (and VM could be unusable still). Reboot
on rescued VM should be blocked the way it is done for other server
operations like Snapshot on rescued VM / rebuild on a rescued VM
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova image-list
+--------------------------------------+---------------------------------+--------+--------+
| ID | Name | Status | Server |
+--------------------------------------+---------------------------------+--------+--------+
| dba8c589-4864-4cb0-8531-1f95c66c815b | cirros-0.3.0-x86_64-uec | ACTIVE | |
| 4806d1a4-aabd-43e8-a201-b82935cd896a | cirros-0.3.0-x86_64-uec-kernel | ACTIVE | |
| 9b7c5642-b295-4f83-abdb-ef2be6c2b0d7 | cirros-0.3.0-x86_64-uec-ramdisk | ACTIVE | |
+--------------------------------------+---------------------------------+--------+--------+
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova boot --image=dba8c589-4864-4cb0-8531-1f95c66c815b --flavor=1 testrescue
+------------------------+--------------------------------------+
| Property | Value |
+------------------------+--------------------------------------+
| status | BUILD |
| updated | 2013-02-15T12:12:09Z |
| OS-EXT-STS:task_state | scheduling |
| key_name | None |
| image | cirros-0.3.0-x86_64-uec |
| hostId | |
| OS-EXT-STS:vm_state | building |
| flavor | m1.tiny |
| id | 760c3933-834d-4d9c-aab0-51b82bdfb1c9 |
| security_groups | [{u'name': u'default'}] |
| user_id | af7d5d9476e74baa872fe3a469f2ddc1 |
| name | testrescue |
| adminPass | gs9T2ZUMc4ZG |
| tenant_id | 70da7d12007e42e684926fec7a18635c |
| created | 2013-02-15T12:12:09Z |
| OS-DCF:diskConfig | MANUAL |
| accessIPv4 | |
| accessIPv6 | |
| progress | 0 |
| OS-EXT-STS:power_state | 0 |
| metadata | {} |
| config_drive | |
+------------------------+--------------------------------------+
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova list
+--------------------------------------+------------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------------+--------+------------------+
| 760c3933-834d-4d9c-aab0-51b82bdfb1c9 | testrescue | ACTIVE | private=10.0.0.2 |
+--------------------------------------+------------+--------+------------------+
(reverse-i-search)`act': source .venv/bin/^Ctivate
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova rescue 760c3933-834d-4d9c-aab0-51b82bdfb1c9
+-----------+--------------+
| Property | Value |
+-----------+--------------+
| adminPass | CdeNx7UTeb9A |
+-----------+--------------+
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova list
+--------------------------------------+------------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------------+--------+------------------+
| 760c3933-834d-4d9c-aab0-51b82bdfb1c9 | testrescue | RESCUE | private=10.0.0.2 |
+--------------------------------------+------------+--------+------------------+
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova reboot 760c3933-834d-4d9c-aab0-51b82bdfb1c9
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova list
+--------------------------------------+------------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------------+--------+------------------+
| 760c3933-834d-4d9c-aab0-51b82bdfb1c9 | testrescue | REBOOT | private=10.0.0.2 |
+--------------------------------------+------------+--------+------------------+
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova list
+--------------------------------------+------------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------------+--------+------------------+
| 760c3933-834d-4d9c-aab0-51b82bdfb1c9 | testrescue | REBOOT | private=10.0.0.2 |
+--------------------------------------+------------+--------+------------------+
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova list
+--------------------------------------+------------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------------+--------+------------------+
| 760c3933-834d-4d9c-aab0-51b82bdfb1c9 | testrescue | REBOOT | private=10.0.0.2 |
+--------------------------------------+------------+--------+------------------+
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$ nova list
+--------------------------------------+------------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------------+--------+------------------+
| 760c3933-834d-4d9c-aab0-51b82bdfb1c9 | testrescue | REBOOT | private=10.0.0.2 |
+--------------------------------------+------------+--------+------------------+
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$
+--------------------------------------+------------+--------+------------------+
| ID | Name | Status | Networks |
+--------------------------------------+------------+--------+------------------+
| 760c3933-834d-4d9c-aab0-51b82bdfb1c9 | testrescue | ACTIVE | private=10.0.0.2 |
+--------------------------------------+------------+--------+------------------+
stack@server-1359571136-az-1-region-a-geo-1:~/latest_tempest/tempest$
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1126163/+subscriptions