← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1381303] Re: The value of "num_instances" is not correct , which is in "stats" field of "compute_nodes" table in "nova" database.

 

** Changed in: nova/icehouse
       Status: Fix Committed => Fix Released

-- 
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/1381303

Title:
  The value of "num_instances" is not correct , which is in "stats"
  field of "compute_nodes" table in "nova" database.

Status in OpenStack Compute (Nova):
  Invalid
Status in OpenStack Compute (nova) icehouse series:
  Fix Released

Bug description:
  There is one instances on a host named "opencos114-93".

  Looking at "nova" database's "compute_nodes" table, the value of
  "running_vms" is 1, the value of "num_instances" in "stats" field is 1
  too. The database status log is
  http://paste.openstack.org/show/121405/

  Then delete the last instance, there are none instnaces running on
  "opencos114-93" host.

  Looking at "nova" database's "compute_nodes" table, the value of
  "running_vms" is 0, and the value of "num_instances" in "stats" field
  is still 1. The database status log is
  http://paste.openstack.org/show/121406/

  I think it's a bug, the value of "num_instances" should be 0, it
  should be equal to "running_vms".

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


References