[ovs-discuss] is_connected parameter absent: 2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at lib/ovsdb-idl.c:1354
Tandulwadkar, Sanket Ravindra (Sanket Ravindra)
standulwadka at avaya.com
Mon Jul 27 17:05:36 UTC 2015
Hello,
I am trying to add TLS support to ODL using OVS. I believe my controller is not able to receive packets. I am setting controller using: sudo ovs-vsctl --verbose set-controller br0 ssl:172.31.1.2:6633
The output I get is:
2015-07-27T16:59:41Z|00002|reconnect|DBG|unix:/var/run/openvswitch/db.sock: entering BACKOFF
2015-07-27T16:59:41Z|00003|hmap|DBG|lib/shash.c:112: 6 nodes in bucket (16 nodes, 8 buckets)
2015-07-27T16:59:41Z|00004|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting...
2015-07-27T16:59:41Z|00005|reconnect|DBG|unix:/var/run/openvswitch/db.sock: entering CONNECTING
2015-07-27T16:59:41Z|00006|poll_loop|DBG|wakeup due to [POLLOUT] on fd 4 (<->/var/run/openvswitch/db.sock) at lib/stream-fd-unix.c:120
2015-07-27T16:59:41Z|00007|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected
2015-07-27T16:59:41Z|00008|reconnect|DBG|unix:/var/run/openvswitch/db.sock: entering ACTIVE
2015-07-27T16:59:41Z|00009|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: send request, method="monitor", params=["Open_vSwitch",null,{"Port":{"columns":["fake_bridge","interfaces","name","tag"]},"Interface":{"columns":["name","ofport"]},"Bridge":{"columns":["controller","fail_mode","name","ports"]},"Controller":{"columns":["target"]},"Open_vSwitch":{"columns":["bridges","cur_cfg"]}}], id=0
2015-07-27T16:59:41Z|00010|poll_loop|DBG|wakeup due to [POLLIN] on fd 4 (<->/var/run/openvswitch/db.sock) at lib/stream-fd-unix.c:124
2015-07-27T16:59:41Z|00011|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: received reply, result={"Port":{"1788020b-a37c-44dd-80c8-8738adb8b2c6":{"new":{"name":"eth1","fake_bridge":false,"interfaces":["uuid","1c9212b1-eba7-4633-807b-82aeed0cd32e"],"tag":["set",[]]}},"94736136-c277-4096-bd96-e3d13c43c9ba":{"new":{"name":"br0","fake_bridge":false,"interfaces":["uuid","1d26a8ea-83cc-47d7-b51d-2470f1a57e68"],"tag":["set",[]]}}},"Interface":{"1c9212b1-eba7-4633-807b-82aeed0cd32e":{"new":{"name":"eth1","ofport":1}},"1d26a8ea-83cc-47d7-b51d-2470f1a57e68":{"new":{"name":"br0","ofport":65534}}},"Bridge":{"2ff9ef0a-5e29-4bf3-937d-59f5646cee2c":{"new":{"fail_mode":["set",[]],"name":"br0","ports":["set",[["uuid","1788020b-a37c-44dd-80c8-8738adb8b2c6"],["uuid","94736136-c277-4096-bd96-e3d13c43c9ba"]]],"controller":["uuid","5b812d0b-cda4-49f7-b303-57f04a08b710"]}}},"Controller":{"5b812d0b-cda4-49f7-b303-57f04a08b710":{"new":{"target":"ssl:172.31.1.2:6633"}}},"Open_vSwitch":{"cdf33b4e-420b-434d-87ba-d0e2183c9d47":{"new":{"bridges":["uuid","2ff9ef0a-5e29-4bf3-937d-59f5646cee2c"],"cur_cfg":129}}}}, id=0
2015-07-27T16:59:41Z|00012|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: send request, method="transact", params=["Open_vSwitch",{"rows":[{"bridges":["uuid","2ff9ef0a-5e29-4bf3-937d-59f5646cee2c"]}],"columns":["bridges"],"table":"Open_vSwitch","until":"==","where":[["_uuid","==",["uuid","cdf33b4e-420b-434d-87ba-d0e2183c9d47"]]],"timeout":0,"op":"wait"},{"rows":[{"controller":["uuid","5b812d0b-cda4-49f7-b303-57f04a08b710"]}],"columns":["controller"],"table":"Bridge","until":"==","where":[["_uuid","==",["uuid","2ff9ef0a-5e29-4bf3-937d-59f5646cee2c"]]],"timeout":0,"op":"wait"},{"rows":[{"target":"ssl:172.31.1.2:6633"}],"columns":["target"],"table":"Controller","until":"==","where":[["_uuid","==",["uuid","5b812d0b-cda4-49f7-b303-57f04a08b710"]]],"timeout":0,"op":"wait"},{"row":{"target":"ssl:172.31.1.2:6633"},"table":"Controller","uuid-name":"row4754739a_ae59_4c03_8882_3ad93d5a3ec7","op":"insert"},{"row":{"controller":["named-uuid","row4754739a_ae59_4c03_8882_3ad93d5a3ec7"]},"table":"Bridge","where":[["_uuid","==",["uuid","2ff9ef0a-5e29-4bf3-937d-59f5646cee2c"]]],"op":"update"},{"mutations":[["next_cfg","+=",1]],"table":"Open_vSwitch","where":[["_uuid","==",["uuid","cdf33b4e-420b-434d-87ba-d0e2183c9d47"]]],"op":"mutate"},{"columns":["next_cfg"],"table":"Open_vSwitch","where":[["_uuid","==",["uuid","cdf33b4e-420b-434d-87ba-d0e2183c9d47"]]],"op":"select"},{"comment":"ovs-vsctl: ovs-vsctl --verbose set-controller br0 ssl:172.31.1.2:6633","op":"comment"}], id=1
2015-07-27T16:59:41Z|00013|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: received notification, method="update", params=[null,{"Bridge":{"2ff9ef0a-5e29-4bf3-937d-59f5646cee2c":{"old":{"controller":["uuid","5b812d0b-cda4-49f7-b303-57f04a08b710"]},"new":{"fail_mode":["set",[]],"name":"br0","ports":["set",[["uuid","1788020b-a37c-44dd-80c8-8738adb8b2c6"],["uuid","94736136-c277-4096-bd96-e3d13c43c9ba"]]],"controller":["uuid","bd3b8498-025f-4916-9c4c-24a3eb02a7e5"]}}},"Controller":{"bd3b8498-025f-4916-9c4c-24a3eb02a7e5":{"new":{"target":"ssl:172.31.1.2:6633"}},"5b812d0b-cda4-49f7-b303-57f04a08b710":{"old":{"target":"ssl:172.31.1.2:6633"}}}}]
2015-07-27T16:59:41Z|00014|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: received reply, result=[{},{},{},{"uuid":["uuid","bd3b8498-025f-4916-9c4c-24a3eb02a7e5"]},{"count":1},{"count":1},{"rows":[{"next_cfg":130}]},{}], id=1
2015-07-27T16:59:41Z|00015|jsonrpc|DBG|unix:/var/run/openvswitch/db.sock: received notification, method="update", params=[null,{"Open_vSwitch":{"cdf33b4e-420b-434d-87ba-d0e2183c9d47":{"old":{"cur_cfg":129},"new":{"bridges":["uuid","2ff9ef0a-5e29-4bf3-937d-59f5646cee2c"],"cur_cfg":130}}}}]
2015-07-27T16:59:41Z|00016|poll_loop|DBG|wakeup due to 0-ms timeout at lib/ovsdb-idl.c:1354
sanket at sanket-ubuntu-ovs:~$ ^C
sanket at sanket-ubuntu-ovs:~$
sanket at sanket-ubuntu-ovs:~$ sudo ovs-vsctl show
cdf33b4e-420b-434d-87ba-d0e2183c9d47
Bridge "br0"
Controller "ssl:172.31.1.2:6633"
Port "eth1"
Interface "eth1"
Port "br0"
Interface "br0"
type: internal
ovs_version: "2.3.1"
sanket at sanket-ubuntu-ovs:
Why can I not see the is_connected parameter? Am I missing something?
Sincerely,
Sanket Tandulwadkar
standulwadka at avaya.com<mailto:standulwadka at avaya.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150727/6e56ee7b/attachment-0002.html>
More information about the discuss
mailing list