Validation on flavor name

Asked by Lin Hua Cheng

Is there any reason why some special character are blocked in the flavor name?

For example: bug(), flavor*

If I try to create a flavor with one of those name it returns 400 error with "names can only contain [a-zA-Z0-9_.- ]"

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Lin Hua Cheng (lin-hua-cheng) said :
#2

Still need an answer for clarification on the field validation on horizon

Revision history for this message
Tiantian Gao (gtt116) said :
#3

As a name, like username or some thing, we doesn't want to see some special character in it.

BTW, The restriction was added for the bug: https://bugs.launchpad.net/nova/+bug/977187. Hoping that help you.

Can you help with this problem?

Provide an answer of your own, or ask Lin Hua Cheng for more information if necessary.

To post a message you must log in.