From eda2e301c3f8fe2b2e2a50171855fb233eb0d614 Mon Sep 17 00:00:00 2001 From: Jakob Meng Date: Tue, 19 Jul 2022 09:53:39 +0000 Subject: [PATCH] Raise minimum OpenStack SDK version to 0.99.0 again This reapplies commit 4bfa135b20caeb6d6c2717049059ac52fd08e0e1 [1] which got reverted in commit 1b59c19a24c55aa236d80552dcbf70c9c7b5088e [2] due to issues in how TripleO Quickstart installed the Ansible OpenStack collection. TripleO Quickstart has now been fixed and will install code from our stable/1.0.0 branch instead of master for all RDO branches which have openstacksdk <0.99.0 [3][4]. [1] https://opendev.org/openstack/ansible-collections-openstack/commit/4bfa135b20caeb6d6c2717049059ac52fd08e0e1 [2] https://opendev.org/openstack/ansible-collections-openstack/commit/1b59c19a24c55aa236d80552dcbf70c9c7b5088e [3] https://review.opendev.org/c/openstack/tripleo-ci/+/849500 [4] https://review.opendev.org/c/openstack/tripleo-quickstart/+/849620/ Change-Id: I918d776c1560f03a4a84df371feb013d47043aa0 --- README.md | 2 +- plugins/doc_fragments/openstack.py | 2 +- plugins/module_utils/openstack.py | 2 +- requirements.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 62c10455..1c8cd1b0 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ For using the Openstack Cloud collection firstly you need to install `ansible` a For example with pip: ```bash -pip install "ansible>=2.9" "openstacksdk>=0.36" +pip install "ansible>=2.9" "openstacksdk>=0.99.0" ``` OpenStackSDK has to be available to Ansible and to the Python interpreter on the host, where Ansible executes the module (target host). diff --git a/plugins/doc_fragments/openstack.py b/plugins/doc_fragments/openstack.py index 57d68302..0333a366 100644 --- a/plugins/doc_fragments/openstack.py +++ b/plugins/doc_fragments/openstack.py @@ -91,7 +91,7 @@ options: type: str requirements: - python >= 3.6 - - openstacksdk >= 0.36.0 + - openstacksdk >= 0.99.0 notes: - The standard OpenStack environment variables, such as C(OS_USERNAME) may be used instead of providing explicit values. diff --git a/plugins/module_utils/openstack.py b/plugins/module_utils/openstack.py index 80c89b1f..94f2444a 100644 --- a/plugins/module_utils/openstack.py +++ b/plugins/module_utils/openstack.py @@ -67,7 +67,7 @@ OVERRIDES = {'os_client_config': 'config', CUSTOM_VAR_PARAMS = ['min_ver', 'max_ver'] -MINIMUM_SDK_VERSION = '0.36.0' +MINIMUM_SDK_VERSION = '0.99.0' MAXIMUM_SDK_VERSION = None diff --git a/requirements.txt b/requirements.txt index a1c77fe1..3037d8e3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -openstacksdk>=0.36 +openstacksdk>=0.99.0