Description of problem:
When running the command
# openstack router unset --external-gateway router1
I get the following error:
HttpException: Unknown error
Version
=======
python-networking-odl-12.0.0-0.20180220171331.8733cf6.el7ost.noarch
Version-Release number of selected component (if applicable):
python-networking-odl-12.0.0-0.20180220171331.8733cf6.el7ost.noarch
How reproducible:
Steps to Reproduce:
1. Create a router
2. Set the router's gateway
3. Run the command
$ openstack router unset --external-gateway <router-name/id>
Actual results:
Expected results:
Additional info:
Neutron Server log
==================
2018-03-20 07:31:24.277 25 DEBUG neutron.api.v2.base [req-127f7c44-3f10-4d6e-b070-c478354f2bdd 58f3ccc3684246e28c5a035ed548b014 c45afc7840c0411db2652b6be39f8de0 - default default] Request body: {u'router': {u'external_gateway_info': {}}} prepare_request_body /usr/lib/python2.7/site-packages/neutron/api/v2/base.py:690
2018-03-20 07:31:24.732 25 INFO neutron.api.v2.resource [req-127f7c44-3f10-4d6e-b070-c478354f2bdd 58f3ccc3684246e28c5a035ed548b014 c45afc7840c0411db2652b6be39f8de0 - default default] update failed (client error): There was a conflict when trying to complete your request.
2018-03-20 07:31:24.734 25 INFO neutron.wsgi [req-127f7c44-3f10-4d6e-b070-c478354f2bdd 58f3ccc3684246e28c5a035ed548b014 c45afc7840c0411db2652b6be39f8de0 - default default] 172.17.1.22 "PUT /v2.0/routers/2f31ebd8-f9e6-433e-b968-f312350d6a80 HTTP/1.1" status: 409 len: 466 time: 0.4694970
Client commands specific to a DFG component also belong to that DFG. FWIW it looks like error messages in networking commands improved a lot recently (cf. bug 1459332), it may be worthwhile trying again with a newer version of python-openstackclient if that's applicable.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2019:3747
Description of problem: When running the command # openstack router unset --external-gateway router1 I get the following error: HttpException: Unknown error Version ======= python-networking-odl-12.0.0-0.20180220171331.8733cf6.el7ost.noarch Version-Release number of selected component (if applicable): python-networking-odl-12.0.0-0.20180220171331.8733cf6.el7ost.noarch How reproducible: Steps to Reproduce: 1. Create a router 2. Set the router's gateway 3. Run the command $ openstack router unset --external-gateway <router-name/id> Actual results: Expected results: Additional info: Neutron Server log ================== 2018-03-20 07:31:24.277 25 DEBUG neutron.api.v2.base [req-127f7c44-3f10-4d6e-b070-c478354f2bdd 58f3ccc3684246e28c5a035ed548b014 c45afc7840c0411db2652b6be39f8de0 - default default] Request body: {u'router': {u'external_gateway_info': {}}} prepare_request_body /usr/lib/python2.7/site-packages/neutron/api/v2/base.py:690 2018-03-20 07:31:24.732 25 INFO neutron.api.v2.resource [req-127f7c44-3f10-4d6e-b070-c478354f2bdd 58f3ccc3684246e28c5a035ed548b014 c45afc7840c0411db2652b6be39f8de0 - default default] update failed (client error): There was a conflict when trying to complete your request. 2018-03-20 07:31:24.734 25 INFO neutron.wsgi [req-127f7c44-3f10-4d6e-b070-c478354f2bdd 58f3ccc3684246e28c5a035ed548b014 c45afc7840c0411db2652b6be39f8de0 - default default] 172.17.1.22 "PUT /v2.0/routers/2f31ebd8-f9e6-433e-b968-f312350d6a80 HTTP/1.1" status: 409 len: 466 time: 0.4694970