Instance in state not running after live migration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Vish Ishaya |
Bug Description
I'm testing the live migration feature in Essex milestone 4. I can sucessfully migrate an instance, but after the migration the instance can not be migrated again.
-------
root@unic-
2012-03-05 18:40:41 INFO nova.rpc.common [req-38c187eb-
Migration of instance-00000007 initiated.Check its progress using euca-describe-
-------
Initial migration, after the instance is running (ps aux on unic-prd-
-------
root@unic-
+------
| Property | Value |
+------
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | active |
| PrivateCloud network | 10.2.20.34 |
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2012-03-
| flavor | m1.small |
| hostId | a24295a0fd51ae9
| id | 41dedf0f-
| image | Centos5x64_v1 |
| key_name | |
| metadata | {} |
| name | testvm5 |
| progress | None |
| status | ACTIVE |
| tenant_id | e552d533c8fc43c
| updated | 2012-03-
| user_id | f400a2b6e60745f
+------
-------
The state of the instance is active.
-------
root@unic-
2012-03-05 18:46:57 INFO nova.rpc.common [req-d6779fb1-
Command failed, please check log for more info
2012-03-05 18:46:57 CRITICAL nova [req-d6779fb1-
[u'Traceback (most recent call last):\n', u' File "/usr/lib/
-------
The migration breaks because the instance is not running, which is not true.
Changed in nova: | |
assignee: | nobody → Kei Masumoto (masumotok) |
Changed in nova: | |
assignee: | Kei Masumoto (masumotok) → Vish Ishaya (vishvananda) |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
It is showing power_state=8 which means libvirt is reporting it as failed, so it doesn't look like the power state is being reported properly. Perhaps the old host is updating the power state in the db somewhere and overwriting the power state reported by the new host?