ironic hypervisor is still available when the node is in maintenance status.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Won't Fix
|
High
|
Unassigned | ||
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
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_
| 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-
[root@rhel7-osee ~]# nova hypervisor-stats
+------
| Property | Value |
+------
| count | 2 |
| current_workload | 0 |
| disk_available_
| 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 |
+------
summary: |
- ironic hyprevisor still available after it is set to [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 + ironic hyprevisor still available when node is in maintenance status. |
summary: |
- ironic hyprevisor still available when node is in maintenance status. + ironic hypervisor still available when node is in maintenance status. |
summary: |
- ironic hypervisor still available when node is in maintenance status. + ironic hypervisor is still available when the node is in maintenance + status. |
Changed in ironic: | |
milestone: | none → liberty-1 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in ironic: | |
assignee: | nobody → Zhenguo Niu (niu-zglinux) |
tags: | added: ironic |
Changed in nova: | |
assignee: | Zhenguo Niu (niu-zglinux) → nobody |
Are we sure this isn't resource tracker lag?