Router set --route option does not work

Bug #1564460 reported by Richard Theis on 2016-03-31
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Richard Theis

Bug Description

The router set --route option does not work.

$ openstack router set --route destination=,gateway= foo
HttpException: Bad Request

Neutron error details:
RESP BODY: {"NeutronError": {"message": "Invalid input for routes. Reason: Validation of dictionary's keys failed. Expected keys: set(['nexthop', 'destination']) Provided keys: set([u'destination', u'gateway']).", "type": "HTTPBadRequest", "detail": ""}}

Fixing this bug must follow devref to ensure new values are appended.

Note: Unset support for this option is tracked under the following blueprint:

Richard Theis (rtheis) on 2016-03-31
Changed in python-openstackclient:
importance: Undecided → Medium
status: New → Confirmed
Richard Theis (rtheis) on 2016-04-01
summary: - router set --route option does not work
+ Router set --route option does not work
Richard Theis (rtheis) on 2016-04-05
Changed in python-openstackclient:
assignee: nobody → Richard Theis (rtheis)

Fix proposed to branch: master

Changed in python-openstackclient:
status: Confirmed → In Progress

Submitter: Jenkins
Branch: master

commit a90c824e0407f931b5c45df53103b43aa564de12
Author: Richard Theis <email address hidden>
Date: Tue Apr 5 13:27:42 2016 -0500

    Fix router set --route option

    Fix the "--route" option on the "os router set" command. The
    option did not properly format the new routes to set which
    resulted in a "HttpException: Bad Request" error. In addition,
    the output for routes was fixed to improve readability and to
    align with the "--route" option on the "os router set" command.

    Change-Id: I9c514153ec201e2feae32be6dd281771e3298b9c
    Closes-Bug: #1564460

Changed in python-openstackclient:
status: In Progress → Fix Released

This issue was fixed in the openstack/python-openstackclient 2.5.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints