yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #04671
[Bug 1204905] Re: cold migrate fail will set a VM from SHUTOFF to ACTIVE
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-3
--
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/1204905
Title:
cold migrate fail will set a VM from SHUTOFF to ACTIVE
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
[root@rhel8249 ~]# nova boot --image cirros-0.3.0-x86_64 --flavor 6 vm11
+--------------------------------------+--------------------------------------+
| Property | Value |
+--------------------------------------+--------------------------------------+
| OS-EXT-STS:task_state | scheduling |
| image | cirros-0.3.0-x86_64 |
| OS-EXT-STS:vm_state | building |
| OS-EXT-SRV-ATTR:instance_name | instance-00000081 |
| OS-SRV-USG:launched_at | None |
| flavor | tmp |
| id | 00778517-7f18-4964-83f9-c503c58c8be1 |
| security_groups | [{u'name': u'default'}] |
| user_id | 736f934fc3ee4c52a3c288d0cfaf0a8f |
| OS-DCF:diskConfig | MANUAL |
| accessIPv4 | |
| accessIPv6 | |
| progress | 0 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-AZ:availability_zone | nova |
| config_drive | |
| status | BUILD |
| updated | 2013-07-25T13:17:43Z |
| hostId | |
| OS-EXT-SRV-ATTR:host | None |
| OS-SRV-USG:terminated_at | None |
| key_name | None |
| OS-EXT-SRV-ATTR:hypervisor_hostname | None |
| name | vm11 |
| adminPass | GpwTDX2oZBqA |
| tenant_id | 441742daab4e458eb917f928405c76ba |
| created | 2013-07-25T13:17:43Z |
| os-extended-volumes:volumes_attached | [] |
| metadata | {} |
+--------------------------------------+--------------------------------------+
[root@rhel8249 ~]# nova list
+--------------------------------------+------+--------+----------+
| ID | Name | Status | Networks |
+--------------------------------------+------+--------+----------+
| 00778517-7f18-4964-83f9-c503c58c8be1 | vm11 | ACTIVE | |
+--------------------------------------+------+--------+----------+
[root@rhel8249 ~]# nova stop vm11
[root@rhel8249 ~]# nova list
+--------------------------------------+------+---------+----------+
| ID | Name | Status | Networks |
+--------------------------------------+------+---------+----------+
| 00778517-7f18-4964-83f9-c503c58c8be1 | vm11 | SHUTOFF | |
+--------------------------------------+------+---------+----------+
[root@rhel8249 ~]# nova migrate vm11
[root@rhel8249 ~]# nova list
+--------------------------------------+------+--------+----------+
| ID | Name | Status | Networks |
+--------------------------------------+------+--------+----------+
| 00778517-7f18-4964-83f9-c503c58c8be1 | vm11 | ACTIVE | | <<<<<<< ACTIVE again.
+--------------------------------------+------+--------+----------+
[root@rhel8249 ~]# nova show vm11
+--------------------------------------+------------------------------------------------------------+
| Property | Value |
+--------------------------------------+------------------------------------------------------------+
| status | ACTIVE |
| updated | 2013-07-25T13:18:07Z |
| OS-EXT-STS:task_state | None |
| OS-EXT-SRV-ATTR:host | rhel8252 |
| key_name | None |
| image | cirros-0.3.0-x86_64 (770267f5-0776-4aea-9626-fbf09b2e9610) |
| hostId | 6cff741229d94bdca096cbb0226f033d0e8dc9b0b2149a8c768784da |
| OS-EXT-STS:vm_state | active |
| OS-EXT-SRV-ATTR:instance_name | instance-00000081 |
| OS-SRV-USG:launched_at | 2013-07-25T13:17:48.000000 |
| OS-EXT-SRV-ATTR:hypervisor_hostname | rhel8252 |
| flavor | tmp (6) |
| id | 00778517-7f18-4964-83f9-c503c58c8be1 |
| security_groups | [{u'name': u'default'}] |
| OS-SRV-USG:terminated_at | None |
| user_id | 736f934fc3ee4c52a3c288d0cfaf0a8f |
| name | vm11 |
| created | 2013-07-25T13:17:43Z |
| tenant_id | 441742daab4e458eb917f928405c76ba |
| OS-DCF:diskConfig | MANUAL |
| metadata | {} |
| os-extended-volumes:volumes_attached | [] |
| accessIPv4 | |
| accessIPv6 | |
| progress | 0 |
| OS-EXT-STS:power_state | 4 |
| OS-EXT-AZ:availability_zone | nova |
| config_drive | |
+--------------------------------------+------------------------------------------------------------+
Check the VM status on hypervisor:
[root@rhel8252 ~]# virsh list --all
Id Name State
----------------------------------------------------
- instance-00000081 shut off <<<<<<< Its off now
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1204905/+subscriptions