[rhos-list] Instances showing up on the wrong host.

Daniel P. Berrange berrange at redhat.com
Wed Mar 20 11:47:19 UTC 2013


On Fri, Mar 01, 2013 at 05:06:04PM +0000, Minton, Rich wrote:
> I created an instance that came up on my second compute node,
> as shown in the Horizon Dashboard when logged in as admin.
> In the VNC console it is seen as instance-0000008a. But when
> I look at the list of instances on compute2 using "virsh list --all"
> I do not see that instance in the list. If I do a "virsh list --all"
> on the controller it does show up in the list (see below). I also
> logged into the VM and checked the MAC address. It is in the list
> when I do a "brctl showmacs" on the controller node. Has anyone
> seen this before?

Not really enough info here to give a good answer. If you are still
seeing the problem, can you show output from various 'nova' commands
to clearly illustrate the problem. As a starting point something
like these commands

 - nova list
 - nova show <instancename>
 - nova host-list
 - nova host-show <hostname>
 - nova hypervisor-list
 - nova hypervisor-show <hostname>

 - virsh -c qemu+ssh://root@<hostname>/system list

For "<hostname>" use the hostname visibee in the 'nova show'
output for the instance in question.

> Also, does anyone know how to get rid of the instances marked
> as "shut off" in the virsh list? These instances have no associated
> directory in the instances directory. It's like they are in some
> database somewhere but are stranded.

Nova ought to clean these up itself, but it must have had some
problem in doing so. You remove them from libvirt's view by
doing 'virsh undefine VMNAME'


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the rhos-list mailing list