62046 Commits

Author SHA1 Message Date
Zuul
bcbbbb8442 Merge "Rename deadline parameter to more accurate timeout" 2026-03-03 12:05: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
Zuul
84046d1e3f Merge "api: Simplify API version check for flavor description" 2026-02-26 16:20:54 +00:00
Zuul
c1a7c81e5d Merge "tests: Clean up flavors tests" 2026-02-26 15:54:30 +00:00
Zuul
ddd6067ad5 Merge "db: Move regex helpers to utils" 2026-02-26 15:54:11 +00:00
Takashi Kajinami
1903028492 Accept an empty key for addresses
The name property of networks is optional in neutron. When a server is
attached to a network without name, the key can be empty.

Closes-Bug: #2142767
Change-Id: I31a82bb1574fab6ac03722571ff96443d7a3a51f
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
2026-02-27 00:49:12 +09:00
Zuul
4b38430609 Merge "libvirt: Remove unnecessary arg" 2026-02-26 13:49:24 +00:00
Zuul
0e6505d3b3 Merge "api: Add runtime check for general additionalProperties" 2026-02-26 13:26:25 +00:00
Zuul
14ccb04330 Merge "api: Fix issue with instance usage audit log schema" 2026-02-26 13:26:09 +00:00
Stephen Finucane
fcbedce558 conf: Deprecate AggregateImagePropertiesIsolation opts
The 'AggregateImagePropertiesIsolation' scheduler filter allows users to
filter host aggregates by comparing aggregate and image metadata. The
'[filter_scheduler] aggregate_image_properties_isolation_namespace' and
'[filter_scheduler] aggregate_image_properties_isolation_separator'
options purport to allow users to specify a prefix to use for both the
aggregate and image metadata keys, allowing users to do e.g.:

  openstack image set --property customized.os_type=linux $IMAGE
  openstack aggregate set --property customized.os_type=windows $AGG1
  openstack aggregate set --property customized.os_type=linux $AGG2

However, as noted in change If7245a90711bd2ea13095ba26b9bc82ea3e17202,
this is no longer possible since we introduced the 'ImageMetaProps' o.vo
in Liberty and promptly lost the ability to see any non-o.vo image
metadata properties from glance.

There's a possibility, however slight, that some people are using
namespaces that match actual nova namespaces such as 'hw' and a
separator of '_', but those will continue to work just fine. Setting
anything else will result in the scheduler filter failing since the
image property will always appear to be absent. As a result, these could
be outright removed rather than deprecated. We choose to deprecate just
so people can see the warnings.

Change-Id: Ide763d75e42427a9df3673313895ef47b8727802
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2026-02-26 11:09:41 +00:00
Zuul
18a7dcb6e8 Merge "tests: Invert validation check" 2026-02-26 08:50:37 +00:00
Zuul
df75b7c13b Merge "api: Add response body schemas for server shares APIs" 2026-02-26 08:50:24 +00:00
Zuul
42ac2df1f8 Merge "api: Add response body schemas for servers APIs (6/6)" 2026-02-26 03:00:09 +00:00
Ghanshyam Maan
a877e0ed15 Add operator document for graceful shutdown
Partial implement blueprint nova-services-graceful-shutdown-part1

Change-Id: I18bdb4b9ca2663b5fa1f88b715d27411827b1c45
Signed-off-by: Ghanshyam Maan <gmaan.os14@gmail.com>
2026-02-26 01:33:03 +00:00
Zuul
afac8df46d Merge "api: Add response body schemas for servers APIs (5/6)" 2026-02-25 21:00:49 +00:00