[murano] Need to upload dependency image as public if user mark imported apps as public

Bug #1466449 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Committed
Medium
MOS Murano
8.0.x
Fix Committed
Medium
MOS Murano

Bug Description

Steps to reproduce:
1) Log in web UI as an admin user of some tenant
2) Navigate to Murano > Manage > Package Definitions
3) Import some app (from app storage ) that has an image as a dependency
4) Navigate to Project > Compute> Images, wait until image will be uploaded and notice that public=No
5) Log out from this tenant and log as admin user from another tenant
6) Navigate to Murano > Manage > Package Definitions - user will see all public apps
7) Navigate to Project > Compute> Images - user won't see dependency image that is needed for uploaded earlier public app

Expected result:
Image should be public too, otherwise in some cases user has to make some 'extra' manipulations to reach successful deployment of some apps.
For example, part of murano apps (by the current moment) have hardcoded image's name and user from another tenant (who didn't upload package) has to upload image to his tenant with 'hardcoded' name, otherwise deployment of murano env with its app will fail with Validation error

Upstream bug: https://bugs.launchpad.net/murano/+bug/1466448

Tags: murano
Changed in mos:
status: New → Opinion
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :
Changed in mos:
importance: High → Medium
status: Opinion → Confirmed
Changed in mos:
milestone: none → 7.0
Revision history for this message
Ekaterina Chernova (efedorova) wrote :

this is not going to be fixed in 7.0, since bug in upstream is not closed. Moved to 8.0

Changed in mos:
status: Confirmed → Won't Fix
Revision history for this message
Ekaterina Chernova (efedorova) wrote :

we agreed to show a warning when user makes package public.
not fixed in upstream yet

Revision history for this message
Ekaterina Chernova (efedorova) wrote :
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/murano-dashboard (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/14007
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: 251ef3088d1890dc51ea1eddcdb6679892eccc3e
Author: Olivier Lemasle <email address hidden>
Date: Thu Nov 19 10:40:34 2015

Import images publicly when package is public

When importing a package using package import wizard on the dashboard,
required glance images are imported before having chosen the
visibility of the package (is-public). With this commit, when the
package is set "public" in the final step of the wizard, the glance
images are also set "public".

Closes-Bug: #1466449

Change-Id: I64e0572f4986919593b4cf40dac178fcbee9bf6f

ruhe (ruhe)
no longer affects: mos/8.0.x
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.