Fix: Remove stale opensdk version pinning 68/72668/12
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Thu, 22 Feb 2024 12:31:33 +0000 (12:31 +0000)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Wed, 28 Feb 2024 18:15:59 +0000 (18:15 +0000)
Issue: RELENG-5176
Change-Id: Id6dd1fdac68e3105f938a225c67ca0bed6813f89
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
.gitignore
releasenotes/notes/lftools-update-3a7aa65b76b0cfc0.yaml [new file with mode: 0644]
shell/openstack-cleanup-old-images.sh
shell/python-tools-install.sh

index 9e1c6fd..aba32e3 100644 (file)
@@ -1,3 +1,6 @@
+# Ignore nodejs dir created by linting tools
+node_modules/
+
 # Ignore Vim temporary files
 .*.sw?
 
diff --git a/releasenotes/notes/lftools-update-3a7aa65b76b0cfc0.yaml b/releasenotes/notes/lftools-update-3a7aa65b76b0cfc0.yaml
new file mode 100644 (file)
index 0000000..03395c8
--- /dev/null
@@ -0,0 +1,6 @@
+---
+fixes:
+  - |
+    Remove Openstack SDK version pinning from shell scripts.
+    This will now be handled by the other modules as a declared
+    dependency. The previous version pin was extremely old.
index 79eee27..2ca3917 100644 (file)
@@ -14,12 +14,9 @@ echo "---> Cleanup old images"
 # shellcheck disable=SC1090
 source ~/lf-env.sh
 
-# TODO: "openstacksdk<0.99" AttributeError: 'Image' object has no
-# attribute 'protected'
 lf-activate-venv --python python3 "lftools[openstack]" \
     kubernetes \
     niet \
-    "openstacksdk<0.99" \
     python-heatclient \
     python-openstackclient \
     python-magnumclient \
index 2ca350d..a2c6da3 100644 (file)
@@ -43,7 +43,6 @@ if [[ ! -f /tmp/pre-build-complete ]]; then
 
     echo "Generating Requirements File"
     cat << 'EOF' > "$requirements_file"
-openstacksdk<0.99
 python-heatclient
 python-openstackclient
 python-magnumclient