← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1372805] Re: [libvirt] LibvirtDriver.get_num_instances should not count dom0 when driver_type=xen

 

I tested this on an Icehouse environment. The code changed in Juno. Len
of list_instances is used for the number of instances and list_instances
only returns guests, no dom0. So everything is fine on Juno and this bug
is invalid.

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1372805

Title:
  [libvirt] LibvirtDriver.get_num_instances should not count dom0 when
  driver_type=xen

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  When using Libvirt with Xen the dom0 is not available in the database
  and because of that nova.compute.manager will log a lot of warnings
  about this.

  2014-09-08 09:49:23.709 11673 WARNING nova.compute.manager [req-
  5d0ba692-0f18-445f-b55b-526043636976 None None] Found 1 in the
  database and 2 on the hypervisor.

  # virsh list
   Id    Name                           State
  ----------------------------------------------------
   0     Domain-0                       running
   3     test_berendt_001               idle

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1372805/+subscriptions


References