[pull] master from openstack:master#218
Merged
pull[bot] merged 8 commits intoQSLee-Net:masterfrom Aug 11, 2022
Merged
Conversation
* Update rpm-packaging from branch 'master'
to e4e4cc90f6be4b69c91b34f903155a1ab182a706
- update to new zed releases
Change-Id: I70245c575a012348c1c5f72484d6e7893601f1c9
* Update openstack-helm from branch 'master'
to f22ca90d7507b76b396001141dfdbd77ba1b08f9
- Revert "Remove links in openstack/charts/"
This reverts commit 24e98899d2066a72abaa08e1fb082e335311db2b.
Reason for revert: Seems to have broken lint in a subsequent
change in this repository, revert to fix gate.
Change-Id: I5d19abb172a45126438f7179f80bdb0a64bc098c
* Update nova from branch 'master'
to f77c58dd989f708bbcbdd141827a8cb6c4b6596d
- Merge "Optimize numa_fit_instance_to_host"
- Optimize numa_fit_instance_to_host
The numa_fit_instance_to_host algorithm tries all the possible
host cell permutations to fit the instance cells. So in worst case
scenario it does n! / (n-k)! _numa_fit_instance_cell calls
(n=len(host_cells) k=len(instance_cells)) to find if the instance can be
fit to the host. With 16 NUMA nodes host and 8 NUMA node guests this
means 500 million calls to _numa_fit_instance_cell. This takes excessive
time.
However going through these permutations there are many repetitive
host_cell, instance_cell pairs to try to fit.
E.g.
host_cells=[H1, H2, H2]
instance_cells=[G1, G2]
Produces pairings:
* H1 <- G1 and H2 <- G2
* H1 <- G1 and H3 <- G2
...
Here G1 is checked to fit H1 twice. But if it does not fit in the first
time then we know that it will not fit in the second time either. So we
can cache the result of the first check and use that cache for the later
permutations.
This patch adds two caches to the algo. A fit_cache to hold
host_cell.id, instance_cell.id pairs that we know fit, and a
no_fit_cache for those pairs that we already know that doesn't fit.
This change significantly boost the performance of the algorithm. The
reproduction provided in the bug 1978372 took 6 minutes on my local
machine to run without the optimization. With the optimization it run in
3 seconds.
This change increase the memory usage of the algorithm with the two
caches. Those caches are sets of integer two tuples. And the total size
of the cache is the total number of possible host_cell, instance_cell
pairs which is len(host_cell) * len(instance_cells). So form the above
example (16 host, 8 instance NUMA) it is 128 pairs of integers in the
cache. That will not cause a significant memory increase.
Closes-Bug: #1978372
Change-Id: Ibcf27d741429a239d13f0404348c61e2668b4ce4
* Update nova from branch 'master'
to f810b41d153f58278ff806491b64b5fd3bb4fb0a
- Merge "Remove workaround for SQLAlchemy < 1.4"
- Remove workaround for SQLAlchemy < 1.4
This is no longer needed as our minimum is 1.4.13.
Change-Id: I946a790f3461f1cf76a49c18596cc0a6f8058f6c
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
* Update openstack-helm from branch 'master'
to ced30abead0bddb528d0c5fb7c1627dd8f1e22ba
- Support image registries with authentication
Based on spec
support-OCI-image-registry-with-authentication-turned-on.rst
Each Helm chart can configure an OCI image registry and
credentials to use. A Kubernetes secret is then created with this
info. Service Accounts then specify an imagePullSecret specifying
the Secret with creds for the registry. Then any pod using one
of these ServiceAccounts may pull images from an authenticated
container registry.
Related OSH-infra change:
https://review.opendev.org/c/openstack/openstack-helm-infra/+/848142
Change-Id: I54540f14fed29622bc5af8d18939afd06d65e2d8
* Update nova from branch 'master'
to 9f961b7096517e2e0973f219661a8fed7240c309
- Merge "manager: Reduce unnecessary calls"
- manager: Reduce unnecessary calls
The call to get_volume_connector() is unnecessary when all
BDMs are not volume. It affects the performance of live
migration or shutdown when instance hasn't attached volumes.
Set the connector is none and call 'get_volume_connector'
to assign a value to connector when it is first used.
Change-Id: I46239b2a614858c435ad12cc69079a3e2b312b35
* Update nova from branch 'master'
to 627af67f5e631e8e1b23aa1527517a6cd6abd462
- Merge "objects: Don't use generic 'Field' container"
- objects: Don't use generic 'Field' container
We have specific fields for most field types. Do the same here.
Change-Id: I261f7cdc1e029d546e75723d6112fa2d2dc68e58
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Update cinder from branch 'master'
to 8c723d7e801ce641a02daff71a8382b46df80bb2
- Merge "PowerMax Driver - Check for moving to same target"
- PowerMax Driver - Check for moving to same target
On a move operation check that the target storage group is
not the same as the source storage group which would make the
move unnecessary.
Change-Id: I640a37d2e5bceb1dd14c649d1d2def076ea4dd18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )