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

Bug #1466449 reported by Anastasia Kuznetsova on 2015-06-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
MOS Murano
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

Changed in mos:
status: New → Opinion
Kirill Zaitsev (kzaitsev) wrote :
Changed in mos:
importance: High → Medium
status: Opinion → Confirmed
Changed in mos:
milestone: none → 7.0
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
Ekaterina Chernova (efedorova) wrote :

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

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

Ruslan Kamaldinov (ruhe) on 2015-12-17
no longer affects: mos/8.0.x
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers