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

Minton, Rich rich.minton at lmco.com
Wed Mar 20 13:01:47 UTC 2013


This has been resolved. I was able to us "virsh undefined" to get rid of the stale shutdown entries.

Thanks,
Rick

-----Original Message-----
From: Daniel P. Berrange [mailto:berrange at redhat.com] 
Sent: Wednesday, March 20, 2013 7:47 AM
To: Minton, Rich
Cc: rhos-list at redhat.com
Subject: EXTERNAL: Re: [rhos-list] Instances showing up on the wrong host.

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