Hi,

Give it a try with the disk in the sd bus, instead of ide.

Cheers.

--
Join us at OpenNebulaConf2013 <http://opennebulaconf.com> in Berlin, 24-26
September, 2013
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org>


On Sat, May 18, 2013 at 9:48 AM, Tobias Honacker
<t.honac...@googlemail.com>wrote:

> dear community,
>
> detaching a cdrom on a running VM is causing an error:
>
> 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
>
> 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
>
> Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 error:
> unsupported configuration: disk device type 'cdrom' cannot be detached
>
> Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG E 13 Could not
> detach hdb from one-13
>
> Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 ExitCode: 1
>
> Sat May 18 09:40:33 2013 [VMM][D]: Message received: LOG I 13 Failed to
> execute virtualization driver operation: detach_disk.
>
> Sat May 18 09:40:33 2013 [VMM][D]: Message received: DETACHDISK FAILURE 13
> Could not detach hdb from one-13
>
>
> OS: Federa 18
> Version: 4.0.0
>
> [oneadmin@kvm-priv01 13]$ oneimage show -x 17
> <IMAGE>
>   <ID>17</ID>
>   <UID>0</UID>
>   <GID>0</GID>
>   <UNAME>oneadmin</UNAME>
>   <GNAME>oneadmin</GNAME>
>   <NAME>CDROM - Debian Wheezy</NAME>
>   <PERMISSIONS>
>     <OWNER_U>1</OWNER_U>
>     <OWNER_M>1</OWNER_M>
>     <OWNER_A>0</OWNER_A>
>     <GROUP_U>0</GROUP_U>
>     <GROUP_M>0</GROUP_M>
>     <GROUP_A>0</GROUP_A>
>     <OTHER_U>0</OTHER_U>
>     <OTHER_M>0</OTHER_M>
>     <OTHER_A>0</OTHER_A>
>   </PERMISSIONS>
>   <TYPE>1</TYPE>
>   <DISK_TYPE>0</DISK_TYPE>
>   <PERSISTENT>0</PERSISTENT>
>   <REGTIME>1368820496</REGTIME>
>   <SOURCE>kvm-priv01:vg0.lv-one-17</SOURCE>
>   <PATH>/iso/debian-7.0.0-amd64-netinst.iso</PATH>
>   <FSTYPE/>
>   <SIZE>221</SIZE>
>   <STATE>2</STATE>
>   <RUNNING_VMS>1</RUNNING_VMS>
>   <CLONING_OPS>0</CLONING_OPS>
>   <CLONING_ID>-1</CLONING_ID>
>   <DATASTORE_ID>102</DATASTORE_ID>
>   <DATASTORE>ISO-Abbild</DATASTORE>
>   <VMS>
>     <ID>13</ID>
>   </VMS>
>   <CLONES/>
>   <TEMPLATE>
>     <DESCRIPTION><![CDATA[netinstall]]></DESCRIPTION>
>     <DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>
>     <DRIVER><![CDATA[raw]]></DRIVER>
>     <TARGET><![CDATA[hdb]]></TARGET>
>   </TEMPLATE>
> </IMAGE>
>
>
>  [oneadmin@kvm-priv01 13]$ onedatastore show -x 102
> <DATASTORE>
>   <ID>102</ID>
>   <UID>0</UID>
>   <GID>0</GID>
>   <UNAME>oneadmin</UNAME>
>   <GNAME>oneadmin</GNAME>
>   <NAME>ISO-Abbild</NAME>
>   <PERMISSIONS>
>     <OWNER_U>1</OWNER_U>
>     <OWNER_M>1</OWNER_M>
>     <OWNER_A>0</OWNER_A>
>     <GROUP_U>1</GROUP_U>
>     <GROUP_M>0</GROUP_M>
>     <GROUP_A>0</GROUP_A>
>     <OTHER_U>0</OTHER_U>
>     <OTHER_M>0</OTHER_M>
>     <OTHER_A>0</OTHER_A>
>   </PERMISSIONS>
>   <DS_MAD>lvm</DS_MAD>
>   <TM_MAD>lvm</TM_MAD>
>   <BASE_PATH>/var/lib/one/datastores/102</BASE_PATH>
>   <TYPE>0</TYPE>
>   <DISK_TYPE>0</DISK_TYPE>
>   <CLUSTER_ID>100</CLUSTER_ID>
>   <CLUSTER>production</CLUSTER>
>   <IMAGES>
>     <ID>17</ID>
>   </IMAGES>
>   <TEMPLATE>
>     <DS_MAD><![CDATA[lvm]]></DS_MAD>
>     <HOST><![CDATA[kvm-priv01]]></HOST>
>     <TM_MAD><![CDATA[lvm]]></TM_MAD>
>     <VG_NAME><![CDATA[vg0]]></VG_NAME>
>   </TEMPLATE>
> </DATASTORE>
>
> Andy ideas? I'm confused about this MSG: unsupported configuration: disk
> device type 'cdrom' cannot be detached
>
>
> Best regards,
> Tobias
>
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to