EC2 APIs Create Keypairs/Security Groups etc above database column limits gives weird results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Dave Walker |
Bug Description
Security Group Name/Description
If I try to create a security group with more than 255 characters then it creates the security group with improper name.
Actual Result: It create a security group with name "99999999999999
Expected Result: It should give some error message.
Key Pair
If I try to create a key pair with more than 255 characters then it creates a key pair with improper name.
Actual Result: It create a key pair with name "99999999999999
Expected Result: It should give some error message.
I believe all entities created in nova are not validated against maximum length, valid characters and so on.
Related branches
- Brian Lamar (community): Approve
- Vish Ishaya (community): Approve
- Mandell (community): Approve (community)
-
Diff: 110 lines (+56/-2)4 files modifiednova/api/ec2/__init__.py (+4/-0)
nova/api/ec2/cloud.py (+19/-2)
nova/exception.py (+6/-0)
nova/tests/test_api.py (+27/-0)
Changed in nova: | |
importance: | Undecided → Low |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Dave Walker (davewalker) |
summary: |
EC2 APIs Create Keypairs/Security Groups etc above database column - limits gives wierd results + limits gives weird results |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-4 |
Changed in nova: | |
milestone: | diablo-4 → 2011.3 |
status: | Fix Committed → Fix Released |