Reviewed: https://review.opendev.org/c/openstack/horizon/+/905914 Committed: https://opendev.org/openstack/horizon/commit/034630c4d3d0511961aac2461eac32ee29078d2f Submitter: "Zuul (22348)" Branch: stable/2023.2
commit 034630c4d3d0511961aac2461eac32ee29078d2f Author: Radomir Dopieralski <email address hidden> Date: Fri Aug 4 15:22:08 2023 +0200
Use Placement API along with the hypervisor stats
Hypervisor stats do not reflect accurate VCPUs and PCPUs usage, so to have a correct picture we need to use Placement API along with hypervisors.
We add VCPUs and PCPUs usage diagrams and Resource Provider tab to display correct stats.
Since there is no python client for the Placement API, and the OpenStack SDK doesn't support the endpoints we need, we call the endpoints directly.
Related-Bug: #1974470 Related-Bug: #1397917
Change-Id: If41cea0edeec8c95717229eb017e32898417a891 (cherry picked from commit ebdb19ab8c84eafaa08930a2d03b6c2970716266)
Reviewed: https:/ /review. opendev. org/c/openstack /horizon/ +/905914 /opendev. org/openstack/ horizon/ commit/ 034630c4d3d0511 961aac2461eac32 ee29078d2f
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2023.2
commit 034630c4d3d0511 961aac2461eac32 ee29078d2f
Author: Radomir Dopieralski <email address hidden>
Date: Fri Aug 4 15:22:08 2023 +0200
Use Placement API along with the hypervisor stats
Hypervisor stats do not reflect accurate VCPUs and PCPUs usage, so
to have a correct picture we need to use Placement API along with
hypervisors.
We add VCPUs and PCPUs usage diagrams and Resource Provider tab
to display correct stats.
Since there is no python client for the Placement API, and the
OpenStack SDK doesn't support the endpoints we need, we call the
endpoints directly.
Related-Bug: #1974470
Related-Bug: #1397917
Change-Id: If41cea0edeec8c 95717229eb017e3 2898417a891 aa08930a2d03b6c 2970716266)
(cherry picked from commit ebdb19ab8c84eaf