Fixed in
https://github.com/openstack/nova/commit/9ed692bf8c84e0a702536101cd6cb084d33e1c26
** Changed in: nova
Status: Confirmed => Fix Released
--
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):
Fix Released
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
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp