Commit Graph

62060 Commits

Author SHA1 Message Date
Zuul a411fe8154 Merge "Add service version for Gazpacho" 2026-03-12 12:08:30 +00:00
Zuul 24da439116 Merge "Fix wrong strict assertion of quota class set id" 2026-03-11 21:45:05 +00:00
Zuul c33df9dc4b Merge "Support multiple allocations for vGPUs" 2026-03-11 04:44:04 +00:00
Zuul e1af0e779c Merge "Add regression test for bug #2088066" 2026-03-10 15:04:08 +00:00
Sylvain Bauza 55a36f8f6a Support multiple allocations for vGPUs
Removing the TODO that only allows one VGPU allocation per instance. Now we no
longer need to support the very old VGPU usage for the root provider, this
is easy.

Change-Id: I48d2b700049c81071710e37c05579239255c3539
Related-Bug: #1758086
Signed-off-by: Sylvain Bauza <sbauza@redhat.com>
2026-03-10 11:27:49 +01:00
Zuul fa64fa82bf Merge "return error about external network to the user on build failure" 2026-03-07 06:17:54 +00:00
René Ribaud 864acc23ab Add service version for Gazpacho
We agreed by I2dd906f34118da02783bb7755e0d6c2a2b88eb5d  on the support
envelope.
Pre-RC1, we need to add a service version in the object.
Post-RC1, depending on whether it's SLURP or not SLURP, we need to bump
the minimum version or not.

This patch only focuses on pre-RC1 stage.
Given Hibiscus will be skippable, we will need a post-RC1 patch for
updating the min that will bump to Gazpacho.

Signed-off-by: René Ribaud <rene.ribaud@gmail.com>
Change-Id: I6668c15051a089fe4ce5808254a831ff3dacaa75
2026-03-05 15:56:41 +01:00
Zuul 968965cc77 Merge "Migrate coverage configuration to pyproject" 2026-03-04 19:49:15 +00:00
Stephen Finucane d72e374689 Migrate coverage configuration to pyproject
We also remove an incorrect note from tox.ini: coverage configuration is
not the same as running coverage.

Change-Id: I62305fbfdaaa50040b05545fa40426f4c9fadae8
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-03-04 11:56:33 +00:00
Zuul eabb2ed5d4 Merge "[openstack-tox-cover]Increase timeout" 2026-03-03 22:17:22 +00:00
Doug Goldstein 56c4a69ba6 return error about external network to the user on build failure
Instead of masking the error message with "Failure prepping block
device" when the user requests an invalid configuration, return the
actual error message to the user.

Closes-Bug: 2137673
Change-Id: If12555da64ccba2649a19ee6ccbdac0e888e6ad6
Signed-off-by: Doug Goldstein <cardoe@cardoe.com>
2026-03-03 08:08:26 -06:00
Zuul bcbbbb8442 Merge "Rename deadline parameter to more accurate timeout" 2026-03-03 12:05:10 +00:00
Balazs Gibizer e291055786 [openstack-tox-cover]Increase timeout
After adding functional test to the job by
9908d87d0d we observe frequent
timeout[1]. So this patch bumps the timeout to unblock the gate.

[1] https://zuul.opendev.org/t/openstack/builds?job_name=openstack-tox-cover&project=openstack/nova

Change-Id: Ibaee059967a41c3fbc0170e3075e9c2e059d6106
Signed-off-by: Balazs Gibizer <gibi@redhat.com>
2026-03-03 09:47:13 +01:00
Takashi Kajinami c05c78dbff Fix wrong strict assertion of quota class set id
Although the API spec states that only 'default' is supported,
the os-quota-class-sets API has never implemented the actual validation
and has echoed the id set in url.

Closes-Bug: #2143057
Change-Id: Icc582dfb5fb71ee859d48fcfeca4fd31ca2780fb
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2026-03-02 16:11:10 +00:00
Zuul 7a6e13454d Merge "conf: Deprecate AggregateImagePropertiesIsolation opts" 2026-03-01 17:53:08 +00:00
Zuul e5ab9f9b91 Merge "tests: Add missing test coverage" 2026-03-01 03:19:39 +00:00
Zuul f73b6a49d7 Merge "api: Add runtime check for query additionalProperties" 2026-03-01 03:19:27 +00:00
Zuul 0499a5ab50 Merge "tests: Fix typo" 2026-03-01 03:18:54 +00:00
Zuul 66dc4174ff Merge "api: Deprecate os-volumes_boot API" 2026-03-01 03:18:06 +00:00
Zuul a804b01b69 Merge "api: Remove unnecessary action method prefix" 2026-02-28 19:38:14 +00:00
Zuul 3fc550ed7b Merge "docs: Update REST API version history for 2.102" 2026-02-28 19:22:19 +00:00
Zuul 685fd25cc1 Merge "api: Restrict additional query string arguments" 2026-02-28 19:22:07 +00:00
Zuul 51bf3bdeca Merge "testing: Run functional tests under [testenv:cover]" 2026-02-28 12:17:11 +00:00
Zuul 9e924c888a Merge "api: Remove dead fields from flavors response" 2026-02-28 02:07:05 +00:00
melanie witt 9908d87d0d testing: Run functional tests under [testenv:cover]
Nowadays a significant amount of our test code coverage comes from
functional tests rather than just from unit tests.

Currently, we run unit tests under [testenv:cover] via .stestr.conf
and this just adds a run of the functional tests without API samples or
notification samples or database-only tests, for the sake of brevity.

