CLI client does not honor --is-public when working with glare

Bug #1584838 reported by Kirill Zaitsev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Invalid
High
Valerii Kovalchuk
Mitaka
Invalid
High
Valerii Kovalchuk
Newton
Invalid
High
Valerii Kovalchuk

Bug Description

To reproduce:

import any package, while specifying

murano --murano-packages-service=glance --glare-url=glare-url package-import package --is-public

expected result: the packages imported are public.

actual result: the packages are left private.

Tags: glare
summary: - CLI client does not honors --is-public when working with glare
+ CLI client does not honor --is-public when working with glare
Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

Looks like it is not the problem in muranoclient code. The difference is made here https://github.com/openstack/python-muranoclient/blob/master/muranoclient/glance/artifacts.py#L91.
The input of this call to glanceclient is correct, and the result already contains visibility = private

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-muranoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/320844

Changed in python-muranoclient:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-muranoclient (master)

Change abandoned by Valerii Kovalchuk (<email address hidden>) on branch: master
Review: https://review.openstack.org/320844
Reason: @Alexander, that's great, I completely agree

Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

The bug should be fixed in glare by this change: https://review.openstack.org/#/c/320912/, so workaround in murano proposed by me isn't needed

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.