HTTPError: 401 Client Error: Unauthorized

asked 2016-03-22 09:47:05 -0800

Elaheh gravatar image

Hello all,

We have a deployed Fuel/OPNFV environment with ODL and other stuff. We've installed tacker as VNF manager/orchestrator. After that, somewhere along the way, while creating a simple neutron network, it fails. it seems when neutron/OVS wants update the ODL, ODL replies back with 401 unauthorized. We didn't have this issue before, since we have created some neutron networks before.

Can anybody give us a hint how to solve this issue?

Thanks in advance

Some lines from neutron/server.log:

2016-03-22 16:03:21.162 5358 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/networkingodl/common/client.py", line 42, in sendjson 2016-03-22 16:03:21.162 5358 ERROR neutron.plugins.ml2.managers r.raiseforstatus() 2016-03-22 16:03:21.162 5358 ERROR neutron.plugins.ml2.managers File "/usr/lib/python2.7/dist-packages/requests/models.py", line 851, in raiseforstatus 2016-03-22 16:03:21.162 5358 ERROR neutron.plugins.ml2.managers raise HTTPError(httperrormsg, response=self) 2016-03-22 16:03:21.162 5358 ERROR neutron.plugins.ml2.managers HTTPError: 401 Client Error: Unauthorized 2016-03-22 16:03:21.162 5358 ERROR neutron.plugins.ml2.managers 2016-03-22 16:03:21.163 5358 ERROR neutron.plugins.ml2.plugin [req-84e7b05e-80f6-49c7-bdff-a5a3c225dd4b - - - - -] mechanismmanager.updateportpostcommit failed for port 2c87a2dc-b4f0-4df3-94ee-d0578f36bc68

....

2016-03-22 16:03:21.285 5358 ERROR oslomessaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 475, in commitportbinding 2016-03-22 16:03:21.285 5358 ERROR oslomessaging.rpc.dispatcher self.mechanismmanager.updateportpostcommit(curcontext) 2016-03-22 16:03:21.285 5358 ERROR oslomessaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 641, in updateportpostcommit 2016-03-22 16:03:21.285 5358 ERROR oslomessaging.rpc.dispatcher continueonfailure=True) 2016-03-22 16:03:21.285 5358 ERROR oslomessaging.rpc.dispatcher File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 415, in _callondrivers 2016-03-22 16:03:21.285 5358 ERROR oslomessaging.rpc.dispatcher method=methodname 2016-03-22 16:03:21.285 5358 ERROR oslomessaging.rpc.dispatcher MechanismDriverError: updateportpostcommit failed. 2016-03-22 16:03:21.285 5358 ERROR oslomessaging.rpc.dispatcher 2016-03-22 16:03:21.287 5358 ERROR oslomessaging.drivers.common [req-84e7b05e-80f6-49c7-bdff-a5a3c225dd4b - - - - -] Returning exception updateportpostcommit failed. to caller 2016-03-22 16:03:21.287 5358 ERROR oslomessaging.drivers.common [req-84e7b05e-80f6-49c7-bdff-a5a3c225dd4b - - - - -] ['Traceback (most recent call last):\n', ' File "/usr/lib/python2.7/dist-packages/oslomessaging/rpc/dispatcher.py", line 142, in dispatchandreply\n executorcallback))\n', ' File "/usr/lib/python2.7/dist-packages/oslomessaging/rpc/dispatcher.py", line 186,

Best regards, Narjes

edit retag flag offensive close merge delete

Comments

Hi Narjes, Did you try to login ODL Dlux web GUI (http://<odl_ip>:8181/index.html) with the required credentials? If you not able to login, you need to redeploy once again. Regards, Srikanth.

srik1782 ( 2016-03-24 05:36:51 -0800 )edit