Attribute "direction" is "Optional" in POST "metering-label-rules", but it is actually "Required".
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
Medium
|
Duncan.C |
Bug Description
Networking API v2.0 extensions, Create metering label rule:
http://
Issue:
Attribute "direction" is "Optional" in POST "metering-
but it is actually "Required".
[Reproduction]
<Environment>
stack@ubuntu:
commit c90656a4a3ca148
Merge: e8292ae 92ad152
Author: Jenkins <email address hidden>
Date: Fri Jul 24 05:49:36 2015 +0000
Merge "Explicitly set bind_ip in Swift server config files"
stack@ubuntu:
<Case of failure>
stack@ubuntu:
HTTP/1.1 400 Bad Request
Content-Length: 145
Content-Type: application/json; charset=UTF-8
X-Openstack-
Date: Tue, 28 Jul 2015 11:51:38 GMT
{"NeutronError": {"message": "Invalid input for direction. Reason: '' is not in ['ingress', 'egress'].", "type": "HTTPBadRequest", "detail": ""}}
stack@ubuntu:
<Case of success>
stack@ubuntu:
ering/metering-
354f","
HTTP/1.1 201 Created
Content-Type: application/json; charset=UTF-8
Content-Length: 214
X-Openstack-
Date: Tue, 28 Jul 2015 12:14:18 GMT
{"metering_
Changed in openstack-api-site: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in openstack-api-site: | |
assignee: | nobody → Duncan.C (duncan-c) |
Changed in openstack-api-site: | |
status: | Confirmed → In Progress |
Changed in openstack-api-site: | |
milestone: | none → liberty |
Fix proposed to branch: master /review. openstack. org/211017
Review: https:/