We have a system we are adding as a KVM Host System. While scanning for KVM instances on the host, we are getting the following error:
Finding running KVM processes .. .. found 1 processes Processing KVM command /usr/libexec/qemu-kvm -S -M rhel5.4.0 -m 4096 -smp 4 -name klingon -uuid 5f0290ca-a729-5a79-18bf-b40285d30c20 -no-kvm-pit-reinjection -monitor pty -pidfile /var/run/libvirt/qemu//klingon.pid -boot c -drive file=/boot_drives/klingon.img,if=virtio,index=0,boot=on,cache=none -drive file=,if=ide,media=cdrom,index=2 -drive file=/dev/disk/by-path/ip-10.7.7.5:3260-iscsi-iqn.1986-03.com.sun:02:5c09ee61-ad3d-6b27-d1bd-d5b2b9008e10-lun-0,if=virtio,index=1 -net nic,macaddr=54:52:00:0e:41:9c,vlan=0,model=virtio -net tap,fd=15,script=,vlan=0,ifname=vnet0 -serial pty -parallel none -usb -vnc 127.0.0.1:0 -k en-us .. .. could not work out primary disk image
This is the only KVM instance configured on the system. It was created using virt-manager and has 3 disks attached to it. The boot drive is a file-based disk image on an NFS server (index=0). There is an iSCSI disk attached using its "by-path" name under /dev (index=1). Finally, there is a cdrom device with no disk inserted (index=2).
The host system is running CentOS 5.5 with latest updates.
Comments
Submitted by JamieCameron on Mon, 06/28/2010 - 16:28 Comment #1
Looks like a bug..
Are you running Cloudmin 4.6 there?
Also, did this happen when scanning for all KVM instances on a host, or when adding just a single one?
Submitted by rheilbroun on Mon, 06/28/2010 - 16:41 Comment #2
Yes, Cloudmin 4.6.
This happened when scanning for all KVM instances on the host (i.e. when the host was added to Host Systems > KVM Host Systems)
Submitted by JamieCameron on Mon, 06/28/2010 - 19:53 Comment #3
Ok, I see the problem .. this is a Cloudmin bug.
The fix is to replace the file
/usr/libexec/webmin/server-manager/kvm-type-lib.pl
with the file attached to this bug report, then run/etc/webmin/restart
This fix will also be in Cloudmin 4.7.
Submitted by rheilbroun on Mon, 06/28/2010 - 20:17 Comment #4
Great! That fixed it. Thanks for the quick response!
Submitted by Issues on Tue, 07/13/2010 - 01:20 Comment #5
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by subn3t on Thu, 06/24/2021 - 11:02 Comment #6
Same issue here and I do not find the fixed file to download. Please help!
Submitted by JamieCameron on Fri, 06/25/2021 - 17:21 Comment #7
subn3t - latest releases of Cloudmin should already include this fix
Submitted by subn3t on Fri, 07/02/2021 - 04:08 Comment #8
Thank you for the fast answer Jamie, but I am running Cloudmin version 9.5 on Fedora 33 and when I try to add already running instance and Cloudmin just do not see them. Using qemu-kvm-x86_64 . Any ideas?