correction vcpus in 'nova hypervisor-stats' and horizon
Registered by
Sungju Kwon
Currently, 'vcpus' field in 'nova hypervisor-stats' and vcpus
in horizon shows physical CPU number instead of vCPUs available
in the system that should do reflect 'cpu_allocation
$ grep "cpu_allocation
cpu_allocation_
$ cat /proc/cpuinfo | grep processor |wc -l
8
$ nova hypervisor-stats | grep "vcpus "
| vcpus | 8 |
It shows 8 for vcpus even though cpu_allocation_
It causes of confusion to the user who especially wants to know
how many vCPUs available to use.
In Horizon, the graph becomes weird when vcpus_used becomes
bigger than vcpus as vcpus returns physical CPU numbers, not
physical cpu # * cpu_allocation_
Related patch: https:/
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Sungju Kwon
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Bug #1202965: The name VCPUs (total) of Hypervisors is confusing | Opinion |
Bug #1326147: Nova hypervisor-stats returns wrong data | Opinion |
Sprints
Whiteboard
(?)