Make validation for security groups in nova's EC2 API less aggressive
Currently EC2 API in nova forces security group names to match '^[-a-zA-Z0-9_ ]+$' (https:/
$ euca-add-group 'f(sg)!@#$%^&*' -d 'test name'
GROUP f(sg)!@#$%^&* test name
According to Eucalyptus source, the security group name is not validated - all symbols are acceptable.
This nova behavior can break client libraries. For instance, jclouds usually creates groups like jclouds#
Native Nova API (nova.api.
I propose to allow using ASCII characters from 0x20 to 0x7E in security group names in Nova EC2 API - that includes spaces, letters, digits, and symbols like ! " # $ % & ' ( ) * + and so on.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Vish Ishaya
Related branches
Related bugs
Sprints
Whiteboard
would you mind making this as a bug? This is a small change and it is definitely bugworthy.