From 741c545896e2cdd7467bbe7a5b8a00ce0600075d Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 31 Oct 2022 10:40:17 -0700 Subject: [PATCH] Unpin openstacksdk This unpins openstacksdk and has nodepool use the latest version. We do this becaues 0.61.0 and older are not compatible with python 3.11. 0.99.0 and newer should be, but they may introduce compatibility issues due to major rewrites in the SDK. We know 0.99.0 through 0.102.0 do not work due improper handling of nova api microversions when setting network information during server creation. 0.103 fixes this and I've tested the fix with the proposed openstack driver rewrite to use statemachine with openstacksdk 0.103.0 and it appears to function against rax and iweb. While it is possible there are other issues say in image uplodaing the impact htere is lower and we can always revert if necessary. Change-Id: Iace27698a91aa2e4b5f169f8a2c1613e5dd37356 --- requirements.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 3d9cb6313..4e60be3b4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,8 +9,10 @@ PrettyTable>=0.6,<0.8 # openstacksdk before 0.27.0 is TaskManager based # 0.28.0-0.31.0 fail to upload images with glance tasks. # 0.31.1 and 0.31.2 have a bug with image deletion in tasks API -# 0.99.0 leads to BadRequestException: Client Error [...] Bad networks format -openstacksdk>=0.27.0,!=0.28.0,!=0.29.0,!=0.30.0,!=0.31.0,!=0.31.1,!=0.31.2,<0.99 +# 0.99.0 - 0.102 lead to BadRequestException: Client Error [...] Bad networks format +# This was due to not properly handling nova api microversions properly. 0.103 +# fixes this. +openstacksdk>=0.27.0,!=0.28.0,!=0.29.0,!=0.30.0,!=0.31.0,!=0.31.1,!=0.31.2,!=0.99,!=0.100,!=0.101,!=0.102 diskimage-builder>=3.23.1 voluptuous kazoo>=2.8.0