Commit Graph

7643 Commits

Author SHA1 Message Date
Zuul 6dbc7e9e94 Merge "Fix multiple image_id query mappings" 2024-04-22 18:12:13 +00:00
Zuul 9892f1f9d5 Merge "Adding SDK support for ``glance md-namespace-objects-delete``" 2024-04-22 17:14:34 +00:00
Zuul d0718dce12 Merge "image: make sure the target for "clear_cache" is valid" 2024-04-22 17:06:36 +00:00
Zuul e4737ed2ad Merge "Add Binero public cloud to vendor support" 2024-04-22 17:04:43 +00:00
Zuul 416fd6f618 Merge "Remove mypy union line which breaks older pythons." 2024-04-22 17:04:41 +00:00
Tobias Urdin 1610e2da76 Fix multiple image_id query mappings
The loadbalancer v2 proxy has the image_id query
mapping written out twice, instead that should be
compute_flavor [1].

[1] https://docs.openstack.org/api-ref/load-balancer/v2/#list-amphora

Change-Id: I886bdc222904d6e42d8ccad254ed5ae58238d089
2024-04-22 15:06:40 +00:00
Michael Still 7131781adb Remove mypy union line which breaks older pythons.
Change I084336ba41147f824b92dc07235e5f19b7ac4a9c introduced mypy
syntax which breaks Python releases before 3.10. Unfortunately, for
2024.1 we commit to supporting Python back to 3.8.

Specifically, you receive this error message if you run pep8:

pep8 mypy.....................................................................Failed
pep8 - hook id: mypy
pep8 - exit code: 1
pep8
pep8 openstack/object_store/v1/_proxy.py: note: In member "generate_temp_url" of class "Proxy":
pep8 openstack/object_store/v1/_proxy.py:1049:21: error: X | Y syntax for unions requires Python 3.10  [syntax]
pep8 Found 1 error in 1 file (checked 410 source files)

I asked some buddies, and we're fairly sure that this line would
crash the runtime on Python 3.8, because its a syntax error.

So instead, let's use typing syntax compatible with other pythons.

Change-Id: I0a5f57346c7ff469ffe1b93051e470141117ada9
2024-04-21 15:39:39 +10:00
Zuul 8c6a129b8c Merge "Fixed update_metadef_object" 2024-04-18 08:26:53 +00:00
Zuul a39bc3c855 Merge "Add Tap Mirrors to SDK" 2024-04-17 10:37:15 +00:00
Zuul cf5f4ce437 Merge "volume: Allow passing a volume type object to retype_volume" 2024-04-17 10:37:13 +00:00
Zuul 6b228a4c15 Merge "volume: Add ability to set, unset image metadata" 2024-04-17 10:37:11 +00:00
Zuul 806a22abe5 Merge "volume: Allow setting volume statuses individually" 2024-04-17 10:37:09 +00:00
Mridula Joshi 67c1fb82c0 Adding SDK support for ``glance md-namespace-objects-delete``
In this patch, we have added support for deleting all objects from
the namespace.

Change-Id: Ieab58d35b11da4da57aab18c5de83c92f3e41bdc
2024-04-16 14:00:02 +00:00
Tobias Urdin 111d72d513 Add Binero public cloud to vendor support
This adds the Binero public cloud vendor to the
vendor support document.

Change-Id: I5465f75859b6d72328cf7e4a1a5d33f99e2aac79
2024-04-16 14:36:03 +02:00
Stephen Finucane 52b86348a1 volume: Allow passing a volume type object to retype_volume
Small quality of life improvement.

Change-Id: Ief3256cee7110a1e1920cd5e033586c1166f280e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-12 15:55:24 +01:00
Stephen Finucane 644087b270 volume: Add ability to set, unset image metadata
Another action down.

Change-Id: I4d59939bb9d6aa7e66d613e16f7ee89f610f9d5f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-12 15:51:58 +01:00
Stephen Finucane 52c5d74518 volume: Allow setting volume statuses individually
Some of these are admin-only. We don't want to force setting them all at
once.

