<div dir="ltr"><div><p style="background-color:rgb(255,255,255)"><span lang="EN-US"><span style="font-family:arial,sans-serif;font-size:14px">Greetings all,</span><font size="4"><br></font></span></p><p style="background-color:rgb(255,255,255)">

<span lang="EN-US"><span style="font-family:arial,sans-serif;font-size:14px">I have a problem of attaching volume to vm,</span></span></p><p style="background-color:rgb(255,255,255)">After attaching a volume to a vm, there are no error display on horizon(but no success either),</p>

<p style="background-color:rgb(255,255,255)">and I found the following error in the /var/log/nova/compute.log,</p><p style="background-color:rgb(255,255,255)">============================================</p><p style="background-color:rgb(255,255,255)">

2013-02-21 09:06:52 1588 TRACE nova.compute.manager [instance: 95763834-a8c4-4d53-bc46-2937379855a4] <font color="#ff0000">libvirtError: internal error unable to execute QEMU command '__com.redhat_drive_add': Device 'drive-virtio-disk1' could not be initialized</font><br>

</p><p style="background-color:rgb(255,255,255)">....</p><p style="background-color:rgb(255,255,255)"></p><p>2013-02-21 09:06:52 1588 TRACE nova.openstack.common.rpc.amqp     rv = meth(*args,**kwargs)<br></p><p>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</p>

<p>2013-02-21 09:06:52 1588 TRACE nova.openstack.common.rpc.amqp     if ret == -1: raise libvirtError ('virDomainAttachDeviceFlags() failed', dom=self)</p><p>2013-02-21 09:06:52 1588 TRACE<font color="#ff0000"> 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</font></p>

<p><font color="#000000">==============================================</font></p><div style>It looks like something problem happened by libvirtd? </div><div><br></div><div style><font face="arial, sans-serif">Did anyone have a similar problem like this before</font><span style="font-family:arial,sans-serif">? </span></div>

<div style><span style="font-family:arial,sans-serif"><br></span></div><div style><span style="font-family:arial,sans-serif">Please give me a </span><span style="font-family:arial,sans-serif">hint,</span><br></div><div style>

<span style="font-family:arial,sans-serif"><br></span></div><div style><span style="font-family:arial,sans-serif">Thanks,</span></div><div style><font face="arial, sans-serif">Jeff</font></div><p></p></div>
</div>