Commit Graph

61145 Commits

Author SHA1 Message Date
Zuul 1e98790381 Merge "Drop SQLALCHEMY_WARN_20" 2025-01-10 03:02:35 +00:00
Zuul 5ff412cb18 Merge "libvirt: Wrap un-proxied listDevices() and listAllDevices()" 2025-01-10 03:02:27 +00:00
Zuul 5420f9fb9a Merge "Allow hyphen in cinder catalog_info service-type" 2025-01-10 03:02:21 +00:00
Zuul 634be5191e Merge "api-ref: Update note on flavor disabled property" 2025-01-08 12:29:38 +00:00
Stephen Finucane 37e3d960f4 api-ref: Update note on flavor disabled property
This is not admin-only as suggested by the api-ref. In addition, there is
no mechanism available to disable flavors so this will always be false.

Change-Id: Ie1906366c8f141c6f6c58f21b0ff67eb827df4c8
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2025-01-08 11:52:29 +00:00
Zuul 5bd645f444 Merge "Drop unused decoding of xml content" 2025-01-08 05:02:29 +00:00
Zuul e10b36b5d3 Merge "Refactor response schemas for share API" 2025-01-06 20:36:33 +00:00
Zuul c3250d23a7 Merge "[tox] add LOCALE_ARCHIVE to passenv" 2024-12-30 10:32:06 +00:00
Dr. Jens Harbott 2c8400043d Allow hyphen in cinder catalog_info service-type
The official service type for Cinder according to [0] is
"block-storage", so it should be allowed in the validation regex.

[0] https://specs.openstack.org/openstack/service-types-authority/

Closes-Bug: 2092194
Change-Id: I9a57aa72cc9589cec08b0f8d5797108043747ef6
2024-12-19 13:51:11 +01:00
René Ribaud 71e644764c Refactor response schemas for share API
Improve the schemas as suggested by stephenfin.

Manila is the OpenStack Shared Filesystems service.
These series of patches implement changes required in Nova to allow
the shares provided by Manila to be associated with and attached to
instances using virtiofs.

Implements: blueprint libvirt-virtiofs-attach-manila-shares
Change-Id: I0857410482439406da28410a6d7f5ca7f04e9c21
2024-12-13 14:04:55 +01:00
Zuul 3c038645db Merge "Refactor test_server_shares: Mock in Base Class and trait verification" 2024-12-13 10:40:32 +00:00
Zuul 4860c40d82 Merge "Manila shares admin guide documentation" 2024-12-13 10:40:25 +00:00
Zuul 8b7dce757c Merge "Add virt/libvirt error test cases" 2024-12-13 10:40:18 +00:00
Zuul 6568bc973c Merge "Add libvirt test to ensure metadata are working." 2024-12-13 08:26:12 +00:00
Zuul 967dbbd9aa Merge "Reports instance events to the DB regarding attaching and detaching a share" 2024-12-13 03:45:20 +00:00
Zuul 728337f200 Merge "Add instance.share_detach_error notification" 2024-12-12 21:36:13 +00:00
Artem Vasilyev b27447d55d Fix unit tests on macOS
* Libvirt tests: Mocked the platform check to prevent failures
  during class initialization on macOS.
* test_get_available_resource: Mocked filesystem access
  to handle the absence of /proc/meminfo on macOS.

Change-Id: I04e1197d9f77c1acd6a7f63120446615c3fd133e
2024-12-12 15:00:47 +03:00
Zuul 8de8fe8c1a Merge "Update Nova bdm with updated swap info" 2024-12-12 05:48:06 +00:00
Zuul 3748335cf0 Merge "api: Remove use of microversion constants" 2024-12-11 21:05:40 +00:00
Zuul f729a7fb13 Merge "docs: Add contributor docs for response body validation" 2024-12-11 10:02:29 +00:00
Takashi Kajinami 7b22a0af03 Drop unused decoding of xml content
Currently the to_xml method always return unicodes (because of
encoding='unicode' explicitly given to tostring), so the logic to
convert bytes values is never called.

Change-Id: I71c5ed726d620068f3e935725e17db550a5425e6
2024-12-11 15:11:17 +09:00
Zuul 4d3d614df9 Merge "api: Add response body schemas for floating IP pool APIs" 2024-12-11 05:42:34 +00:00
Zuul 95ebe3eea4 Merge "api: Add response body schemas for flavors APIs" 2024-12-10 23:43:23 +00:00
Zuul ac5e9c71e9 Merge "Update contributor process documentation" 2024-12-10 18:56:46 +00:00
Zuul be828f8912 Merge "api: Add response body schemas for flavor extra specs APIs" 2024-12-10 18:56:29 +00:00
Amit Uniyal 15dccaeed3 Update Nova bdm with updated swap info
This change updates bdm for swap in finish_resize and revert_resize
functionality.

