Commit Graph

1015 Commits

Author SHA1 Message Date
Stephen Finucane bd2663bb67 Update git submodules
* Update openstacksdk from branch 'master'
  to 81d60c7874d02d36ba835e09a977509f8723fce9
  - README: Add guide on raw HTTP layer
    
    Highlight that one can do e.g. `conn.compute.get('/servers')`. You
    almost certainly *don't want* to do this, but it can be helpful (see:
    our support for Nova's os-hypervisors API in OSC).
    
    The flow of the README is modified slightly so we go sequentially from
    high-level layers to low-level layers. Rubrics (header-like elements
    that don't produce anchors or appear in tables of contents) are also
    added to produce improve information hierarchy.
    
    Change-Id: Ifd4a5a2c753f6698fa4384a197e81cc5383ef312
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-24 11:33:48 +00:00
Zuul 5d831ca7f7 Update git submodules
* Update openstacksdk from branch 'master'
  to 6dbc7e9e940b55afe8596c33807884bac9b1648f
  - Merge "Fix multiple image_id query mappings"
  - 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 18:12:13 +00:00
Zuul f840dd090b Update git submodules
* Update openstacksdk from branch 'master'
  to 9892f1f9d51c062fd9379c5622ccd7eeb145f93a
  - Merge "Adding SDK support for ``glance md-namespace-objects-delete``"
  - 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-22 17:14:34 +00:00
Zuul 89ae54c8fc Update git submodules
* Update openstacksdk from branch 'master'
  to d0718dce122fc28f2387111b12e1487effd70b10
  - Merge "image: make sure the target for "clear_cache" is valid"
  - 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-04-22 17:06:36 +00:00
Zuul 1cf7b3165f Update git submodules
* Update openstacksdk from branch 'master'
  to e4737ed2ad4c9aafb167ef2f0fa1fbb1724b756d
  - Merge "Add Binero public cloud to vendor support"
  - Add Binero public cloud to vendor support
    
    This adds the Binero public cloud vendor to the
    vendor support document.
    
    Change-Id: I5465f75859b6d72328cf7e4a1a5d33f99e2aac79
2024-04-22 17:04:44 +00:00
Zuul c0da9dbc1d Update git submodules
* Update openstacksdk from branch 'master'
  to 416fd6f61870a8022452d9ddb2394b65ae0ca285
  - Merge "Remove mypy union line which breaks older pythons."
  - 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-22 17:04:42 +00:00
Zuul a6a45e5f52 Update git submodules
* Update openstacksdk from branch 'master'
  to 8c6a129b8cea97ae8534c921576cac4b347a6194
  - Merge "Fixed update_metadef_object"
  - 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-04-18 08:26:53 +00:00
Zuul bff520fb27 Update git submodules
* Update openstacksdk from branch 'master'
  to a39bc3c855379b7ffdcf703158b5021dc02f722d
  - Merge "Add Tap Mirrors to SDK"
  - Add Tap Mirrors to SDK
    
    Depends-On: https://review.opendev.org/c/893086
    Change-Id: If8151ebe82c3991c9cd2fed57ecb7723ab3db97c
    Related-Bug: #2015471
2024-04-17 10:37:15 +00:00
Zuul 4c7308b115 Update git submodules
* Update openstacksdk from branch 'master'
  to cf5f4ce43760746eb025e2aab95fc52779f5ee2d
  - Merge "volume: Allow passing a volume type object to retype_volume"
  - 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-17 10:37:13 +00:00
Zuul eeea248c6d Update git submodules
* Update openstacksdk from branch 'master'
  to 6b228a4c15eecdb10b143d420d8f8ad8174d00b1
  - Merge "volume: Add ability to set, unset image metadata"
  - volume: Add ability to set, unset image metadata
    
    Another action down.
    
    Change-Id: I4d59939bb9d6aa7e66d613e16f7ee89f610f9d5f
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-17 10:37:11 +00:00
Zuul 07502f1166 Update git submodules
* Update openstacksdk from branch 'master'
  to 806a22abe5b403b7678180ee64f7921eb380325e
  - Merge "volume: Allow setting volume statuses individually"
  - 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-17 10:37:09 +00:00
Zuul dc925b52df Update git submodules
* Update openstacksdk from branch 'master'
  to 385aa2b45782e24abc802f4f025192386832f8a6
  - Merge "Fix typo"
  - Fix typo
    
    Change-Id: I160d95eebfe4de5bbea77820e40632f2a1dfd67a
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-11 15:27:42 +00:00
Zuul 70dd9514ac Update git submodules
* Update openstacksdk from branch 'master'
  to f9f21e3e1787e5f2746c0e0faa0377a80de68adf
  - Merge "Add support for showing requested az in output"
  - 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-04-10 12:38:16 +00:00
Zuul b7a2ff9930 Update git submodules
* Update openstacksdk from branch 'master'
  to 687888ac0df589626a90c3ff701c310bd76c45a1
  - Merge "identity: Add access rule CRUD support"
  - identity: Add access rule CRUD support
    
    This patch adds the client support of access rule in
    application credentials [1].
    
    [1] https://docs.openstack.org/api-ref/identity/v3/index.html#list-access-rules
    
    Change-Id: I9e1eab6eb3ff6e152b408af2fe6ddc57c8c168b2
2024-04-10 12:38:07 +00:00
Zuul bdb0608245 Update git submodules
* Update openstacksdk from branch 'master'
  to 8dc7c0d546327884b92563daa47c19518f27c245
  - Merge "Fix the mailing list domain in documentation link"
  - 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-04-10 11:15:15 +00:00
Zuul bfed79bcd4 Update git submodules
* Update openstacksdk from branch 'master'
  to fe18a3bef894293d9f7ab10a56fbeea50f53a170
  - Merge "Adding SDK support for ``glance md-namespace-properties-delete``"
  - 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-04-10 11:03:48 +00:00
Zuul 83c0a32bda Update git submodules
* Update openstacksdk from branch 'master'
  to 4d9c40b74c2aca4c55403bbdb97769960acba518
  - Merge "Update master for stable/2024.1"
  - 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-04-03 17:32:25 +00:00
elajkat 6be45e26bd Update git submodules
* Update openstacksdk from branch 'master'
  to afdf1549d45d92a1f50402794d8f82cde66976e7
  - Add sort_key and sort_dir to core Neutron resources
    
    Change-Id: Ia53396c05a99dbbdba668c6966e9c601965d001f
    Related-Bug: #1999774
2024-04-03 17:32:23 +00:00
Zuul f10dbf3298 Update git submodules
* Update openstacksdk from branch 'master'
  to 601b21acadf30f54e158523b48af47d3cac23fa5
  - Merge "reno: Update master for unmaintained/xena"
  - reno: Update master for unmaintained/xena
    
    Update the xena release notes configuration to build from
    unmaintained/xena.
    
    Change-Id: I4f760e1f19e74dc252e1af5fa21f1c7cd039f42c
2024-03-07 11:03:38 +00:00
Zuul db3f61cab9 Update git submodules
* Update openstacksdk from branch 'master'
  to d307563435496e158bcf745df57773532d3e409b
  - Merge "reno: Update master for unmaintained/victoria"
  - reno: Update master for unmaintained/victoria
    
    Update the victoria release notes configuration to build from
    unmaintained/victoria.
    
    Change-Id: Iafc5829b229ccb384249b531340cbeb88ad327b7
2024-03-07 11:03:36 +00:00
OpenStack Release Bot df4a5feec2 Update git submodules
* Update openstacksdk from branch 'master'
  to aabe1e04ba61d912e6f2c6da3fc62bc04af8ed1a
  - reno: Update master for unmaintained/wallaby
    
    Update the wallaby release notes configuration to build from
    unmaintained/wallaby.
    
    Change-Id: I1a52b619d8b7646bf606494188971870bf133b50
2024-03-07 11:03:34 +00:00
Zuul 427c3e9661 Update git submodules
* Update openstacksdk from branch 'master'
  to 04cdd0a0615093526230a9d5c0ca401ff1f30ab0
  - Merge "Resource locks and access rules restrictions"
  - 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-20 17:17:50 +00:00
Zuul 8e2fd5db50 Update git submodules
* Update openstacksdk from branch 'master'
  to 76e088a05619776beb60ad60febd988981e21b7d
  - Merge "Fix list of server migrations"
  - 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-18 19:45:08 +00:00
Zuul 07b9d0687f Update git submodules
* Update openstacksdk from branch 'master'
  to c0e20c54898393e821f5bf6cf7a7169ee7eaac6f
  - Merge "docs: Add docs on configuration of a service user"
  - 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-16 18:33:18 +00:00
Stephen Finucane f664189d18 Update git submodules
* Update openstacksdk from branch 'master'
  to 568921ce5b50275061c5dd0ba7180842f3c157a7
  - 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-16 09:18:55 +00:00
Zuul 7e205b771e Update git submodules
* Update openstacksdk from branch 'master'
  to c2baf1db41cce65ce1aa8ac8908c4e0d98f7a94c
  - Merge "Incorrect protocol type in create_security_group_rule()"
  - 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-12 11:29:35 +00:00
Rajat Dhasmana 15016506a9 Update git submodules
* Update openstacksdk from branch 'master'
  to a0cec19e1d4a53b827408fe798312b1c26870d74
  - 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 22:43:38 +00:00
Zuul 5231d5a6c5 Update git submodules
* Update openstacksdk from branch 'master'
  to b3c5a30d8faa2b670e0d99645c88e8766c6a038f
  - Merge "Add snapshot manage unmanage support"
  - Add snapshot manage unmanage support
    
    Add support for volume snapshot manage and volume snapshot unmanage
    operations.
    
    Change-Id: I25710af7b7a85a07e133aa3df94d2d751e253e84
2024-02-06 19:02:03 +00:00
OpenStack Release Bot 0b2537e0b5 Update git submodules
* Update openstacksdk from branch 'master'
  to 6077e6c2ba3a461b79c3d90b16f8d3b39b8ee8c5
  - reno: Update master for unmaintained/yoga
    
    Update the yoga release notes configuration to build from
    unmaintained/yoga.
    
    Change-Id: Ifa66170e346564db6782ce6109c35044c919f861
2024-02-05 20:22:38 +00:00
Zuul 4462fd19e3 Update git submodules
* Update openstacksdk from branch 'master'
  to 5fef752adbf437138f8bf0ec3467ff3eb2357ec2
  - Merge "Support the API for managing external gateways"
  - Support the API for managing external gateways
    
    Relevant Neutron core change:
    https://review.opendev.org/c/openstack/neutron/+/873593
    
    Co-Authored-by: Frode Nordahl <frode.nordahl@canonical.com>
    Partial-Bug: #2002687
    Change-Id: Idedce3c0ae6f4239ff3c1df35dc1b9af0add0a58
2024-01-30 09:31:40 +00:00
Zuul a42b4737a3 Update git submodules
* Update openstacksdk from branch 'master'
  to d0165fc7422e1d26793cfdabc3d74d94b8f14786
  - Merge "Return the results of init attachment request"
  - Return the results of init attachment request
    
    Methods ``openstack.block_storage.v3.volume.Volume.init_attachment`` and
    ``block_storage.init_volume_attachment`` now return the results of the
    POST request instead of None. This replicates the behaviour of
    cinderclient; the returned data is used by nova and ironic for managing
    volume attachments.
    
    Change-Id: I55ad94c872e807668b85125b32f142c3a8cf40bf
2024-01-30 09:31:38 +00:00
Zuul d1e3db3902 Update git submodules
* Update openstacksdk from branch 'master'
  to 460e87a91f94e419b93bd733b38586f7b62531b2
  - Merge "[baremetal] port add shard, is_smartnic, name"
  - [baremetal] port add shard, is_smartnic, name
    
    Change-Id: Iead7d129479a850c60f08b366f0f9e4f02a53b83
2024-01-30 09:31:36 +00:00
Zuul 0694ee59b8 Update git submodules
* Update openstacksdk from branch 'master'
  to dd345b82dcf717076758e40d158a144ee59304f2
  - Merge "Remove importlib-metadata from requirements"
  - Remove importlib-metadata from requirements
    
    We don't need it anymore as we don't support python < 3.8
    Also it was removed from global requirements so it breaks the
    requirements check.
    
    Change-Id: I9a053e4a2fd11b3cfcf2d9de6ba6441c7d5b0dc2
2024-01-30 09:19:12 +00:00
Zuul fbeca10abb Update git submodules
* Update openstacksdk from branch 'master'
  to ce0a7a285c4954dbdeded96a9a8608922649724e
  - Merge "Fix: Update/Delete type encryption operation"
  - Fix: Update/Delete type encryption operation
    
    When requesting to update/delete the volume type encryption,
    we do a GET encryption type call and fail with KeyError: 'volume_type_id'.
    This is because the request URL for GET encryption type is created as
    
    '/types/%(volume_type_id)s/encryption'
    
    and we are passing 'volume_type' instead of 'volume_type_id'.
    This patch fixes the issue by passing 'volume_type_id'.
    
    Story: #2010896
    Task: #48686
    Change-Id: Ic3d528e0e7b8e07a72f83cbe84442dc17ae32c27
2024-01-30 09:19:10 +00:00
Zuul c87df0a80c Update git submodules
* Update openstacksdk from branch 'master'
  to 67a885124d97a6582c9f215533489beb0cecf5cf
  - Merge "Add volume manage support"
  - Add volume manage support
    
    Add support for volume manage operation.
    
    Change-Id: Ic31e92a501721b5ecbf56d44188d9dad95cd1ac3
2024-01-30 09:09:25 +00:00
Zuul d727809880 Update git submodules
* Update openstacksdk from branch 'master'
  to 0be708081aed279df4e861ad3ac0779318e6e09b
  - Merge "mypy: Add typing to openstack._log"
  - mypy: Add typing to openstack._log
    
    A nice easy one to start.
    
    Change-Id: I9a08341002cbf90ba9dccaacaa5f2d3e7d7560a2
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-30 09:09:23 +00:00
Zuul b58b7ecc02 Update git submodules
* Update openstacksdk from branch 'master'
  to 3084adb3f8c2888a6cbe60fcd8577885ec34329a
  - Merge "mypy: Address issues with remaining service modules"
  - mypy: Address issues with remaining service modules
    
    The changes here are all small enough to be bundled into one.
    
    Change-Id: Ia585244e314a9bd18a7cd2388a2936517e25dbf2
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-30 09:09:21 +00:00
Zuul e4f61394a2 Update git submodules
* Update openstacksdk from branch 'master'
  to d7cd812ad6eaa3a9bb45fb6ff605abb2dcdedfb9
  - Merge "Add support for provider_id for volume objects"
  - Add support for provider_id for volume objects
    
    provider_id - MV 3.21
    
    Change-Id: I99be623a2a669d527a9fcb8e26655c5efe8b6d57
2024-01-30 09:09:19 +00:00
Zuul 5adb9abbc7 Update git submodules
* Update openstacksdk from branch 'master'
  to bfa9f46f56ea8f73dcef493763dd6ad6e57bdad7
  - Merge "pre-commit: Bump linter versions"
  - pre-commit: Bump linter versions
    
    Fix the issues this uncovers. We also migrate to the native hacking
    pre-commit hook.
    
    Change-Id: I44385c25fcb010f3e62b4098fd34ae3290292630
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-30 09:09:18 +00:00
Zuul 2b235716b5 Update git submodules
* Update openstacksdk from branch 'master'
  to f9ce151f903f5cba2ce13f9531640fec3b0e5bfd
  - Merge "mypy: Address issues with openstack.orchestration"
  - mypy: Address issues with openstack.orchestration
    
    Change-Id: I181b1ddee04b2514283b4d742e74b9bd54790414
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-18 16:41:01 +00:00
Zuul cdaa5a396a Update git submodules
* Update openstacksdk from branch 'master'
  to d276d30188da09dbf24ccfe08f1131978239543e
  - Merge "mypy: Address issues with openstack.clustering"
  - mypy: Address issues with openstack.clustering
    
    This one is cool. We use overload to allow the value of 'Resource.find'
    and 'Proxy._find' to vary depending on whether 'ignore_missing' is True
    or False.
    
    Change-Id: I386e10774dfb6ec9db80cbda9757446a2b5e4e57
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-18 16:40:56 +00:00
Zuul 0c1727ebab Update git submodules
* Update openstacksdk from branch 'master'
  to c4af95fb467ff2ace4c778b1edf7ac365b6726f4
  - Merge "mypy: Address issues with openstack.baremetal, baremetal_introspection"
  - mypy: Address issues with openstack.baremetal, baremetal_introspection
    
    Yet another bug here: we weren't passing 'session' arguments.
    
    Change-Id: Id9c5bafe8bc71024ff6d453870553dd45b6576d1
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-18 12:47:36 +00:00
Zuul dfd5367b82 Update git submodules
* Update openstacksdk from branch 'master'
  to bc9e69364fd24c304414732a54b748652a48f65c
  - Merge "mypy: Address issues with openstack.object_store"
  - mypy: Address issues with openstack.object_store
    
    Another small bug to be corrected here: SDKException does not have a
    'response' attribute.
    
    Change-Id: I084336ba41147f824b92dc07235e5f19b7ac4a9c
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-18 12:47:34 +00:00
Zuul ceb9e3bdc8 Update git submodules
* Update openstacksdk from branch 'master'
  to 9137a8c41760d1dc62950219f6138fd183c0dc96
  - Merge "[baremetal] Add some missing fields to node object"
  - [baremetal] Add some missing fields to node object
    
    Adds the lessee, and description fields to the
    node object, and adds basic testing to the conductor_group object
    to just ensure it is populated when available.
    
    Also, adds a test entry for is_automated_clean_enabled, as the value's
    population was previously not set.
    
    Change-Id: Ia1d9232400b679b82f1dfbeef55db3f9a4116862
2024-01-17 10:48:55 +00:00
Zuul e69edd0f99 Update git submodules
* Update openstacksdk from branch 'master'
  to c562274d11143ee2d6e3cf8307c0d30d91ab676a
  - Merge "mypy: Address issues with openstack.network"
  - mypy: Address issues with openstack.network
    
    Just an incorrect type annotation to correct here. We need to figure out
    a way to properly type the 'Resource' class with all its magic.
    
    Change-Id: Id238b870de85a4663032710d1c15f6e200d2d543
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-10 13:07:44 +00:00
Zuul 4b6bf73c4b Update git submodules
* Update openstacksdk from branch 'master'
  to f678714a802f303fd955432df760b2849350db97
  - Merge "identity: Add test for 'role_assignments_filter' proxy method"
  - identity: Add test for 'role_assignments_filter' proxy method
    
    To prevent regressions. We also switch to retrieving only the ID of
    provided resources, which should be faster.
    
    Change-Id: Id61340ae026a41c77ce9d9ca031f488f1bf82c61
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-10 12:54:57 +00:00
Zuul 6c7391c812 Update git submodules
* Update openstacksdk from branch 'master'
  to dc80f33ada5f7f9a0117b7ef63862259e21ac7ef
  - Merge "Remove unnecessary `keys` calls"
  - Remove unnecessary `keys` calls
    
    Python >= 3.5 alternative: unpack into a list literal
    Unpacking with * works with any object that is iterable and, since dictionaries return their keys when iterated through, you can easily create a list by using it within a list literal.
    
    Adding .keys() i.e [*newdict.keys()] might help in making your intent a bit more explicit though it will cost you a function look-up and invocation. (which, in all honesty, isn't something you should really be worried about).
     Refer [PEP 448](https://peps.python.org/pep-0448/)
    
    Change-Id: Iecaf73c9fd89257e32478c622407b0a3883b9e0d
2024-01-10 10:58:51 +00:00
Stephen Finucane 4b1c40f7f3 Update git submodules
* Update openstacksdk from branch 'master'
  to 6c8f2307ae33ee3be5b96193e33205bdd57bc226
  - mypy: Address issues with openstack.identity
    
    Another bug highlighted. A test will come later so as not to confuse
    this patch.
    
    Change-Id: I38f1a3911781470b77644cd42512408f8c03dc4d
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-10 01:22:48 +00:00
Stephen Finucane af72a0a8a0 Update git submodules
* Update openstacksdk from branch 'master'
  to 4cf4eea21b34ca51d85bb580aa7c02fb4b1dc744
  - mypy: Address issues with openstack.block_storage
    
    Our first significant bug! We were registering the 'group_type' module
    rather than the 'GroupType' resource in our block storage v3 proxy's
    resource registry. This is corrected. The rest of the changes are simply
    to work around mypy (obviously) not being able to detect the key and
    value types for empty dicts. Cinder doesn't care about the values of the
    dict for most WSGI actions so this doesn't matter.
    
    Change-Id: I4d9a4d4fcf08e8aa13b47314b24b2bb7226be3eb
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-10 01:04:06 +00:00
Stephen Finucane 654e5a6c5b Update git submodules
* Update openstacksdk from branch 'master'
  to bbe8518c8c00ef28b3cdc80d3a2c6276dd55ac36
  - mypy: Address issues with openstack.image
    
    Change-Id: I361ab5c4ecb5b22bf794025d0a0039068783d788
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-09 18:40:22 +00:00