list-secgroup fail if no secgroups defined for server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Leandro Ignacio Costantino | ||
Havana |
Fix Released
|
Undecided
|
Unassigned | ||
Icehouse |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
No issues if there are atleast 1 secgroup defined for the server.
If no secgroups are defined for the server, it fails with 400 error.
$ nova --debug list-secgroup vp25q00cs-
.
.
.
RESP: [400] CaseInsensitive
RESP BODY: {"badRequest": {"message": "The server could not comply with the request since it is either malformed or otherwise incorrect.", "code": 400}}
DEBUG (shell:740) The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) (Request-ID: req-20cb1b69-
Traceback (most recent call last):
File "/Library/
OpenStackCo
File "/Library/
args.
File "/Library/
groups = server.
File "/Library/
return self.manager.
File "/Library/
base.
File "/Library/
_resp, body = self.api.
File "/Library/
return self._cs_
File "/Library/
**kwargs)
File "/Library/
resp, body = self.request(url, method, **kwargs)
File "/Library/
raise exceptions.
BadRequest: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) (Request-ID: req-20cb1b69-
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect. (HTTP 400) (Request-ID: req-20cb1b69-
tags: | added: api |
Changed in nova: | |
assignee: | nobody → Leandro Ignacio Costantino (leandro-i-costantino) |
Changed in nova: | |
milestone: | none → juno-1 |
status: | Fix Committed → Fix Released |
tags: | added: havana-backport-potential |
Changed in nova: | |
milestone: | juno-1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/80097
Review: https:/