Change-Id: I3b1694ee5e4dfd96315cc48b44b3d28c01aa3bfa
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-12 15:44:30 +01:00
Zuul 385aa2b457 Merge "Fix typo" 2024-04-11 15:27:42 +00:00
elajkat be6699639c Add Tap Mirrors to SDK
Depends-On: https://review.opendev.org/c/893086
Change-Id: If8151ebe82c3991c9cd2fed57ecb7723ab3db97c
Related-Bug: #2015471
2024-04-11 09:29:33 +02:00
Zuul f9f21e3e17 Merge "Add support for showing requested az in output" 2024-04-10 12:38:15 +00:00
Zuul 687888ac0d Merge "identity: Add access rule CRUD support" 2024-04-10 12:38:07 +00:00
Zuul 8dc7c0d546 Merge "Fix the mailing list domain in documentation link" 2024-04-10 11:15:15 +00:00
Zuul fe18a3bef8 Merge "Adding SDK support for ``glance md-namespace-properties-delete``" 2024-04-10 11:03:48 +00:00
Zuul 4d9c40b74c Merge "Update master for stable/2024.1" 2024-04-03 17:32:25 +00:00
elajkat afdf1549d4 Add sort_key and sort_dir to core Neutron resources
Change-Id: Ia53396c05a99dbbdba668c6966e9c601965d001f
Related-Bug: #1999774
2024-03-25 13:38:21 +00:00
Cyril Roelandt 8b84bf0e59 image: make sure the target for "clear_cache" is valid
This commit:

- makes "both" the default target for clear_cache, as described by the
  documentation;
- makes sure an InvalidRequest exception is raised if another target is
  passed.

Change-Id: I61fccad78fc1b280395e0c590caaa2ee73586d93
2024-03-19 04:36:57 +01:00
OpenStack Release Bot 4b1e75aad6 Update master for stable/2024.1
Add file to the reno documentation build to show release notes for
stable/2024.1.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.

Sem-Ver: feature
Change-Id: Ic938d8d02cab2e7aa74008d33d2bedef60de43af
2024-03-08 13:57:08 +00:00
Zuul 601b21acad Merge "reno: Update master for unmaintained/xena" 2024-03-07 11:03:37 +00:00
Zuul d307563435 Merge "reno: Update master for unmaintained/victoria" 2024-03-07 11:03:35 +00:00
OpenStack Release Bot c689bbaf60 reno: Update master for unmaintained/xena
Update the xena release notes configuration to build from
unmaintained/xena.

Change-Id: I4f760e1f19e74dc252e1af5fa21f1c7cd039f42c
2024-03-07 08:45:52 +00:00
OpenStack Release Bot aabe1e04ba reno: Update master for unmaintained/wallaby
Update the wallaby release notes configuration to build from
unmaintained/wallaby.

Change-Id: I1a52b619d8b7646bf606494188971870bf133b50
2024-03-07 08:44:45 +00:00
OpenStack Release Bot af2c520b91 reno: Update master for unmaintained/victoria
Update the victoria release notes configuration to build from
unmaintained/victoria.

Change-Id: Iafc5829b229ccb384249b531340cbeb88ad327b7
2024-03-07 08:43:47 +00:00
Mridula Joshi 16ddc1ca79 Fixed update_metadef_object
Missed to retrieve the id of the metadef object.
Added the statement to fetch the id of the metadef_object to be
updated

Change-Id: I99f334fcd3a5a3886cdf734747a018e8bca61099
2024-03-04 06:39:33 +00:00
Rajesh Tailor 4f46ab3f8b Add support for showing requested az in output
This change adds support for showing the availability
zone requested during instance create server show and
server list --long output.

Also bump the _max_microversion to 2.96 to use the newly
added microversion.

Depends-On: https://review.opendev.org/c/openstack/nova/+/904568
Change-Id: Iafedc1b7eba682dedaf0bcb0a5af79e85501679a
2024-02-27 17:45:25 +05:30
Clark Boylan 31fe67b835 Fix the mailing list domain in documentation link
The docs had the openstack-discuss mailing list living at the
@openstack.org domain. In reality this list lives at the
@lists.openstack.org domain. Correct this.

