yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09123
[Bug 1274183] [NEW] "nova host-servers-migrate <host>" Migrate instances on free compute in error status
Public bug reported:
{"build_id": "2014-01-29_13-30-05", "ostf_sha":
"338ddf840c229918d1df8c6597588b853d02de4c", "build_number": "67",
"nailgun_sha": "3463912a986465133058a24c615c3548cef53cac",
"fuelmain_sha": "7d8768f2ac7e1e54d16c135e4ebd64722e49179e",
"astute_sha": "200f68381327d955428c371582c03a97bfec3154", "release":
"4.1", "fuellib_sha": "73e74f0c449ad86b3da922c8bd5eb333eac94489"}
"nova host-servers-migrate <host>" Migrate instances on free compute in error status
Steps to reproduce
1. Get ISO#67
2. Cluster configuration: Ubuntu, simple, 1Controller, (2+ceph)Computes, Ceph for images, Neutron GRE.
3. Create Instance check on wich compute it is.
4. On controller execute command "nova --debug host-servers-migrate <host>" host should be the name of compute with created instance.
Expected result:
Instance should migrate and be in Active status
Actual result:
After migration instance became in Error state.
compute node on wich should be migrated this instance contain following:
<180>Jan 29 16:12:16 node-3 nova-nova.compute.manager AUDIT: Migrating
<182>Jan 29 16:12:18 node-3 nova-nova.virt.libvirt.driver INFO: Creating image
<179>Jan 29 16:12:19 node-3 nova-nova.virt.libvirt.imagebackend ERROR: error opening rbd image /var/lib/nova/instances/_base/4e3fb6726c8ee72072724a16179d5e400c712864
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 467, in __init__
read_only=read_only)
File "/usr/lib/python2.7/dist-packages/rbd.py", line 351, in __init__
raise make_ex(ret, 'error opening image %s at snapshot %s' % (name, snapshot))
ImageNotFound: error opening image /var/lib/nova/instances/_base/4e3fb6726c8ee72072724a16179d5e400c712864 at snapshot None
<179>Jan 29 16:12:19 node-3 nova-nova.compute.manager ERROR: Setting instance vm_state to ERROR
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3153, in finish_resize
disk_info, image)
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3121, in _finish_resize
block_device_info, power_on)
** Affects: nova
Importance: Undecided
Status: New
** Tags: nova-manage
** Attachment added: "fuel-snapshot-2014-01-29_16-19-02.tgz"
https://bugs.launchpad.net/bugs/1274183/+attachment/3961850/+files/fuel-snapshot-2014-01-29_16-19-02.tgz
--
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/1274183
Title:
"nova host-servers-migrate <host>" Migrate instances on free compute
in error status
Status in OpenStack Compute (Nova):
New
Bug description:
{"build_id": "2014-01-29_13-30-05", "ostf_sha":
"338ddf840c229918d1df8c6597588b853d02de4c", "build_number": "67",
"nailgun_sha": "3463912a986465133058a24c615c3548cef53cac",
"fuelmain_sha": "7d8768f2ac7e1e54d16c135e4ebd64722e49179e",
"astute_sha": "200f68381327d955428c371582c03a97bfec3154", "release":
"4.1", "fuellib_sha": "73e74f0c449ad86b3da922c8bd5eb333eac94489"}
"nova host-servers-migrate <host>" Migrate instances on free compute in error status
Steps to reproduce
1. Get ISO#67
2. Cluster configuration: Ubuntu, simple, 1Controller, (2+ceph)Computes, Ceph for images, Neutron GRE.
3. Create Instance check on wich compute it is.
4. On controller execute command "nova --debug host-servers-migrate <host>" host should be the name of compute with created instance.
Expected result:
Instance should migrate and be in Active status
Actual result:
After migration instance became in Error state.
compute node on wich should be migrated this instance contain
following:
<180>Jan 29 16:12:16 node-3 nova-nova.compute.manager AUDIT: Migrating
<182>Jan 29 16:12:18 node-3 nova-nova.virt.libvirt.driver INFO: Creating image
<179>Jan 29 16:12:19 node-3 nova-nova.virt.libvirt.imagebackend ERROR: error opening rbd image /var/lib/nova/instances/_base/4e3fb6726c8ee72072724a16179d5e400c712864
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 467, in __init__
read_only=read_only)
File "/usr/lib/python2.7/dist-packages/rbd.py", line 351, in __init__
raise make_ex(ret, 'error opening image %s at snapshot %s' % (name, snapshot))
ImageNotFound: error opening image /var/lib/nova/instances/_base/4e3fb6726c8ee72072724a16179d5e400c712864 at snapshot None
<179>Jan 29 16:12:19 node-3 nova-nova.compute.manager ERROR: Setting instance vm_state to ERROR
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3153, in finish_resize
disk_info, image)
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3121, in _finish_resize
block_device_info, power_on)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1274183/+subscriptions
Follow ups
References