openstack api create security group rule doesn't allow self-referential group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Vish Ishaya |
Bug Description
nova --debug secgroup-
...
send: u'POST /v2/b9b27bb8980
reply: 'HTTP/1.1 400 Bad Request\r\n'
header: Content-Length: 111
header: Content-Type: application/json; charset=UTF-8
header: X-Compute-
header: Date: Mon, 26 Mar 2012 20:13:10 GMT
DEBUG (shell:416) Invalid input received: Parent group id and group id cannot be same (HTTP 400)
Traceback (most recent call last):
File "/opt/stack/
OpenStackCo
File "/opt/stack/
args.
File "/opt/stack/
rule = cs.security_
File "/opt/stack/
'security_
File "/opt/stack/
resp, body = self.api.
File "/opt/stack/
return self._cs_
File "/opt/stack/
**kwargs)
File "/opt/stack/
raise exceptions.
BadRequest: Invalid input received: Parent group id and group id cannot be same (HTTP 400)
ERROR: Invalid input received: Parent group id and group id cannot be same (HTTP 400)
This is incorrect, self-referential groups should be allowed as they are in the ec2-api
Changed in nova: | |
status: | New → In Progress |
importance: | Undecided → Low |
tags: | added: essex-rc-potential |
Changed in nova: | |
assignee: | nobody → Vish Ishaya (vishvananda) |
milestone: | none → essex-rc2 |
tags: | removed: essex-rc-potential |
Changed in nova: | |
milestone: | essex-rc2 → 2012.1 |
Fix proposed to branch: master /review. openstack. org/5834
Review: https:/