8a993d583ffedb608a67acac9fce0c3d065e2dd2
61764 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Zuul
|
8a993d583f | Merge "add functional repoducer for bug 2048837" | ||
|
Dan Smith
|
326b77d837 |
Test nova-next with >1 parallel migrations
Change-Id: Ic69872e6667664d1b3bd7a88d7ef018b67352f44 Signed-off-by: Dan Smith <dansmith@redhat.com> |
||
|
Sean Mooney
|
fac1a4d9de |
add functional repoducer for bug 2048837
Change-Id: I8ce3044cff198209416d2a458317f01d1177e9da Signed-off-by: Sean Mooney <work@seanmooney.info> |
||
|
Zuul
|
b7d50570c7 | Merge "api: Add response body schemas for volumes APIs" | ||
|
Sean Mooney
|
61242f75da |
allow funtional test to run with released placment
As part of I0b5e13673cb4cc7c57aeae50914ace443dfc18fa a new depency was created on a placement config option and the workarounds config group This enabled the workaround added in I13ab83a165c229ae57876df4570e8af25221a45e which is present on master but not in a release That works in ci because in ci we use placement master but locally and in the requirement repo we do not. Closes-Bug: #2131032 Change-Id: I744049b5cf0ef69624fc4b6db1e5f415ab89a5af Signed-off-by: Sean Mooney <work@seanmooney.info> |
||
|
Zuul
|
68a0a69c33 | Merge "Allow to perform parallel live migrations" | ||
|
Zuul
|
6625a7b0c0 | Merge "Fix test_simple_tenant_usage test" | ||
|
Zuul
|
44c9d18b08 | Merge "Migrate setup configuration to pyproject.toml" | ||
|
Zuul
|
3466cd0152 | Merge "Migrate codespell configuration to pyproject.toml" | ||
|
Zuul
|
fa3f07994f | Merge "Migrate mypy configuration to pyproject.toml" | ||
|
Dmitriy Rabotyagov
|
25fbf32f22 |
Allow to perform parallel live migrations
This patch implements parallel live migrations for libvirt driver. It is achieved through introduction of new configuration parameter `live_migration_parallel_connections`. This allows to eliminate bottleneck on live migration speed by establishing multiple connections for memory transition, thus leveraging multi-threaded behavior in QEMU. Implements-blueprint: libvirt-parallel-migrate Change-Id: I98ff5f07f94d94f3aa0227591f425d532773adb0 Signed-off-by: Dmitriy Rabotyagov <dmitriy.rabotyagov@cleura.com> |
||
|
Zuul
|
6ce9c77553 | Merge "Default native threading for sch, api and metadata" | ||
|
Zuul
|
a79fea0347 | Merge "Move monkey_patch from init to the entrypoints" | ||
|
Balazs Gibizer
|
35207ee8b5 |
Default native threading for sch, api and metadata
This patch switches the default concurrency mode to native threading for the services that gained native threading support in Flamingo: nova-scheduler, nova-api, and nova-metadata. The OS_NOVA_DISABLE_EVENTLET_PATCHING env variable still can be used to explicitly switch the concurrency mode to eventlet by OS_NOVA_DISABLE_EVENTLET_PATCHING=false We also ensure that the cover, docs, py3xx and functional tox targets are still running with eventlet while py312-threading kept running with native threading. Change-Id: I86c7f31f19ca3345218171f0abfa8ddd4f8fc7ea Signed-off-by: Balazs Gibizer <gibi@redhat.com> |
||
|
Zuul
|
4cfdf18a0b | Merge "[CI]nova-alt-configurations tests eventlet" | ||
|
Ghanshyam Maan
|
c4ddc76bd6 |
Fix test_simple_tenant_usage test
API policy test_simple_tenant_usage test does
not send the start and end time in request's query
string. In that case, API set the current time to
both start and end times. So there is a chance that
both start and end times can be the same, and Nova
raises an error:
-
|
||
|
Zuul
|
7cf0758f38 | Merge "Add handling for vTPM secret permission error" | ||
|
Zuul
|
66558107c7 | Merge "Add hw:tpm_secret_security extra spec validation" | ||
|
Balazs Gibizer
|
0afb72e883 |
Move monkey_patch from init to the entrypoints
This move is needed so that we can define a per service default for monkey patching. And yes, the single line with both noqa and autopep8 decorators are needed to convince autopep8 that this code is OK to be at the start of the file. After moving the monkey_patching earlier in the wsgi entrypoint I needed to move the functional test monkey_patching call earlier too to keep the early enough for the test where the wsgi entry point is not directly imported Change-Id: Idedd2a440adc1cde1e8ffe6636854d5a891e66d2 Signed-off-by: Balazs Gibizer <gibi@redhat.com> |
||
|
Balazs Gibizer
|
0bf6780fb8 |
[CI]nova-alt-configurations tests eventlet
This patch renames the nova-ovs-hybrid-plug Job to nova-alt-configurations and ensures that all nova services are running with eventlet even after some of the services switches to native threading by default. This ensures we keep eventlet test coverage in place. Change-Id: Id2b70aa3870f2bf5a28c875a7564f84c012c9456 Signed-off-by: Balazs Gibizer <gibi@redhat.com> |
||
|
Zuul
|
9e5ad07aee | Merge "setup: Remove pbr's wsgi_scripts" | ||
|
Stephen Finucane
|
324af749bb |
Migrate setup configuration to pyproject.toml
Or as much of it as we can currently. Change-Id: I25f8e0ae5f7a652576678829e574b5bf2d2441a2 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Stephen Finucane
|
0b5461e18b |
Migrate codespell configuration to pyproject.toml
Change-Id: I9554b74bfd732e0e8e792ba543f2c3a6908c4bd9 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Stephen Finucane
|
4b09ba2a6b |
Migrate mypy configuration to pyproject.toml
Change-Id: Ife39b55eb40c9cb8e61f1b2295b6d42cefe3a680 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Stephen Finucane
|
5da2dc2060 |
setup: Remove pbr's wsgi_scripts
This is technical dead end and not something we're going to be able to support long-term in pbr. We need to push users away from this. Doing so highlights quite a few place where our docs need some work, particularly in light of the recent removal of the eventlet servers. Change-Id: I2ffaed710fac2612f5337aca5192af15eab46861 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Johannes Kulik
|
710ffbb0c5 |
api: Pre-query not deleted members in server groups
When retrieving multiple - or all - server groups, the code tries to find not deleted members for each server group in every cell individually. This is highly inefficient, which is especially noticable when the number of server groups rises. We change this to query all members of all server-groups we will reply with (i.e. from the already limited list) in advance and pass this set of existing uuids into the function formatting the server group. This is more efficient, because we only do one large query instead of up to 1000 times the number of cells. Change-Id: I3459ce7a8bec9a9e6f3a3b496a3e441078b86af0 Signed-off-by: Johannes Kulik <johannes.kulik@sap.com> Partial-Bug: #2122109 |
||
|
Zuul
|
32f58e8ad6 | Merge "[func]Test with optimize_for_wide_provider_trees" | ||
|
Zuul
|
74c568b96b | Merge "[CI][nova-next]test with placement ac optimizations" | ||
|
melanie witt
|
b4861a6d2b |
Add handling for vTPM secret permission error
Currently there is no handling for this case so if we get a HTTP 403 from Barbican for a permission error, a very long multi-layered traceback gets logged in nova-compute. This can happen if an admin tries to start an instance with vTPM belonging to a different user, for example. This adds some basic error handling for this case. Most of the logged traceback consists RPC oslo.messaging content, so the new VTPMSecretForbidden exception is added as an expected exception to the compute manager methods we expect users are more likely to encounter such as build, start, and reboot. Other compute manager methods where VTPMSecretForbidden can be raised are resize, resume, restore, and delete but we will leave these as-is and let them log tracebacks because we expect them to be rare. Change-Id: I2ef6df818ed3f63efe2ff9b333c97928d4efa18d Signed-off-by: melanie witt <melwittt@gmail.com> |
||
|
Artom Lifshitz
|
7446ba158e |
Add hw:tpm_secret_security extra spec validation
Like the image property, it can have the `user`, `host`, or `deployment` value. Use this opportunity to also add unit testing for the previous TPM extra specs, hw:tpm_model and hw:tpm_version. NOTE(artom) The spec used hw:vtpm_secret_security, this patch uses hw:tpm_secret_security (without the v) to align with the existing extra specs (and image properties). Implements: blueprint vtpm-live-migration Change-Id: Ie6495bef7a2a782d4c70eae7f8ff685afe8fe93a Signed-off-by: melanie witt <melwittt@gmail.com> |
||
|
Zuul
|
30bf8c1025 | Merge "api: Handle empty imageRef alongside null for local BDM check" | ||
|
Zuul
|
eff7dfd693 | Merge "pci: Add more detail and examples to pci.alias docs" | ||
|
Zuul
|
a2fa7b1fa1 | Merge "[doc]PCI in Placement tuning" | ||
|
Zuul
|
7daff51fe9 | Merge "Dump conf to debug log later in the WSGI app pipeline" | ||
|
Zuul
|
94ae45c1d1 | Merge "api-ref: Fix server topology API docs" | ||
|
melanie witt
|
45cdc1903b |
Dump conf to debug log later in the WSGI app pipeline
When CONF.log_options = True, we dump the config to the DEBUG log and it can help with debugging issues to see whether a config has been applied or not. Currently, the log is dumped before other options in the pipeline are registered, such as the keystonemiddleware.auth_token options in the [keystone_authtoken] config section. This moves the conf dumping code after the WSGI app is loaded in order to reflect more config options in the debug log. Change-Id: I53d36b68d7942bc65a85fbe314a7f0baa6124343 Signed-off-by: melanie witt <melwittt@gmail.com> |
||
|
Zuul
|
6d5cf6845e | Merge "Fix fill_metadata usage for the ImagePropertiesWeigher" | ||
|
Balazs Gibizer
|
29c609be23 |
[func]Test with optimize_for_wide_provider_trees
Placement implemented a workaround optimization for large provider trees. This patch enables that optimization to run the pci_in_placement related nova functional tests with this config enabled. Change-Id: I0b5e13673cb4cc7c57aeae50914ace443dfc18fa Signed-off-by: Balazs Gibizer <gibi@redhat.com> |
||
|
Balazs Gibizer
|
35b8a1cae9 |
[doc]PCI in Placement tuning
Related-Bug: #2070257 Related-Bug: #2126751 Change-Id: I602c78e02d1821fab202a91fc4e42e1b0cae42ad Signed-off-by: Balazs Gibizer <gibi@redhat.com> |
||
|
Sylvain Bauza
|
98885344bd |
Fix fill_metadata usage for the ImagePropertiesWeigher
When using the weigher, we need to target the right cell context for the existing instances in the host. fill_metadata was also having an issue as we need to pass the dict value from the updated dict by keying the instance uuid, not the whole dict of updated instances. Change-Id: I18260095ed263da4204f21de27f866568843804e Closes-Bug: #2125935 Signed-off-by: Sylvain Bauza <sbauza@redhat.com> |
||
|
Zuul
|
17f1f0ad49 | Merge "Switch nova-conductor to use global executor" | ||
|
Zuul
|
9df3068dc7 | Merge "Move cleanup of vTPM secret from driver to compute" | ||
|
Zuul
|
420df9ecf8 | Merge "Add functional reproducer for bug 2125030" | ||
|
Kamil Sambor
|
f6314d9027 |
Switch nova-conductor to use global executor
Change-Id: I0700a907746712965860455909d976f6eab0d9bd Signed-off-by: Kamil Sambor <kamil.sambor@gmail.com> |
||
|
Zuul
|
8b81b5f91f | Merge "Reset the mapped field of nodes at service deletion" | ||
|
Balazs Gibizer
|
da1fb487e7 |
[CI][nova-next]test with placement ac optimizations
The nova-next job will run tempest with allocation candidate generation optimizations enabled: [placement] allocation_candidates_generation_strategy = breadth-first max_allocation_candidates = 100000 [workarounds] optimize_for_wide_provider_trees = True Depends-On: https://review.opendev.org/c/openstack/devstack/+/939825 Deepnds-On: https://review.opendev.org/c/openstack/placement/+/962776 Change-Id: Icbfc568bead950a3be22784746421cc11382b2d7 Signed-off-by: Balazs Gibizer <gibi@redhat.com> |
||
|
Zuul
|
d4044a8031 | Merge "Add a regression test for ImagePropsWeigher" | ||
|
Zuul
|
ff15b46eb9 | Merge "Adds regression test for bug LP#2085135" | ||
|
Zuul
|
f1930757a9 | Merge "Fix string format specifier" | ||
|
Julien Le Jeune
|
c04c94ecfb |
Reset the mapped field of nodes at service deletion
Make sure that the 'mapped' field of compute nodes is reset to 0 at nova-compute service deletion. To let nova-manage create the missing host mapping in nova_api database. Closes-Bug: #2085135 Change-Id: I774d4312d7e94af94d960f7269717a00fa08c583 Signed-off-by: Julien Le Jeune <julien.le-jeune@ovhcloud.com> |