User is able to deploy Murano environment when image is not Active

Bug #1480982 reported by Sergii Turivnyi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
Kirill Zaitsev

Bug Description

ISO:
{"build_id": "2015-07-30_16-01-07", "build_number": "113", "release_versions": {"2015.1.0-7.0": {"VERSION": {"build_id": "2015-07-30_16-01-07", "build_number": "113", "api": "1.0", "fuel-library_sha": "d1291ae75680818e715608814422075049a10ce8", "nailgun_sha": "21ba6e2606a056883734392187845c172ecf99aa", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "dee9f2eb7e2822e89f6253f500f0c2e376a5b824", "production": "docker", "python-fuelclient_sha": "71bb8fa87ee25f0c1bb84317884da7c917902a63", "astute_sha": "488db988a1f2e18f99decf417371c50b2a7fb794", "fuel-ostf_sha": "92cdab6c6829be0d2d0c561fe56346dac8708d95", "release": "7.0", "fuelmain_sha": "de5b333815f8541224c6726dc8446ffc7fb18b5b"}}}, "auth_required": true, "api": "1.0", "fuel-library_sha": "d1291ae75680818e715608814422075049a10ce8", "nailgun_sha": "21ba6e2606a056883734392187845c172ecf99aa", "feature_groups": ["mirantis"], "fuel-nailgun-agent_sha": "1512b9af6b41cc95c4d891c593aeebe0faca5a63", "openstack_version": "2015.1.0-7.0", "fuel-agent_sha": "dee9f2eb7e2822e89f6253f500f0c2e376a5b824", "production": "docker", "python-fuelclient_sha": "71bb8fa87ee25f0c1bb84317884da7c917902a63", "astute_sha": "488db988a1f2e18f99decf417371c50b2a7fb794", "fuel-ostf_sha": "92cdab6c6829be0d2d0c561fe56346dac8708d95", "release": "7.0", "fuelmain_sha": "de5b333815f8541224c6726dc8446ffc7fb18b5b"}

Preconditions:
Environment with:
No images
No any uploaded packages except Core library

Steps to reproduce:
Import bundle app-servers
Create environment
Add to environment 'Apache tomcat'
Check that image status is not Active
Deploy environment

Actual result:
Deploy FAIL. User able to deploy Murano environment in case when image status is not Active

Expected result:
Deploy finished successfully.
User can't deploy environment if image status is not Active or at least should be warn about it

https://bugs.launchpad.net/murano/+bug/1480984

Tags: murano
description: updated
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Please file the bug in upstream. It has to be 1st fixed there

Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

and add a link to the upstream bug here, I believe any but in MOS should have a link to upstream bug if it is present there.

Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :

Done

description: updated
Changed in mos:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Kirill Zaitsev (kzaitsev)
milestone: none → 7.0
summary: - User able to deploy Murano envnironment in case when image status is not
- Active
+ User is able to deploy Murano environment when image is not Active
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/murano-dashboard (openstack-ci/fuel-7.0/2015.1.0)

Fix proposed to branch: openstack-ci/fuel-7.0/2015.1.0
Change author: Kirill Zaitsev <email address hidden>
Review: https://review.fuel-infra.org/10132

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/murano-dashboard (openstack-ci/fuel-7.0/2015.1.0)

Reviewed: https://review.fuel-infra.org/10132
Submitter: mos-infra-ci <>
Branch: openstack-ci/fuel-7.0/2015.1.0

Commit: c3dda4591dc918e2dcb4bd484f8c88a128e4056b
Author: Kirill Zaitsev <email address hidden>
Date: Wed Aug 5 21:29:28 2015

Do not allow selecting images, that are not active.

Before a user could pick any image, that was marked with murano
meta-data, even images that are not currently active.
This change disables (greys out) such images in the select and adds
their title with current status (i.e '(saving)')

Change-Id: I6dfa56b987fa8643750f3e2bfb54226a7c05953a
Closes-Bug: #1480982

Changed in mos:
status: Triaged → Fix Committed
Changed in mos:
status: Fix Committed → Fix Released
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.