websocket.WebSocketBadStatusException from websocket_client 33, some platforms onyl support 32

Bug #1714160 reported by Josh Hershberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-odl (Ubuntu)
New
Undecided
Josh Hershberg

Bug Description

Description of problem:

Setup: ODL HA Clustered Setup
3 Controllers running neutron servers + ODL Controller.
3 Compute nodes.

In OSP12 ODL Clustered setup, we noticed the following exception in neutron server logs.

Aug 30 07:33:01 overcloud-controller-2 neutron-server[98879]: File "/usr/lib/python2.7/site-packages/networking_odl/common/websocket_client.py", line 114, in run...et_thread│················
Aug 30 07:33:01 overcloud-controller-2 neutron-server[98879]: ws = self._connect_ws() │················
Aug 30 07:33:01 overcloud-controller-2 neutron-server[98879]: File "/usr/lib/python2.7/site-packages/networking_odl/common/websocket_client.py", line 262, in _connect_ws │················
Aug 30 07:33:01 overcloud-controller-2 neutron-server[98879]: ws = self._socket_create_connection(stream_url) │················
Aug 30 07:33:01 overcloud-controller-2 neutron-server[98879]: File "/usr/lib/python2.7/site-packages/networking_odl/common/websocket_client.py", line 242, in _so...onnection│················
Aug 30 07:33:01 overcloud-controller-2 neutron-server[98879]: except websocket.WebSocketBadStatusException: │················
Aug 30 07:33:01 overcloud-controller-2 neutron-server[98879]: AttributeError: 'module' object has no attribute 'WebSocketBadStatusException' │················
Aug 30 09:22:57 overcloud-controller-2 neutron-server[98879]: /usr/lib64/python2.7/site-packages/sqlalchemy/orm/persistence.py:964: SAWarning: DELETE statement o... warning.│················
Aug 30 09:22:57 overcloud-controller-2 neutron-server[98879]: (table.description, expected, rows_matched)

IMO, there are two ways to fix the issue. Either we bump the python-websocket-client package on RHEL7.4 or avoid using the WebSocketBadStatusException status in networking-odl.

Version-Release number of selected component (if applicable):
The following packages were used when the issue was reproduced.
python-websocket-client-0.32.0-116.el7.noarch
python-neutron-11.0.0-0.20170807223712.el7ost.noarch
python-networking-odl-11.0.0-0.20170806093629.2e78dca.el7ost.noarch

Changed in networking-odl (Ubuntu):
assignee: nobody → Josh Hershberg (jhershbe)
Revision history for this message
Josh Hershberg (jhershbe) wrote :
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.