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:
parent
f758dfa626
commit
19d1d41ee0
@ -29,7 +29,7 @@ For using this collection, first you have to install both Python packages `ansib
|
|||||||
controller:
|
controller:
|
||||||
|
|
||||||
```sh
|
```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
|
[OpenStack SDK][openstacksdk] has to be available on the Ansible host running the OpenStack modules. Depending on the
|
||||||
|
@ -97,7 +97,7 @@ options:
|
|||||||
choices: [INFO, DEBUG]
|
choices: [INFO, DEBUG]
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 3.6"
|
- "python >= 3.6"
|
||||||
- "openstacksdk >= 0.103.0"
|
- "openstacksdk >= 1.0.0"
|
||||||
notes:
|
notes:
|
||||||
- The standard OpenStack environment variables, such as C(OS_USERNAME)
|
- The standard OpenStack environment variables, such as C(OS_USERNAME)
|
||||||
may be used instead of providing explicit values.
|
may be used instead of providing explicit values.
|
||||||
|
@ -119,7 +119,7 @@ options:
|
|||||||
default: false
|
default: false
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 3.6"
|
- "python >= 3.6"
|
||||||
- "openstacksdk >= 0.103.0"
|
- "openstacksdk >= 1.0.0"
|
||||||
extends_documentation_fragment:
|
extends_documentation_fragment:
|
||||||
- inventory_cache
|
- inventory_cache
|
||||||
- constructed
|
- constructed
|
||||||
|
@ -51,7 +51,7 @@ OVERRIDES = {}
|
|||||||
|
|
||||||
CUSTOM_VAR_PARAMS = ['min_ver', 'max_ver']
|
CUSTOM_VAR_PARAMS = ['min_ver', 'max_ver']
|
||||||
|
|
||||||
MINIMUM_SDK_VERSION = '0.103.0'
|
MINIMUM_SDK_VERSION = '1.0.0'
|
||||||
MAXIMUM_SDK_VERSION = None
|
MAXIMUM_SDK_VERSION = None
|
||||||
|
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ options:
|
|||||||
elements: str
|
elements: str
|
||||||
requirements:
|
requirements:
|
||||||
- "python >= 3.6"
|
- "python >= 3.6"
|
||||||
- "openstacksdk >= 0.103.0"
|
- "openstacksdk >= 1.0.0"
|
||||||
'''
|
'''
|
||||||
|
|
||||||
RETURN = r'''
|
RETURN = r'''
|
||||||
|
@ -166,7 +166,7 @@ class ServerActionModule(OpenStackModule):
|
|||||||
# merged.
|
# merged.
|
||||||
# [0] https://review.opendev.org/c/openstack/openstacksdk/+/857947
|
# [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(
|
response = self.conn.compute.post(
|
||||||
'/servers/{server_id}/action'.format(server_id=server['id']),
|
'/servers/{server_id}/action'.format(server_id=server['id']),
|
||||||
json={'shelveOffload': None})
|
json={'shelveOffload': None})
|
||||||
|
@ -1 +1 @@
|
|||||||
openstacksdk>=0.103.0
|
openstacksdk>=1.0.0
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# 0.99.0 and later are release candidates for the first major release of OpenStackSDK 1.x.x
|
# 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user