Flavors should not accept special characters

Bug #977187 reported by kommuri_siddanth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
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)
Changed in nova:
assignee: nobody → sasikiran (vaddi-kiran)
Revision history for this message
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)
Changed in nova:
status: New → In Progress
assignee: sasikiran (vaddi-kiran) → Josh Kearney (jk0)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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)
Changed in nova:
importance: Undecided → Low
milestone: none → folsom-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: folsom-1 → 2012.2
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.