Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronise yoga with upstream #40

Open
wants to merge 8 commits into
base: stackhpc/yoga
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

This PR contains a snapshot of yoga from upstream unmaintained/yoga.

openstackadmin and others added 8 commits February 8, 2024 15:06
Change-Id: Iecac9bf0c3fae99dd86cf5735b3feb5ac26a708b
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 ebdb19a)
(cherry picked from commit c2b0700)
(cherry picked from commit cb3b301)
This patch makes "horizon-tox-bandit-baseline" job
non-voting becuase due to some changes in latest
version of bandit it starts failing. This issue is already
fixed in horizon master barnch and backported till stable/2023.1
branch but if we apply the same fix in stable/zed branch
then package dependency issue happens.
So it's better to make this job non-voting.

Change-Id: I3edfd885ff582791a7bba6cd03d301852fac8a17
(cherry picked from commit 545b198)
All the Placement API stats "total" show the actual amount of the
resource that the provider can accommodate. Using allocation ratio
it is possible to exceed physical constraints.

This patch uses allocation ratios to display the diagrams properly
and adds the data to the stats table.

Closes-Bug: #1974470
Closes-Bug: #1397917

Change-Id: Iab0ce21ae63f4cc26d3ec5684615189b8ab35231
(cherry picked from commit 3acbf22)
Make the placement API client respect the OPENSTACK_SSL_NO_VERIFY and
OPENSTACK_SSL_CACERT configuration options, so that it can work properly
in TLS-everywhere deployments.

Change-Id: Id0bb085bdf411eef240c3d50da56016c0a1d075c
(cherry picked from commit 1421234)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants