Ironic: Invalid hypervisor stats info while instance running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Invalid
|
Undecided
|
Unassigned | ||
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Tuan |
Bug Description
Description
===========
hypervisor-stats of nova showing wrong information of ironic node resource.
Steps to reproduce
==================
Environment was setup following http://
After delpoy 3 ironic-nodes, each has 1 cpu, 1024mb mem, 1gb disk, 2 instances running:
#nova hypervisor-stats
+------
| Property | Value |
+------
| count | 3 |
| current_workload | 1 |
| disk_available_
| free_disk_gb | 10 |
| free_ram_mb | 1024 |
| local_gb | 10 |
| local_gb_used | 20 |
| memory_mb | 1024 |
| memory_mb_used | 2048 |
| running_vms | 2 |
| vcpus | 1 |
| vcpus_used | 2 |
+------
Expected result
===============
vcpus should be 3.
memory_mb should be 3072.
local_gb should be 30.
Changed in ironic: | |
assignee: | nobody → Tuan (tuanla) |
Changed in nova: | |
assignee: | nobody → Tuan (tuanla) |
Changed in nova: | |
assignee: | Tuan (tuanla) → joel (uestcjoel) |
assignee: | joel (uestcjoel) → nobody |
Changed in nova: | |
assignee: | nobody → Tuan (tuanla) |
Changed in ironic: | |
assignee: | Tuan (tuanla) → nobody |
Changed in nova: | |
assignee: | Tuan (tuanla) → Dao Cong Tien (tiendc) |
Changed in nova: | |
assignee: | Dao Cong Tien (tiendc) → Tuan (tuanla) |
Fix proposed to branch: master /review. openstack. org/391415
Review: https:/