Deploy fails if environment name is incorrect

Bug #1310522 reported by Ekaterina Chernova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Medium
Ekaterina Chernova

Bug Description

Need to add validation to the environment name field

1) create environment test/
2) add eny application to this env
3) send to deploy

An error occurred:
HTTPBadRequest: ERROR: Invalid stack name kate2\ must contain only alphanumeric or "_-." characters, must start with alpha

Since now environments name is going to be used as a heat stack name, witch is required to has only alphanumeric or "_-." characters

Tags: verified
Changed in murano:
status: New → Confirmed
Timur Sufiev (tsufiev-x)
Changed in murano:
milestone: none → 0.5
Changed in murano:
importance: Undecided → Medium
assignee: nobody → Ekaterina Fedorova (efedorova)
Changed in murano:
status: Confirmed → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to murano-dashboard (master)

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

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/90780
Committed: https://git.openstack.org/cgit/stackforge/murano-dashboard/commit/?id=96f0156cb62b01663abe495a3d7a073864cb8831
Submitter: Jenkins
Branch: master

commit 96f0156cb62b01663abe495a3d7a073864cb8831
Author: Ekaterina Fedorova <email address hidden>
Date: Mon Apr 28 19:32:56 2014 +0400

    Restrict environment name

    New murano engine makes environment name - heat stack name, so need to prevent failed deployments by restrict environnt name.

    Change-Id: I7b9ec00c384e22996cd0c993723f0146c43aabc9
    Closes-Bug: #1310522

Changed in murano:
status: In Progress → Fix Committed
tags: added: verified
ruhe (ruhe)
Changed in murano:
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.