Add file to the reno documentation build to show release notes for
stable/2023.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2023.1.
Sem-Ver: feature
Change-Id: If0ead68bf815af40bfe690c7d1a3517efc8fd56e
We made a technical problem releasing lot of breaking changes in 0.99,
but that was necessary due to inability to build RC. In order to log
things properly create an explanational releasenote describing issues
and repeating major stuff.
Change-Id: I34d68d2d22d0a5a221d976713ec7a0db4745b299
Add support for the following options:
- remote_region
- remote_image_id
- remote_service_interface
In addition, we now return the response to the user.
Change-Id: I7ebb75896002ea8e0eca6617eb407e94050bce65
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This partially reverts commit f9a3cc2f135e5c28fa1e046bb1ca034be36be9aa.
Reason for revert: The change to the baremetal functions is not working,
this part of the original change is reverted here.
Change-Id: Icc70bbdc06b5f32722a93775aee2da4d7b7ca4ae
This wasn't happening which meant we were using the default 2.1 API
version. Oops.
Change-Id: I26f29a47608b66fbafada0b99d71ea13adf4b52e
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Allow retrieving "detailed" results where the API supports this.
Change-Id: I13f32e6ca9be9ed4eb42398aace47e3c5205a81f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
A number of compute and block storage APIs support this parameter. Plumb
them through. This turns out to be a bigger change than expected as it
highlights a number of gaps in our documentation.
Change-Id: Id4049193ab2e6c173208692ed46fc5f9491da3dc
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
These were present in v3 but not v2. Increasingly few people should be
using v2 but it's nice to be complete.
Change-Id: Ic2635b3c3eae5a735d79121fd17cb1fbdd07f9f0
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This is the only proxy API we support in SDK. We should stop doing that.
For now, just deprecate it.
Some examples are updated to use the image API.
Change-Id: Id4905782e64998c7293625f22298bbce0baed82a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Add Node.get_node_boot_device and Node. get_node_supported_boot_devices.
These were both missing previously.
Change-Id: Ie13ea2e50691298888fac37b6261d0a1d69fb8f1
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Add Node.get_console and Node.set_console_mode methods. Noted while
attempting to migrate nova from ironicclient to openstacksdk
Change-Id: I6eb255de711b55d56056f8a29828f30e45a105c8
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Noted while attempting to migrate nova from ironicclient to
openstacksdk.
Change-Id: I3fc92219f55bb723d7675c1c0c078b9c9b8da304
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This reverts commit caa4e135e275ce6b453557d701a78701690d57b4.
Reason for revert: The spec is still under review and at the PTG we agrered not to add a target state paramater so the sdk change is not in line with the spec direction
Change-Id: I34873491d928ebd791150d1eda66f697f56e134f
Next steps of a cleanup of the cloud layer are:
- stop doing normalization of floating ips in case of neutron
- stop inheriting from _normalize in the floating_ip class (move 2
required functions locally). Soon this is going to be reworked in
favor of making better object support for those still using nova
networking
Change-Id: If67c2f8b78240c03f86daefcf0f472502821365a
We have a lot of search_XXX calls in the cloud layer, but not for everything.
They are also doing nearly same to what it is possible to do with plain proxy
methods and therfore we want to simplify and unify this so that Ansible modules
can easily rely on a single function in different modules instead or needing a
dedicated search method for every resource doing the same.
New method accepts resource_type, resource identifier (which may be
empty), filters and also possibility to pass additional args into the
_get and _list calls (for unpredicted special cases). With this all
search_XXX functions can be finally deprecated.
Change-Id: I375c2b625698c4920211eb6e089a1b820755be84
Address todo in compute cloud layer and move get_compute_usage to rely
to the proxy layer. With this change method returns Usage object instead
of munch. This also allows us to stop importing and inheriting from
normalize class here. "attached" filter of the search_floating_ips is
dopped since it is being pretty awkward.
Change-Id: I3de1654fc35b2985e4a0658f7117bbe9db554dd3
Currently, find_server will return the objects with different
fields filled in depending on whether the term provided is an id or a
name. This patch, in the same vein of [0], changes the find_server
method so it uses the /servers/detail endpoint to find servers in the
case of a name being provided. This ensures that the method fills in all
fields in every case.
[0] https://review.opendev.org/c/openstack/openstacksdk/+/854293
Change-Id: If8306f879361f872a1a87d589c756d9ae2435449
The majority of these were totally broken and unusable because nova
doesn't allow you to retrieve a volume attachment by its ID: rather,
you need to use a combination of the server and volume IDs. As such,
each method should have been taking a combo of a Server object or ID and
a *Volume* object or ID, not a VolumeAttachment object or ID. These
fixes require rather extensive changes to the method signature, to the
point that we've actually added a release note to call this out. We've
included some hacky workarounds to avoid breaking existing users for
now, giving them time to migrate to the new, improved patterns.
In addition, the 'update_volume_attachment' proxy method never worked
since updates were forbidden on the resource (via 'allow_commit=False').
This is fixed by changing this value to True.
Change-Id: Iaab40ac4cc71f7626063700f476b53f7ffb5f39f
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* Add resource for (Glance) Metadata Definition Schema API
(https://docs.openstack.org/api-ref/image/v2/metadefs-index.html?expanded=#metadata-definition-schemas)
* Adjust names to avoid abbreviations
* Adjust grouping
* Add tests
* Add docs and release note
* Trim underlines in docs
* Resolve merge conflict
* Seperate functional test to another file
* Rename test class name correctly
Change-Id: If2dfbca5ffbd425e4183b310af9534411318a395
I should have fixed these when adding pre-commit initially.
Change-Id: I082594b6dac985754c307dba6af61a6854d20d35
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>