← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1435153] Re: ironic hypervisor is still available when the node is in maintenance status.

 

Thanks for the Nova fix. I guess we can't fix anything on Ironic side,
can we?

** Changed in: ironic
       Status: Triaged => Won't Fix

-- 
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):
  In Progress

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