← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1316674] [NEW] VCDriver - Stats update does not ignore hosts in maintenance mode

 

Public bug reported:

Cluster has 2 hosts, with each host having 24 cores.
Both hosts are active.
Stats update is correct

Snippet of nova-compute.log

-05-07 03:14:28.001 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 57582
2014-05-07 03:14:28.001 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 99
2014-05-07 03:14:28.002 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 48
2014-05-07 03:14:28.021 INFO nova.compute.resource_tracker [-] Compute_service record updated for sagar-devstack:domain-c162(Demo-Pulsar-Cluster-DRS)
2014-05-07 03:14:28.021 DEBUG nova.openstack.common.lockutils [-] Semaphore / lock released "update_available_resource" from (pid=28072) inner /opt/stack/nova/nova/openstack/common/lockutils.py:252

Put one of the hosts in Maintenance mode, stats update does not ignore host in maintenance mode and the free vCPUS is still 48.
It should be 24

** Affects: nova
     Importance: Undecided
     Assignee: Sagar Ratnakara Nikam (sagar-r-nikam)
         Status: New


** Tags: vmware

** Changed in: nova
     Assignee: (unassigned) => Sagar Ratnakara Nikam (sagar-r-nikam)

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

Title:
  VCDriver - Stats update does not ignore hosts in maintenance mode

Status in OpenStack Compute (Nova):
  New

Bug description:
  Cluster has 2 hosts, with each host having 24 cores.
  Both hosts are active.
  Stats update is correct

  Snippet of nova-compute.log

  -05-07 03:14:28.001 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 57582
  2014-05-07 03:14:28.001 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 99
  2014-05-07 03:14:28.002 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 48
  2014-05-07 03:14:28.021 INFO nova.compute.resource_tracker [-] Compute_service record updated for sagar-devstack:domain-c162(Demo-Pulsar-Cluster-DRS)
  2014-05-07 03:14:28.021 DEBUG nova.openstack.common.lockutils [-] Semaphore / lock released "update_available_resource" from (pid=28072) inner /opt/stack/nova/nova/openstack/common/lockutils.py:252

  Put one of the hosts in Maintenance mode, stats update does not ignore host in maintenance mode and the free vCPUS is still 48.
  It should be 24

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


Follow ups

References