Details
-
Story
-
Status: Done
-
Normal
-
Resolution: Done
-
None
-
None
-
None
-
Empty show more show less
-
OpenDaylight (ODL)
Description
Opened a ticket with vexhost: RCS-264757
$ lftools --debug openstack image share "LF - CentOS 7.2003 (2020-04-22)" acumosci DEBUG: lftools.cli:55: DEBUG mode enabled. Marking odlci's image "LF - CentOS 7.2003 (2020-04-22)" as shared. DEBUG: lftools.openstack.image:124: exit code: 0 DEBUG: lftools.openstack.image:125: DEBUG: lftools.openstack.image:130: image_id: 659e96c1-7fb8-4c45-a02a-4bf10fcd3b0d DEBUG: lftools.openstack.image:137: exit code: 0 DEBUG: lftools.openstack.image:138: Sharing to acumosci. DEBUG: lftools.openstack.image:146: exit code: 0 DEBUG: lftools.openstack.image:147: DEBUG: lftools.openstack.image:152: token: c087c8039997467b8f1a89eabdbcae09 DEBUG: lftools.openstack.image:156: Sharing image 659e96c1-7fb8-4c45-a02a-4bf10fcd3b0d to c087c8039997467b8f1a89eabdbcae09 DEBUG: lftools.openstack.image:160: exit code: 1 DEBUG: lftools.openstack.image:161: You are not authorized to find project with the name 'c087c8039997467b8f1a89eabdbcae09'.
Issue is also reproducible with the openstack CLI as per the docs.
https://docs.releng.linuxfoundation.org/en/latest/infra/openstack.html?highlight=image%20share
https://github.com/lfit/releng-lftools/blob/master/lftools/openstack/image.py
#RCS-264757] hey @abelur (cc anyone else that can test for us)It looks like the issue is indeed an osc_lib bug[1]. That seems to be fixed in a newer python-openstackclient which uses osc_lib==2.2.0 [2][1] https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1864203
[2] https://opendev.org/openstack/osc-lib/commit/1ff3720daefd98a77557e5692fd7052b5930ae6cCould you try it with newer python-openstackclient and see how it goes?