Change also adds supporting:
- unit and functional tests
- docs: releasenote

Closes-Bug: #1552777

Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf5b
2024-12-10 04:37:51 -05:00
Zuul 2662fe575f Merge "api: Add response body schemas for flavor access API" 2024-12-10 01:37:48 +00:00
Zuul 0e97103fe4 Merge "Rephrase the help message" 2024-12-09 21:28:40 +00:00
Zuul 6efc5eb3b7 Merge "Add instance.share_attach_error notification" 2024-12-09 19:35:07 +00:00
Zuul 49476c6267 Merge "api: Add response body schemas for console auth token APIs" 2024-12-09 18:49:51 +00:00
Zuul 6172cc64ca Merge "api: Add response body schemas for bare metal node APIs" 2024-12-09 15:20:58 +00:00
Zuul 338cbea72a Merge "Add shares to InstancePayload" 2024-12-09 00:38:54 +00:00
Zuul e517c36bcf Merge "Add instance.share_detach notification" 2024-12-08 04:07:34 +00:00
Zuul d76b63548d Merge "api: Add response body schemas for availability zone APIs" 2024-12-07 00:11:05 +00:00
Zuul 4fe68cfb84 Merge "api: Add response body schemas for port interface APIs" 2024-12-07 00:10:58 +00:00
Zuul 8c9894e61b Merge "Add instance.share_attach notification" 2024-12-06 22:29:13 +00:00
Zuul f288e8f0c5 Merge "Add helper methods to attach/detach shares" 2024-12-06 18:39:00 +00:00
Zuul a5997aa10f Merge "Attach Manila shares via virtiofs (API)" 2024-12-06 18:38:52 +00:00
Zuul 05ba5089a9 Merge "Replace deprecated FormatChecker.cls_checks" 2024-12-06 18:38:41 +00:00
Zuul 693515bc16 Merge "api: Add response body schemas for assisted volume snapshots APIs" 2024-12-06 16:15:45 +00:00
Ildiko Vancsa 115c9b685f Update contributor process documentation
This patch updates the contributor/process.rst file to remove outdated
process descriptions, such as runways and gerrit review labels.

The patch also adds the description of the current tracking etherpad
that the team uses to track priorities and ongoing work items. It also
adds the link to the process.rst doc to README.rst for improved
visibility.

Closes-Bug: #2089325

Change-Id: I1713f84fc521759333d1d07fc12d0fc23a5cb807
Signed-off-by: Ildiko Vancsa <ildiko.vancsa@gmail.com>
2024-12-06 07:30:17 -08:00
Takashi Kajinami ca58f33da2 Replace deprecated FormatChecker.cls_checks
The method was deprecated in jsonschema 4.14.0[1] and now triggers
the following warning.

DeprecationWarning: FormatChecker.cls_checks is deprecated. Call
FormatChecker.checks on a specific FormatChecker instance instead.

Also drop redundant override of FormatChecker. The overridden check
method is identical with the same method in the parent class.

[1] https://github.com/python-jsonschema/jsonschema/commit/cd8f0592b93947a9deb8b3e6502cc5a69cb6d722

Closes-Bug: #2089051
Change-Id: I965e0e9a1924988d81a23faf630ac4448ea14af9
2024-12-06 20:34:10 +09:00
Zuul 6269da1968 Merge "api: Add response body schemas for versions APIs" 2024-12-05 23:22:09 +00:00
Zuul 1d8bbf68a8 Merge "Check shares support (compute manager)" 2024-12-05 20:58:19 +00:00
Zuul 229f0aad96 Merge "Allow to mount manila share using Cephfs protocol" 2024-12-05 14:05:50 +00:00
melanie witt 0fccb365dd libvirt: Wrap un-proxied listDevices() and listAllDevices()
This is similar to change I668643c836d46a25df46d4c99a973af5e50a39db
where the objects returned in a list from a libvirt call were not
tpool.Proxy wrapped. Because the objects are not wrapped, calling
methods on them such as listCaps() can block all other greenthreads
and can cause nova-compute to freeze for hours in certain scenarios.

This adds the same wrapping to libvirt calls which return lists of
virNodeDevice.

Closes-Bug: #2091033

Change-Id: I4e423bac26990fc3538e840990294b178c30e374
2024-12-04 19:24:46 +00:00
Zuul d3b5080483 Merge "api: Add response body schemas for extensions API" 2024-12-02 15:31:10 +00:00
Zuul 0764b80f44 Merge "api: Add response body schemas for host aggregate APIs" 2024-12-02 15:04:02 +00:00
Zuul 756f502952 Merge "Deprecate [wsgi] secure_proxy_ssl_header" 2024-12-02 13:14:03 +00:00
Zuul 6e6c5fbf9a Merge "Update gate jobs as per the 2025.1 cycle testing runtime" 2024-11-30 23:15:34 +00:00