yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65247
[Bug 1699947] [NEW] nova hypervisor-stats/hypervisor-show shows wrong resource usage for baremetal node
Public bug reported:
In ironic scenario, the hypervisor resource usage from nova API is not accurate. When the baremetal node is provisioned successfully,the local_gb,memory_mb, vcpus will be set to zero.
The output of CLI is as follows.
[root@novahost-1 ~]# nova hypervisor-show 22
+-------------------------+--------------------------------------+
| Property | Value |
+-------------------------+--------------------------------------+
| cpu_info | {} |
| current_workload | 0 |
| disk_available_least | -250 |
| free_disk_gb | 0 |
| free_ram_mb | 0 |
| host_ip | 10.127.2.112 |
| hypervisor_hostname | 5fcd326e-c1ff-4221-9fe9-b1fe16a8f9e3 |
| hypervisor_type | ironic |
| hypervisor_version | 1 |
| id | 22 |
| local_gb | 0 |
| local_gb_used | 250 |
| memory_mb | 0 |
| memory_mb_used | 8192 |
| running_vms | 1 |
| service_disabled_reason | None |
| service_host | ironic-host01 |
| service_id | 136 |
| state | up |
| status | enabled |
| vcpus | 0 |
| vcpus_used | 8 |
+-------------------------+--------------------------------------+
Also `nova hypervisor-stats` will return the inaccurate result. So we should fix the issue.
** Affects: nova
Importance: Undecided
Assignee: Tao Li (eric-litao)
Status: New
** Changed in: nova
Assignee: (unassigned) => Tao Li (eric-litao)
--
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/1699947
Title:
nova hypervisor-stats/hypervisor-show shows wrong resource usage for
baremetal node
Status in OpenStack Compute (nova):
New
Bug description:
In ironic scenario, the hypervisor resource usage from nova API is not accurate. When the baremetal node is provisioned successfully,the local_gb,memory_mb, vcpus will be set to zero.
The output of CLI is as follows.
[root@novahost-1 ~]# nova hypervisor-show 22
+-------------------------+--------------------------------------+
| Property | Value |
+-------------------------+--------------------------------------+
| cpu_info | {} |
| current_workload | 0 |
| disk_available_least | -250 |
| free_disk_gb | 0 |
| free_ram_mb | 0 |
| host_ip | 10.127.2.112 |
| hypervisor_hostname | 5fcd326e-c1ff-4221-9fe9-b1fe16a8f9e3 |
| hypervisor_type | ironic |
| hypervisor_version | 1 |
| id | 22 |
| local_gb | 0 |
| local_gb_used | 250 |
| memory_mb | 0 |
| memory_mb_used | 8192 |
| running_vms | 1 |
| service_disabled_reason | None |
| service_host | ironic-host01 |
| service_id | 136 |
| state | up |
| status | enabled |
| vcpus | 0 |
| vcpus_used | 8 |
+-------------------------+--------------------------------------+
Also `nova hypervisor-stats` will return the inaccurate result. So we should fix the issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1699947/+subscriptions
Follow ups