Change-Id: Ifee33c8e5757b231d6cc6c3341d7d23072fce94d
2024-02-26 09:18:05 -08:00
Zuul 04cdd0a061 Merge "Resource locks and access rules restrictions" 2024-02-20 17:17:49 +00:00
silvacarloss 4e0d693816 Resource locks and access rules restrictions
Implement resource locks and access rules restrictions feature
in the openstacksdk.

Depends-On: Ib9f65a4523222f1224d51534c5061f90501b59d3
Change-Id: I45f9b06b1b41756d34f39604c82e28fd4eb102de
2024-02-19 12:58:42 -03:00
Zuul 76e088a056 Merge "Fix list of server migrations" 2024-02-18 19:45:04 +00:00
Zuul c0e20c5489 Merge "docs: Add docs on configuration of a service user" 2024-02-16 18:33:17 +00:00
Pavlo Shchelokovskyy 8c988b7e62 Fix list of server migrations
the _list method goes straight through to formatting base_path with attrs,
and for server migrations the attr in the base path is server_uuid,
not server_id.

This patch fixes the base_path of the ServerMigration resource
to use server_id stanza.

Change-Id: I44335a22846f1a11ba60e8bb758b10c39e728897
Story: 2010633
Task: 47591
2024-02-15 23:02:50 +02:00
Stephen Finucane 568921ce5b tox: Correct functional test factors
We are running functional tests in zuul without a 'pyNN' factor (e.g.
'tox -e functional'). For this to work, we need to allow an empty
factor, i.e. we want:

  [testenv:functional{,-py310}]

rather than:

  [testenv:functional{-py310}]

(note the missing comma)

Unfortunately we missed this as tox 4 has a currently unaddressed
regression [1] that results in it running the base testenv in the case
there is only a partial factor match. That needs to be fixed for avoid
this biting us again the future, but we can at least fix it for now.

[1] https://github.com/tox-dev/tox/issues/3219

Change-Id: Ib9f65a4523222f1224d51534c5061f90501b59d3
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-02-15 14:23:45 +00:00
Stephen Finucane d1ff60d125 Fix typo
Change-Id: I160d95eebfe4de5bbea77820e40632f2a1dfd67a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-02-15 12:16:58 +00:00
Stephen Finucane 6ec4661005 docs: Add docs on configuration of a service user
Build upon I897325032ee7b0f559906e82be7f3a7695768c52 to give an
additional example using a service user.

Change-Id: Iac2b85ac19d100c68a9039583b55437aa8b4494e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-02-14 12:53:48 +00:00
Zuul c2baf1db41 Merge "Incorrect protocol type in create_security_group_rule()" 2024-02-12 11:29:34 +00:00
Radoslaw Smigielski 4baf2eb2c3 Incorrect protocol type in create_security_group_rule()
Example conn.network.create_security_group_rule() in examples/network/security_group_rules.py
uses wrong protocol type protocol='HTTPS'. HTTPS is not allowed value,
allowed values are: icmp, udp, tcp. It should be "protocol='tcp'" instead.

Closes-Bug: #2052860
Change-Id: I0fb0532ca562bcf93672a1ca3f1ce2e3ad864c6d
2024-02-11 08:09:57 +01:00
Mridula Joshi 434adf775c Adding SDK support for ``glance md-namespace-properties-delete``
In this patch, we have added support for deleting all properties
from the namespace.

Change-Id: I6ec24881a09a96ac7c99f169835ce8b57d0f692a
2024-02-10 18:45:56 +00:00
Rajat Dhasmana a0cec19e1d Add missing snapshot parameters
This patch adds some of the missing snapshot parameters like:

consumes_quota - MV 3.65
group_snapshot_id - MV 3.14
user_id - MV 3.41

Change-Id: I7ece6168d0ac27712992778ecda87464897b00ea
2024-02-07 10:10:57 +00:00
Zuul b3c5a30d8f Merge "Add snapshot manage unmanage support" 2024-02-06 19:02:02 +00:00
OpenStack Release Bot 6077e6c2ba reno: Update master for unmaintained/yoga
Update the yoga release notes configuration to build from
unmaintained/yoga.

Change-Id: Ifa66170e346564db6782ce6109c35044c919f861
2024-02-05 16:13:41 +00:00
Zuul 5fef752adb Merge "Support the API for managing external gateways" 2024-01-30 09:31:40 +00:00