Flavors should not accept special characters

Bug #977187 reported by kommuri_siddanth on 2012-04-09
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Low
Josh Kearney

Bug Description

Flavor name accepts special characters like m.123*^4+5456

Expected Result:
It should throw an error message

Actual Result:
Creating the flavor

sasikiran (vaddi-kiran) on 2012-04-18
Changed in nova:
assignee: nobody → sasikiran (vaddi-kiran)
sasikiran (vaddi-kiran) wrote :

Inorder to fix this bug i made changes in nova/compute/instance_types.py.
Do we need to allow "." for flavor name?

Josh Kearney (jk0) on 2012-05-21
Changed in nova:
status: New → In Progress
assignee: sasikiran (vaddi-kiran) → Josh Kearney (jk0)

Reviewed: https://review.openstack.org/7636
Committed: http://github.com/openstack/nova/commit/e6b42d7bdf92c8dade030798436cb3e5ec652ee9
Submitter: Jenkins
Branch: master

commit e6b42d7bdf92c8dade030798436cb3e5ec652ee9
Author: Josh Kearney <email address hidden>
Date: Mon May 21 12:55:49 2012 -0500

    Only permit alpha-numerics and ._- for instance type names.

    Fixes bug 977187.

    Change-Id: I883204a508f39441c172f3c42c8be3d6598c35d8

Changed in nova:
status: In Progress → Fix Committed
Devin Carlen (devcamcar) on 2012-05-22
Changed in nova:
importance: Undecided → Low
milestone: none → folsom-1
Thierry Carrez (ttx) on 2012-05-23
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) on 2012-09-27
Changed in nova:
milestone: folsom-1 → 2012.2
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers