Setting this to invalid because some of us don't think this is a bug.
Ie, that nodes in maintenance should be counted/shown in nova. Their
resources show up as unavailable, so it seems fine.

See comments in https://review.openstack.org/177575.

** Changed in: nova
       Status: In Progress => 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/1435153

Title:
  ironic hypervisor is still available when the node is in maintenance
  status.

Status in OpenStack Bare Metal Provisioning Service (Ironic):
  Won't Fix
Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  In my env, we have two ironic nodes, so in hypervisor-stats, show
  count=2, after I set one of them to maintenance state, the hypervisor-
  stats still show count=2, I understand for the node which is in
  maintenance status, it should not be counted into nova hypervisor
  stats.

  [root@rhel7-osee ~]# nova hypervisor-stats
  +----------------------+-------+
  | Property             | Value |
  +----------------------+-------+
  | count                | 2     |
  | current_workload     | 0     |
  | disk_available_least | 0     |
  | free_disk_gb         | 0     |
  | free_ram_mb          | 0     |
  | local_gb             | 40    |
  | local_gb_used        | 40    |
  | memory_mb            | 2048  |
  | memory_mb_used       | 2048  |
  | running_vms          | 2     |
  | vcpus                | 2     |
  | vcpus_used           | 2     |
  +----------------------+-------+
  [root@rhel7-osee ~]# ironic node-set-maintenance 
d4edf8c7-ae8d-40ed-b3a6-c5600ff09287 on
  [root@rhel7-osee ~]# nova hypervisor-stats
  +----------------------+-------+
  | Property             | Value |
  +----------------------+-------+
  | count                | 2     |
  | current_workload     | 0     |
  | disk_available_least | 0     |
  | free_disk_gb         | 0     |
  | free_ram_mb          | 0     |
  | local_gb             | 40    |
  | local_gb_used        | 40    |
  | memory_mb            | 2048  |
  | memory_mb_used       | 2048  |
  | running_vms          | 2     |
  | vcpus                | 2     |
  | vcpus_used           | 2     |
  +----------------------+-------+

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to