Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I spun up a VM using virsh create, and I am able to see the VM in virsh list, however, when I run virt-manager, I am unable to see the VM in the GUI

I am trying to use virt-manager to access the VM console (virsh console does not work)

Does anybody have ideas how to troubleshoot this?

I found this: virt-manager doesn't show list of local KVMs but virsh does : but the question was never answered

EDIT: tried restarting libvirtd, still see the same thing. "grep libvirt /var/log/messages" does not show anything

EDIT2: spun up a second VM on second HV, the second VM shows up in virt-manager, but the first one doesn't. Very odd. Diffing the xml files dont show anything major, and the qemu commands look the same under ps

share|improve this question
    
I am still not sure what happened, but I was able to work around this by running virt-manager on another box and connecting remotely –  benhsu Oct 20 '12 at 23:18
    
check the connection uri in virt-manager –  c4f4t0r Jan 12 at 23:30
add comment

1 Answer

I would start by checking the logs on the virtualization server (grep for libvirt in /var/log/messages) and see if any messages point you towards a problem.

I've encountered issues before where virsh worked fine, but virt-manager behaved weirdly. Restarting libvirt on the virtualization server has always solved the problem for me.

share|improve this answer
    
Yeah. Admin 101 - look for errors first. Beforea asking because that is what you will be asked for anyway. Error logs are always a good idea to start at. +1. –  TomTom Jan 12 at 20:41
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.