Conflict between error message and actual situation when user creates env with invalid name

Bug #1423521 reported by Anastasia Kuznetsova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Low
Ekaterina Chernova

Bug Description

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

Step to reproduce:
1. Navigate to Murano > Application Catalog > Environments
2. Click on 'Create Environment'
3. Enter invalid environment name "!@#$%%$$" and click on "Create"
4. Take a look at error message, it says that "Environment names must contain only alphanumeric or '_-.' characters and must start with alpha "
5. Enter "aaaaa_-." name and click on "Create"

Observed result:
"aaaa_-." name is invalid, because according to https://github.com/stackforge/murano/blob/master/murano/api/v1/environments.py#L37, env name can contain only alphanumeric simbols and "-"

Tags: murano
tags: added: murano
Changed in mos:
importance: Undecided → High
assignee: nobody → MOS Murano (mos-murano)
milestone: none → 6.1
status: New → Confirmed
Changed in mos:
importance: High → Medium
importance: Medium → Low
Changed in mos:
assignee: MOS Murano (mos-murano) → Ekaterina Chernova (efedorova)
status: Confirmed → In Progress
Revision history for this message
OSCI Robot (oscirobot) wrote :

package murano-dashboard has been built for project openstack/murano-dashboard
Package version == 2014.2.1, package release == fuel6.1.mira2.git.848b5fa.fc58f5b

Changeset: https://review.fuel-infra.org/3769
project: openstack/murano-dashboard
branch: openstack-ci/fuel-6.1/2014.2
author: Ekaterina Chernova
committer: Ekaterina Chernova
subject: Fix help and error messages during env creation
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /centos-fuel-6.1-stable-3769/

Revision history for this message
OSCI Robot (oscirobot) wrote :

package murano-dashboard has been built for project openstack/murano-dashboard
Package version == 2014.2.1, package release == fuel6.1~mira2+git.848b5fa.fc58f5b

Changeset: https://review.fuel-infra.org/3769
project: openstack/murano-dashboard
branch: openstack-ci/fuel-6.1/2014.2
author: Ekaterina Chernova
committer: Ekaterina Chernova
subject: Fix help and error messages during env creation
status: patchset-created

Files placed on repository:

NOTE: Changeset is not merged, created temporary package repository.
 repository URL: /ubuntu-fuel-6.1-stable-3769/

Revision history for this message
OSCI Robot (oscirobot) wrote :

package murano-dashboard has been built for project openstack/murano-dashboard
Package version == 2014.2.1, package release == fuel6.1.mira2

Changeset: https://review.fuel-infra.org/3769
project: openstack/murano-dashboard
branch: openstack-ci/fuel-6.1/2014.2
author: Ekaterina Chernova
committer: Ekaterina Chernova
subject: Fix help and error messages during env creation
status: change-merged

Files placed on repository:

Changeset merged. Package placed on primary repository
 repository URL: /centos-fuel-6.1-stable/

Revision history for this message
OSCI Robot (oscirobot) wrote :

package murano-dashboard has been built for project openstack/murano-dashboard
Package version == 2014.2.1, package release == fuel6.1~mira2

Changeset: https://review.fuel-infra.org/3769
project: openstack/murano-dashboard
branch: openstack-ci/fuel-6.1/2014.2
author: Ekaterina Chernova
committer: Ekaterina Chernova
subject: Fix help and error messages during env creation
status: change-merged

Files placed on repository:

Changeset merged. Package placed on primary repository
 repository URL: /ubuntu-fuel-6.1-stable/

Changed in mos:
status: In Progress → Fix Committed
summary: - Conflict between error message and actual situation when user create env
- with invalid name
+ Conflict between error message and actual situation when user creates
+ env with invalid name
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Verified on 6.1

{"build_id": "2015-04-13_22-54-31", "ostf_sha": "c2a76a60ec4ebbd78e508216c2e12787bf25e423", "build_number": "310", "release_versions": {"2014.2-6.1": {"VERSION": {"build_id": "2015-04-13_22-54-31", "ostf_sha": "c2a76a60ec4ebbd78e508216c2e12787bf25e423", "build_number": "310", "api": "1.0", "nailgun_sha": "d22c074dec091e5ddd8ea3003c37665058303cd5", "openstack_version": "2014.2-6.1", "production": "docker", "python-fuelclient_sha": "9208ff4a08dcb674ce2df132399a5aa3ddfac21c", "astute_sha": "d96a80b63198a578b2c159edbd76048819039eb0", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "335d3ed09ed79bd37e1f7a90442c4831c8845582", "fuellib_sha": "8b80657e9ceed8d59c2dff1c11e1481c7e69380e"}}}, "auth_required": true, "api": "1.0", "nailgun_sha": "d22c074dec091e5ddd8ea3003c37665058303cd5", "openstack_version": "2014.2-6.1", "production": "docker", "python-fuelclient_sha": "9208ff4a08dcb674ce2df132399a5aa3ddfac21c", "astute_sha": "d96a80b63198a578b2c159edbd76048819039eb0", "feature_groups": ["mirantis"], "release": "6.1", "fuelmain_sha": "335d3ed09ed79bd37e1f7a90442c4831c8845582", "fuellib_sha": "8b80657e9ceed8d59c2dff1c11e1481c7e69380e"}

Changed in mos:
status: Fix Committed → Fix Released
description: updated
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: Ekaterina Chernova <email address hidden>
Review: https://review.fuel-infra.org/8215

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/murano-dashboard (openstack-ci/fuel-7.0/2015.1.0)

Change abandoned by Kirill Zaitsev <email address hidden> on branch: openstack-ci/fuel-7.0/2015.1.0
Review: https://review.fuel-infra.org/8215

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.