Aggressive validation for security group names in Nova EC2 API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Alexej Ababilov |
Bug Description
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.
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: ec2 |
Changed in nova: | |
milestone: | none → folsom-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-2 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/7584
Review: https:/