In local testing this increases our Coverage Report from 87% to 89%
overall. And for the particular file I'm interested in,
nova/limit/utils.py, it increases coverage from 66% to 73%.

I'm doing this as a base for a bug fix in nova/limit/utils.py in the
next patch and with this change, I see coverage increase to 90%.

Change-Id: Iec0a9e38f3641e973894748ab2a14d1bd838e904
Signed-off-by: melanie witt <melwittt@gmail.com>
2026-02-27 15:52:33 -08:00
Zuul 47080f7457 Merge "TPM: bump service version to enable live migration" 2026-02-27 18:21:33 +00:00
Zuul 296d8aad76 Merge "api: Add ability to filter flavors by name" 2026-02-27 17:41:49 +00:00
Zuul d9011d583d Merge "Destroy scatter_gather in conductor" 2026-02-27 13:28:02 +00:00
Zuul 8330acdb99 Merge "TPM: fixups for live migration of host secret security" 2026-02-27 12:04:33 +00:00
Zuul 7927ab4205 Merge "Accept an empty key for addresses" 2026-02-27 05:39:54 +00:00
Stephen Finucane 93cc62fb50 tests: Add missing test coverage
Spotted previously.

Change-Id: Iebc6a6526519cedf55ed72d43c712ab5673b0b62
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 21:39:26 +00:00
Stephen Finucane 36cd19b168 api: Add runtime check for query additionalProperties
We also fix some types.

Change-Id: Ie1bf7b55f21cafdd311b1c58018a4c815cf7cc65
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 21:39:26 +00:00
Stephen Finucane 405948b06d tests: Fix typo
Change-Id: I742914a1c9027aaf1f1c6f6b5c4b1b6c07ccf69e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 21:39:26 +00:00
Stephen Finucane da0482aad8 api: Deprecate os-volumes_boot API
If > 2.103, return a HTTP 404 (Not Found). Otherwise, proxy through to
the ServersController.

Change-Id: Ic6b487316bb1fbf2cf57de5d8e6aabf06f0cdf52
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 21:39:26 +00:00
Stephen Finucane 52e8a5ad71 api: Remove unnecessary action method prefix
None of the other controllers do this. Don't do it here either. This is
mostly a bulk rename, with the exception of the combination of the
'_action_resize' and '_resize' methods, which were unnecessarily
separated, and the move of the 'delete' method to be next to the
'_delete' inner method.

Change-Id: I87381c6721e7a040c82f8124523116a1d4e2c684
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 21:39:26 +00:00
Stephen Finucane 3e4c57479a docs: Update REST API version history for 2.102
Change-Id: Idd647fc90c95b99377212bdbfafcae782d3f845d
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 21:39:26 +00:00
Stephen Finucane 9c8d51fa0c api: Restrict additional query string arguments
All APIs except the root version APIs now use strict query string
parsing. A test is added to ensure same.

A couple of tests need to be updated since they were using the wrong
path: while the path is ignored when calling the controllers directly,
the query strings are not.

Change-Id: I6dcb5b8f1f865df8f6b17cd7f0d730c3bdff241e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 21:39:26 +00:00
Stephen Finucane b95a2c5219 api: Remove dead fields from flavors response
Change-Id: I65be4f2e522c9f73a28b8837d7937a371d3e73d3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 21:39:10 +00:00
Stephen Finucane e73a0bc84b api: Add ability to filter flavors by name
Change-Id: I0d51d29339d1380b93ccb1501e33891082f930ec
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 20:23:15 +00:00
Zuul e6d977384d Merge "api: Remove errant field" 2026-02-26 20:19:37 +00:00
Zuul 889e3d83f6 Merge "Attaching a volume returns HTTP 202" 2026-02-26 20:04:37 +00:00
melanie witt 2919e41560 TPM: bump service version to enable live migration
Live migration of TPM instances is enabled only when the entire cloud
has been upgraded.

Related to blueprint vtpm-live-migration

Change-Id: I718d8ad48b82336562a880467c3c7b12b1fb3512
Signed-off-by: melanie witt <melwittt@gmail.com>
2026-02-26 10:24:18 -08:00
melanie witt bfe5b7fd14 TPM: fixups for live migration of host secret security
Addressing review comments from the previous patch:

https://review.opendev.org/c/openstack/nova/+/941483

Change-Id: Iad53e7bd9ef5c50c491016e98e257fafc1424272
Signed-off-by: melanie witt <melwittt@gmail.com>
2026-02-26 10:19:52 -08:00
Zuul 0075e102f1 Merge "Add operator document for graceful shutdown" 2026-02-26 17:46:44 +00:00
Zuul 4afab5b505 Merge "Add more test for graceful shutdown" 2026-02-26 17:46:26 +00:00
Zuul f5579e9ccc Merge "Prepare resize/cold migration for graceful shutdown" 2026-02-26 17:45:45 +00:00
Zuul 44a7c5c2b0 Merge "Use 2nd RPC server in compute operations" 2026-02-26 17:44:59 +00:00
Zuul fbfc44f73b Merge "Run nova-compute in native threading mode" 2026-02-26 17:44:44 +00:00
Zuul d55f0ce38d Merge "[compute]Use single long task executor" 2026-02-26 16:59:48 +00:00
Zuul 6ae5459351 Merge "Deprecate unlimited compute actions" 2026-02-26 16:59:31 +00:00