Hi,
are some days that i'm searching for a possible bug in libvirt. I use
Solusvm control panel to manage my kvm VM. If i start a vm it will be shown
correctly as Running. After some days i found that libvirt show same vm as
shut off, but this is not true. I still see login to vm, join in ssh, join
in vnc etc. If i want to show correct state i need to power off the VM and
boot it again.
this is an example:
# list --all
Id Name State
----------------------------------
18 kvm160 running
- kvm134 shut off
- kvm139 shut off
- kvm140 shut off
- kvm144 shut off
- kvm147 shut off
- kvm148 shut off
this is not true because all vm are running. For example the kvm134:
]# ps ax|grep kvm134
8313 ? Sl 3671:51 /usr/libexec/qemu-kvm -S -M rhel5.4.0 -m 1536
-smp 1,sockets=1,cores=1,threads=1 -name kvm134 -uuid
f74f0b83-854a-b22f-36bd-a5ee906926e3 -monitor
unix:/var/lib/libvirt/qemu/kvm134.monitor,server,nowait
-no-kvm-pit-reinjection -boot cd -drive
file=/dev/vps/kvm134_img,if=ide,bus=0,unit=0,boot=on,format=raw -drive
file=/home/solusvm/kvm/iso/CentOS-5.5-x86_64-bin-DVD.iso,if=ide,media=cdrom,bus=1,unit=0,readonly=on,format=raw
-net nic,macaddr=00:16:3b:0c:a1:a5,vlan=0,model=e1000 -net tap,fd=17,vlan=0
-net nic,macaddr=00:18:3a:4c:b7:85,vlan=1,model=e1000 -net tap,fd=19,vlan=1
-serial none -parallel none -usb -usbdevice tablet -vnc 0.0.0.0:8,password
-vga cirrus -balloon virtio
as you can see the vm is working well. Have someone shown same issue?
if i enable debug i see that libvirt try to start vm but see the bridge
resource busy (this is normal because vm is already running).
Versions:
Centos 5.6 x86_64
Compiled against library: libvir 0.8.2
Using library: libvir 0.8.2
Using API: QEMU 0.8.2
Running hypervisor: QEMU 0.9.1
Regards