Bump minimum required openstacksdk release to 1.0.0

openstacksdk's first major release brings new features and bug fixes,
e.g. for Magnum clusters and cluster templates [1], [2], [3].

[1] https://review.opendev.org/c/openstack/openstacksdk/+/865267
[2] https://review.opendev.org/c/openstack/openstacksdk/+/871648
[3] https://review.opendev.org/c/openstack/openstacksdk/+/871987

Change-Id: Ic7aa998ac5fa5c05dbea188a4d3b76ea774ff797
This commit is contained in:
Jakob Meng 2023-01-28 14:44:47 +01:00
parent f758dfa626
commit 19d1d41ee0
8 changed files with 8 additions and 8 deletions

View File

@ -29,7 +29,7 @@ For using this collection, first you have to install both Python packages `ansib
controller:
```sh
pip install "ansible>=2.9" "openstacksdk>=0.103.0"
pip install "ansible>=2.9" "openstacksdk>=1.0.0"
```
[OpenStack SDK][openstacksdk] has to be available on the Ansible host running the OpenStack modules. Depending on the

View File

@ -97,7 +97,7 @@ options:
choices: [INFO, DEBUG]
requirements:
- "python >= 3.6"
- "openstacksdk >= 0.103.0"
- "openstacksdk >= 1.0.0"
notes:
- The standard OpenStack environment variables, such as C(OS_USERNAME)
may be used instead of providing explicit values.

View File

@ -119,7 +119,7 @@ options:
default: false
requirements:
- "python >= 3.6"
- "openstacksdk >= 0.103.0"
- "openstacksdk >= 1.0.0"
extends_documentation_fragment:
- inventory_cache
- constructed

View File

@ -51,7 +51,7 @@ OVERRIDES = {}
CUSTOM_VAR_PARAMS = ['min_ver', 'max_ver']
MINIMUM_SDK_VERSION = '0.103.0'
MINIMUM_SDK_VERSION = '1.0.0'
MAXIMUM_SDK_VERSION = None

View File

@ -23,7 +23,7 @@ options:
elements: str
requirements:
- "python >= 3.6"
- "openstacksdk >= 0.103.0"
- "openstacksdk >= 1.0.0"
'''
RETURN = r'''

View File

@ -166,7 +166,7 @@ class ServerActionModule(OpenStackModule):
# merged.
# [0] https://review.opendev.org/c/openstack/openstacksdk/+/857947
# shelve_offload is not supported in openstacksdk <= 0.103.0
# shelve_offload is not supported in openstacksdk <= 1.0.0
response = self.conn.compute.post(
'/servers/{server_id}/action'.format(server_id=server['id']),
json={'shelveOffload': None})

View File

@ -1 +1 @@
openstacksdk>=0.103.0
openstacksdk>=1.0.0

View File

@ -1,2 +1,2 @@
# 0.99.0 and later are release candidates for the first major release of OpenStackSDK 1.x.x
openstacksdk>=0.103.0
openstacksdk>=1.0.0