diff --git a/README.md b/README.md index 5805dc7b..21d84963 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/plugins/doc_fragments/openstack.py b/plugins/doc_fragments/openstack.py index ba4ce6e1..ff9bc646 100644 --- a/plugins/doc_fragments/openstack.py +++ b/plugins/doc_fragments/openstack.py @@ -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. diff --git a/plugins/inventory/openstack.py b/plugins/inventory/openstack.py index 2750272f..780ac29c 100644 --- a/plugins/inventory/openstack.py +++ b/plugins/inventory/openstack.py @@ -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 diff --git a/plugins/module_utils/openstack.py b/plugins/module_utils/openstack.py index 9c6af06c..2f365121 100644 --- a/plugins/module_utils/openstack.py +++ b/plugins/module_utils/openstack.py @@ -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 diff --git a/plugins/modules/config.py b/plugins/modules/config.py index f7b24fda..478555ef 100644 --- a/plugins/modules/config.py +++ b/plugins/modules/config.py @@ -23,7 +23,7 @@ options: elements: str requirements: - "python >= 3.6" - - "openstacksdk >= 0.103.0" + - "openstacksdk >= 1.0.0" ''' RETURN = r''' diff --git a/plugins/modules/server_action.py b/plugins/modules/server_action.py index a68055b9..4b1a0fc4 100644 --- a/plugins/modules/server_action.py +++ b/plugins/modules/server_action.py @@ -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}) diff --git a/requirements.txt b/requirements.txt index a864cd81..3d959de5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -openstacksdk>=0.103.0 +openstacksdk>=1.0.0 diff --git a/tests/constraints-openstacksdk-1.x.x.txt b/tests/constraints-openstacksdk-1.x.x.txt index fbb47d75..4545cdf6 100644 --- a/tests/constraints-openstacksdk-1.x.x.txt +++ b/tests/constraints-openstacksdk-1.x.x.txt @@ -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