Pin osc-lib to 2.2.0 to allow sharing images 03/64703/3
authorAnil Belur <abelur@linuxfoundation.org>
Mon, 27 Jul 2020 01:37:17 +0000 (11:37 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Mon, 27 Jul 2020 01:58:29 +0000 (11:58 +1000)
Using lftools openstack image share returns an error
"You are not authorized to find project with the name".
The issue is with osc_lib bug [1] resolved in osc_lib==2.2.0

[1] https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1864203
[2] https://opendev.org/openstack/osc-lib/commit/1ff3720daefd98a77557e5692fd7052b5930ae6c

Issue: RELENG-3099
Change-Id: I5e70443007d1ed6074802e502edb149008fcdced
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
releasenotes/notes/pin-osc-lib-32fd03b3f1d53ccb.yaml [new file with mode: 0644]
setup.cfg

diff --git a/releasenotes/notes/pin-osc-lib-32fd03b3f1d53ccb.yaml b/releasenotes/notes/pin-osc-lib-32fd03b3f1d53ccb.yaml
new file mode 100644 (file)
index 0000000..32c67ed
--- /dev/null
@@ -0,0 +1,14 @@
+---
+upgrade:
+  - |
+    Pin osc-lib to 2.2.0 to allow sharing images between projects.
+
+    Using lftools openstack image share returns an error
+    Error: "You are not authorized to find project with the name".
+
+    The issue is seen because of bug in osc_lib [1], and fixed in version
+    osc_lib==2.2.0
+
+    [1] https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1864203
+    [2] https://opendev.org/openstack/osc-lib/commit/1ff3720daefd98a77557e5692fd7052b5930ae6c
+    [3] https://jira.linuxfoundation.org/browse/RELENG-3099
index a18574c..1c384a0 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,6 +29,7 @@ universal = 1
 ldap =
     python-ldap~=3.1.0
 openstack =
+    osc-lib~=2.2.0
     shade~=1.27.1
 
 [files]