From 313eb1ef64b9881147e3c35394a012b8515408af Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Mon, 27 Jul 2020 11:37:17 +1000 Subject: [PATCH] Pin osc-lib to 2.2.0 to allow sharing images 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 --- releasenotes/notes/pin-osc-lib-32fd03b3f1d53ccb.yaml | 14 ++++++++++++++ setup.cfg | 1 + 2 files changed, 15 insertions(+) create mode 100644 releasenotes/notes/pin-osc-lib-32fd03b3f1d53ccb.yaml diff --git a/releasenotes/notes/pin-osc-lib-32fd03b3f1d53ccb.yaml b/releasenotes/notes/pin-osc-lib-32fd03b3f1d53ccb.yaml new file mode 100644 index 00000000..32c67ed6 --- /dev/null +++ b/releasenotes/notes/pin-osc-lib-32fd03b3f1d53ccb.yaml @@ -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 diff --git a/setup.cfg b/setup.cfg index a18574c2..1c384a04 100644 --- 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] -- 2.16.6