Blank is missing in error message when "segmentation_id" is not specified in l2gw and l2gwcon creation.

Bug #1566151 reported by Kengo Hobo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-l2gw
Fix Released
Undecided
Kengo Hobo

Bug Description

Blank is missing in error message when "segmentation_id" is not specified in l2gw and l2gwcon creation.

The outputted error message is following.
ubuntu@instance0318:~$ curl -i -X POST -H "X-Auth-Token: $TOKEN" http://172.16.1.21:9696/v2.0/l2-gateway-connections -d '{"l2_gateway_connection":{"l2_gateway_id":"e751061a-6253-4551-ae07-5ce6fdd7aea7", "network_id":"e2c8e74e-b0dc-4ef8-b07c-f433100516b3"}}'
HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 165
X-Openstack-Request-Id: req-1aa7ad44-9322-46fe-89c3-a61656cabae6
Date: Tue, 05 Apr 2016 05:16:11 GMT

{"NeutronError": {"message": "Invalid input for operation: Segmentation id must be specified in createl2gateway connections.", "type": "InvalidInput", "detail": ""}}

Kengo Hobo (hobo-kengo)
Changed in networking-l2gw:
assignee: nobody → Kengo Hobo (hobo-kengo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-l2gw (master)

Fix proposed to branch: master
Review: https://review.openstack.org/301448

Changed in networking-l2gw:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-l2gw (master)

Reviewed: https://review.openstack.org/301448
Committed: https://git.openstack.org/cgit/openstack/networking-l2gw/commit/?id=799942dc316fd56685e0fd960e9b1bd365b0e309
Submitter: Jenkins
Branch: master

commit 799942dc316fd56685e0fd960e9b1bd365b0e309
Author: HoboK <email address hidden>
Date: Tue Apr 5 05:39:33 2016 +0000

    Add blank to message when creating resource without "seg_id"

    Change-Id: I267dcf4b411d4b68bb47dc8cc74594ced88759cc
    Closes-Bug: #1566151

Changed in networking-l2gw:
status: In Progress → 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.