Maintain visibility consistency for packages and images

Bug #1509208 reported by Olivier Lemasle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Invalid
Wishlist
Valerii Kovalchuk
python-muranoclient
Invalid
Wishlist
Valerii Kovalchuk

Bug Description

When a package is imported using CLI or dashboard, Murano ensures that:
- packages dependencies are also imported,
- required images from images.lst are also imported.

But there is no visibility consistency: a package can be public and have private dependencies or require private images.

During the initial import of a package, package dependencies are imported with the same visibility as the main package.
https://bugs.launchpad.net/murano/+bug/1507139 addresses the same thing for required glance images.

But if a package is imported as a private package and is then made public:
* the required glance images will not become public
* the required packages will not become public.

This causes some bad user experience for a tenant having access to a package but not to its dependencies.

Murano (or Glance ?) should maintain the consistency to make sure each package has its dependencies with at least the same level of visibility.

Revision history for this message
Ekaterina Chernova (efedorova) wrote :

Hi!

Let;s discuss it at #murano or in ML.

We really need to think, should we support it now or just check ob Glance back end and fix it there if needed

Changed in murano:
status: New → Opinion
Changed in murano:
importance: Undecided → Wishlist
status: Opinion → Confirmed
Stan Lagun (slagun)
Changed in murano:
milestone: none → mitaka-1
Changed in murano:
milestone: mitaka-1 → mitaka-2
Changed in murano:
milestone: mitaka-2 → mitaka-3
Changed in murano:
milestone: mitaka-3 → mitaka-rc1
Changed in murano:
milestone: mitaka-rc1 → newton-1
Changed in murano:
assignee: nobody → Valerii Kovalchuk (vakovalchuk)
Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

I guess the same problem occurs when the user deletes one of the dependencies and then tries to deploy the package

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

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

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

Change abandoned by Valerii Kovalchuk (<email address hidden>) on branch: master
Review: https://review.openstack.org/305677
Reason: I agree that this patch is not maintain consistency properly. The solution must be more clean and done not in dashboard

Changed in python-muranoclient:
assignee: nobody → Valerii Kovalchuk (vakovalchuk)
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/310177

Changed in python-muranoclient:
status: New → In Progress
Changed in python-muranoclient:
importance: Undecided → Wishlist
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/310177
Reason: I agree that this solution is not so effective and pretty. It was just try to satisfy the request for visibility consistency with the available means. Let's create more elegant plan.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on murano-dashboard (master)

Change abandoned by Valerii Kovalchuk (<email address hidden>) on branch: master
Review: https://review.openstack.org/310251

Changed in murano:
status: In Progress → Confirmed
Changed in python-muranoclient:
status: In Progress → Confirmed
Revision history for this message
Valerii Kovalchuk (vakovalchuk) wrote :

Now we have a blueprint to address this issue along with some other similar cases. https://blueprints.launchpad.net/murano/+spec/handle-package-requirements-consistency
Stay tuned there.

Changed in murano:
status: Confirmed → Invalid
Changed in python-muranoclient:
status: Confirmed → Invalid
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.