openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #21183
[nova-volume] Problem of attaching a volume to a vm
Greetings all,
I have a problem of attaching volume to vm,
After attaching a volume to a vm, there are no error display on horizon(but
no success either),
and I found the following error in the /var/log/nova/compute.log,
============================================
2013-02-21 09:06:52 1588 TRACE nova.compute.manager [instance:
95763834-a8c4-4d53-bc46-2937379855a4] libvirtError: internal error unable
to execute QEMU command '__com.redhat_drive_add': Device
'drive-virtio-disk1' could not be initialized
....
2013-02-21 09:06:52 1588 TRACE nova.openstack.common.rpc.amqp rv =
meth(*args,**kwargs)
2013-02-21 09:06:52 1588 TRACE nova.openstack.common.rpc.amqp File
"/usr/lib64/python2.6/site-packages/libvirt.py", line 419, in
attachDeviceFlags
2013-02-21 09:06:52 1588 TRACE nova.openstack.common.rpc.amqp if ret ==
-1: raise libvirtError ('virDomainAttachDeviceFlags() failed', dom=self)
2013-02-21 09:06:52 1588 TRACE nova.openstack.common.rpc.amqp libvirtError:
internal error unable to execute QEMU command '__com.redhat_drive_add':
Device 'drive-virtio-disk1' could not be initialized
==============================================
It looks like something problem happened by libvirtd?
Did anyone have a similar problem like this before?
Please give me a hint,
Thanks,
Jeff