EC2 APIs Create Keypairs/Security Groups etc above database column limits gives weird results

Bug #715443 reported by Tushar Patil
6
This bug affects 1 person
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 "99999999999999999999999999999999999999999999999999999999999999999"

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 "99999999999999999999999999999999999999999999999999999999999999999"
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

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Dave Walker (davewalker)
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
Thierry Carrez (ttx)
Changed in nova:
status: Confirmed → In Progress
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → diablo-4
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-4 → 2011.3
status: Fix Committed → Fix Released
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.