[one-users] Hotplugging questions
Bojan Mrkobrad
macak.fritz at gmail.com
Mon Aug 27 09:49:26 PDT 2012
Hi,
There is the new hotplugging feature in Sunstone in ONE 3.6.
I tried to attach an ISO image with type CD-ROM. In this case, i had a
following error:
Sat Aug 25 21:52:18 2012 [VMM][I]: Successfully execute transfer
manager driver operation: tm_attach.
Sat Aug 25 21:52:19 2012 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/attach_disk one-144
/var/lib/one//datastores/0/144/disk.2 vdb 1 PFZNTV9EUklWRVJfQ.....
Sat Aug 25 21:52:19 2012 [VMM][E]: attach_disk: Command "virsh
--connect qemu:///system attach-device one-144
/var/lib/one//datastores/0/144/disk.2.attach" failed: error: Failed to
attach device from /var/lib/one//datastores/0/144/disk.2.attach
Sat Aug 25 21:52:19 2012 [VMM][I]: error: internal error No device
with bus 'virtio' and target 'vdb'
Sat Aug 25 21:52:19 2012 [VMM][E]: Could not attach
/var/lib/one//datastores/0/144/disk.2 (vdb) to one-144
If in a VM device vdb already exist (in this case vdb is a Context
ISO), I have the followin message in log:
Sat Aug 25 22:08:23 2012 [VMM][I]: clone: Cloning
../../101/5fe82c44085f4d2f36cb2fff7dfe531f in
polux:/var/lib/one//datastores/0/114/disk.2
Sat Aug 25 22:08:23 2012 [VMM][I]: ExitCode: 0
Sat Aug 25 22:08:23 2012 [VMM][I]: Successfully execute transfer
manager driver operation: tm_attach.
Sat Aug 25 22:08:23 2012 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/attach_disk one-114
/var/lib/one//datastores/0/114/disk.2 vdb 1 PFZNTV9EUklWRVJfQUNUS....
Sat Aug 25 22:08:23 2012 [VMM][E]: attach_disk: Command "virsh
--connect qemu:///system attach-device one-114
/var/lib/one//datastores/0/114/disk.2.attach" failed: error: Failed to
attach device from /var/lib/one//datastores/0/114/disk.2.attach
Sat Aug 25 22:08:23 2012 [VMM][I]: error: internal error unable to
execute QEMU command 'change': Device 'drive-virtio-disk1' is not
removable
Sat Aug 25 22:08:23 2012 [VMM][E]: Could not attach
/var/lib/one//datastores/0/114/disk.2 (vdb) to one-114
Sat Aug 25 22:08:23 2012 [VMM][I]: ExitCode: 1
Sat Aug 25 22:08:23 2012 [VMM][I]: Failed to execute virtualization
driver operation: attach_disk.
Sat Aug 25 22:08:23 2012 [VMM][E]: Error attaching new VM Disk: Could
not attach /var/lib/one//datastores/0/114/disk.2 (vdb) to one-114
Sat Aug 25 22:16:27 2012 [VMM][I]: ExitCode: 0
My question is: is there a way to hotplug a CD-ROM image type on a running VM?
I also notice that ONE Doesn't recognize attached Context ISO. For
example, if I define virtio bus in a Context section context ISO will
be attached as 'vdb'. Then if I try to attach a device with 'vd'
prefix it would be forced as 'vdb' again (with an error in log). Maybe
would be a good idea for new releases to consider adding context disk
in the device list (with possibility to detach it).
Many thanks,
Bojan
More information about the Users
mailing list