<div dir="ltr">Hi,<div><br></div><div style>Give it a try with the disk in the sd bus, instead of ide.</div><div style><br></div><div style>Cheers.</div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">--<br>
Join us at <a href="http://opennebulaconf.com" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>--<div>Carlos Martín, MSc<br>Project Engineer<br>OpenNebula - The Open-source Solution for Data Center Virtualization<div>
<span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"><a href="mailto:cmartin@opennebula.org" style="color:rgb(42,93,176)" target="_blank"></a></span></div>
</div></div></div>
<br><br><div class="gmail_quote">On Sat, May 18, 2013 at 9:48 AM, Tobias Honacker <span dir="ltr"><<a href="mailto:t.honacker@googlemail.com" target="_blank">t.honacker@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">dear community,<div><br></div><div>detaching a cdrom on a running VM is causing an error:</div><div><br></div><div><div>Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 Command execution fail: /var/lib/one/remotes/vmm/kvm/detach_disk one-13 /var/lib/one/datastores/0/13/disk.0 hdb 1 13 kvm-priv01</div>
<div><br></div><div>Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG E 13 detach_disk: Command "virsh --connect qemu:///system detach-disk --domain one-13 --target hdb" failed: error: Failed to detach disk</div>
<div><br></div><div>Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 error: unsupported configuration: disk device type 'cdrom' cannot be detached</div><div><br></div><div>Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG E 13 Could not detach hdb from one-13</div>
<div><br></div><div>Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 ExitCode: 1</div><div><br></div><div>Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 Failed to execute virtualization driver operation: detach_disk.</div>
<div><br></div><div>Sat May 18 09:40:33 2013 [VMM][D]: Message received: DETACHDISK FAILURE 13 Could not detach hdb from one-13</div><div><br></div><div><br></div><div>OS: Federa 18</div><div>Version: 4.0.0</div>
<div><br></div><div><div>[oneadmin@kvm-priv01 13]$ oneimage show -x 17</div><div><IMAGE></div><div> <ID>17</ID></div><div> <UID>0</UID></div><div> <GID>0</GID></div>
<div> <UNAME>oneadmin</UNAME></div><div> <GNAME>oneadmin</GNAME></div><div> <NAME>CDROM - Debian Wheezy</NAME></div><div> <PERMISSIONS></div><div> <OWNER_U>1</OWNER_U></div>
<div> <OWNER_M>1</OWNER_M></div><div> <OWNER_A>0</OWNER_A></div><div> <GROUP_U>0</GROUP_U></div><div> <GROUP_M>0</GROUP_M></div><div> <GROUP_A>0</GROUP_A></div>
<div> <OTHER_U>0</OTHER_U></div><div> <OTHER_M>0</OTHER_M></div><div> <OTHER_A>0</OTHER_A></div><div> </PERMISSIONS></div><div> <TYPE>1</TYPE></div><div> <DISK_TYPE>0</DISK_TYPE></div>
<div> <PERSISTENT>0</PERSISTENT></div><div> <REGTIME>1368820496</REGTIME></div><div> <SOURCE>kvm-priv01:vg0.lv-one-17</SOURCE></div><div> <PATH>/iso/debian-7.0.0-amd64-netinst.iso</PATH></div>
<div> <FSTYPE/></div><div> <SIZE>221</SIZE></div><div> <STATE>2</STATE></div><div> <RUNNING_VMS>1</RUNNING_VMS></div><div> <CLONING_OPS>0</CLONING_OPS></div><div>
<CLONING_ID>-1</CLONING_ID></div><div> <DATASTORE_ID>102</DATASTORE_ID></div><div> <DATASTORE>ISO-Abbild</DATASTORE></div><div> <VMS></div><div> <ID>13</ID></div>
<div> </VMS></div><div> <CLONES/></div><div> <TEMPLATE></div><div> <DESCRIPTION><![CDATA[netinstall]]></DESCRIPTION></div><div> <DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX></div>
<div> <DRIVER><![CDATA[raw]]></DRIVER></div><div> <TARGET><![CDATA[hdb]]></TARGET></div><div> </TEMPLATE></div><div></IMAGE></div><div><br></div><div><br></div><div>
<div>
[oneadmin@kvm-priv01 13]$ onedatastore show -x 102</div><div><DATASTORE></div><div> <ID>102</ID></div><div> <UID>0</UID></div><div> <GID>0</GID></div><div> <UNAME>oneadmin</UNAME></div>
<div> <GNAME>oneadmin</GNAME></div><div> <NAME>ISO-Abbild</NAME></div><div> <PERMISSIONS></div><div> <OWNER_U>1</OWNER_U></div><div> <OWNER_M>1</OWNER_M></div>
<div> <OWNER_A>0</OWNER_A></div><div> <GROUP_U>1</GROUP_U></div><div> <GROUP_M>0</GROUP_M></div><div> <GROUP_A>0</GROUP_A></div><div> <OTHER_U>0</OTHER_U></div>
<div> <OTHER_M>0</OTHER_M></div><div> <OTHER_A>0</OTHER_A></div><div> </PERMISSIONS></div><div> <DS_MAD>lvm</DS_MAD></div><div> <TM_MAD>lvm</TM_MAD></div><div>
<BASE_PATH>/var/lib/one/datastores/102</BASE_PATH></div><div> <TYPE>0</TYPE></div><div> <DISK_TYPE>0</DISK_TYPE></div><div> <CLUSTER_ID>100</CLUSTER_ID></div><div> <CLUSTER>production</CLUSTER></div>
<div> <IMAGES></div><div> <ID>17</ID></div><div> </IMAGES></div><div> <TEMPLATE></div><div> <DS_MAD><![CDATA[lvm]]></DS_MAD></div><div> <HOST><![CDATA[kvm-priv01]]></HOST></div>
<div> <TM_MAD><![CDATA[lvm]]></TM_MAD></div><div> <VG_NAME><![CDATA[vg0]]></VG_NAME></div><div> </TEMPLATE></div><div></DATASTORE></div></div><div><br></div><div>
Andy ideas? I'm confused about this MSG: unsupported configuration: disk device type 'cdrom' cannot be detached</div><div><br></div><div><br></div><div>Best regards,</div><div>Tobias</div>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br></div>