[Openstack] [nova-volume] Problem of attaching a volume to a vm

李建樺 leejenhwa1095 at gmail.com
Fri Feb 22 09:45:01 UTC 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130222/7d24bcd6/attachment.html>


More information about the Openstack mailing list