-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
I'm trying to use the qos_rest example in the repo. I cannot manage to create a queue because of this response:
[
{
"switch_id": "0000000c298b1415",
"command_result": {
"result": "failure",
"details": "ovs_bridge is not exists"
}
}
]
By looking at the code i think there is a problem related to ovsdb
I have already tried the simple switch example, without any problem, but the real issue for me is that the handlers for ovsdb related events are never fired.
One thing i know for sure is that it's not a connection problem, my switched can reach the controller/manager.
Using the example written here ( Link from the Ryu docs ), i can clearly see the connection in the log ( using ryu-manager --verbose ) but the following exception occour:
root@controller# ryu-manager test_ovsdb.py --verbose
loading app test_ovsdb.py
loading app ryu.services.protocols.ovsdb.manager
instantiating app test_ovsdb.py of MyApp
instantiating app ryu.services.protocols.ovsdb.manager of OVSDB
BRICK MyApp
CONSUMES EventNewOVSDBConnection
BRICK OVSDB
PROVIDES EventNewOVSDBConnection TO {'MyApp': set()}
PROVIDES EventModifyRequest TO {'OVSDB': set()}
PROVIDES EventReadRequest TO {'OVSDB': set()}
CONSUMES EventModifyRequest
CONSUMES EventReadRequest
Listening on 0.0.0.0:6640 for clients
New connection from 192.168.2.24:58662
hub: uncaught exception: Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/ryu/lib/hub.py", line 60, in _launch
return func(*args, **kwargs)
File "/usr/local/lib/python3.9/dist-packages/ryu/services/protocols/ovsdb/manager.py", line 145, in _start_remote
app = client.RemoteOvsdb.factory(sock, client_address,
File "/usr/local/lib/python3.9/dist-packages/ryu/services/protocols/ovsdb/client.py", line 322, in factory
session = jsonrpc.Session(fsm, connection)
TypeError: __init__() missing 1 required positional argument: 'remotes'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels