Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

restart openvswitch.service with error

I can't ping to instance, so I check all the service and restart them. I found some error and warning in log. Does anybody can help me? Thanks a lot!

/var/log/neutron/server.log in controller node:

2015-05-18 16:36:36.843 5826 WARNING neutron.plugins.ml2.drivers.type_gre [req-71c8b1e7-be47-4f5b-b714-88c9abf2748d None] Gre endpoint with ip 10.0.0.131 already exists

/var/log/openvswitch/ovs-vswitchd.log in network node:

2015-05-18T07:37:40.484Z|00004|ofproto_dpif|INFO|system@ovs-system: Datapath supports recirculation 2015-05-18T07:37:40.484Z|00005|dpif|WARN|system@ovs-system: execute userspace(pid=0,userdata(00000000)) failed (Invalid argument) on packet metadata=0,in_port=0,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x1234 2015-05-18T07:37:40.484Z|00006|ofproto_dpif|WARN|system@ovs-system: variable-length userdata feature probe failed (Invalid argument) 2015-05-18T07:37:40.484Z|00007|dpif|WARN|system@ovs-system: failed to put[create] (Invalid argument) skb_priority(0),skb_mark(0),in_port(0),eth(src=00:00:00:00:00:00,dst=00:00:00:00:00:00),eth_type(0x8847),mpls(label=0,tc=0,ttl=0,bos=1) 2015-05-18T07:37:40.484Z|00008|ofproto_dpif|INFO|system@ovs-system: MPLS label stack length probed as 0 2015-05-18T07:37:40.526Z|00009|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on qg-1e7fada1-6c device failed: No such device 2015-05-18T07:37:40.532Z|00010|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on qr-99ebbd40-f0 device failed: No such device 2015-05-18T07:37:40.536Z|00011|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on tap9324c9a3-69 device failed: No such device 2015-05-18T07:37:40.537Z|00012|bridge|INFO|bridge br-ex: added interface qg-1e7fada1-6c on port 3

/var/log/neutron/openvswitch-agent.log in compute node:

2015-05-18 16:29:22.589 31968 ERROR neutron.agent.linux.ovsdb_monitor [-] Error received from ovsdb monitor: ovsdb-client: unix:/var/run/openvswitch/db.sock: receive failed (End of file) 2015-05-18 16:29:22.608 31968 ERROR neutron.agent.linux.utils [-] Command: ['ps', '--ppid', '1844', '-o', 'pid='] Exit code: 1 Stdout: '' Stderr: '' 2015-05-18 16:29:22.642 31968 ERROR neutron.agent.linux.utils [req-71c8b1e7-be47-4f5b-b714-88c9abf2748d None] Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'dump-flows', 'br-int', 'table=23'] Exit code: 1 Stdout: '' Stderr: 'ovs-ofctl: br-int is not a bridge or a socket\n' 2015-05-18 16:29:22.642 31968 ERROR neutron.agent.linux.ovs_lib [req-71c8b1e7-be47-4f5b-b714-88c9abf2748d None] Unable to execute ['ovs-ofctl', 'dump-flows', 'br-int', 'table=23']. Exception: Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-ofctl', 'dump-flows', 'br-int', 'table=23'] Exit code: 1 Stdout: '' Stderr: 'ovs-ofctl: br-int is not a bridge or a socket\n' 2015-05-18 16:29:22.688 31968 ERROR neutron.agent.linux.utils [req-71c8b1e7-be47-4f5b-b714-88c9abf2748d None] Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', '--', '--may-exist', 'add-br', 'br-int'] Exit code: 1 Stdout: '' Stderr: 'ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)\n' 2015-05-18 16:29:22.689 31968 ERROR neutron.agent.linux.ovs_lib [req-71c8b1e7-be47-4f5b-b714-88c9abf2748d None] Unable to execute ['ovs-vsctl', '--timeout=10', '--', '--may-exist', 'add-br', 'br-int']. Exception: Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=10', '--', '--may-exist', 'add-br', 'br-int'] Exit code: 1 Stdout: '' Stderr: 'ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)\n' 2015-05-18 16:29:23.778 31968 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-71c8b1e7-be47-4f5b-b714-88c9abf2748d None] Agent tunnel out of sync with plugin! 2015-05-18 16:36:53.331 31968 ERROR neutron.agent.linux.ovsdb_monitor [-] Error received from ovsdb monitor: ovsdb-client: unix:/var/run/openvswitch/db.sock: receive failed (End of file) 2015-05-18 16:36:53.350 31968 ERROR neutron.agent.linux.utils [-] Command: ['ps', '--ppid', '2534', '-o', 'pid='] Exit code: 1 Stdout: '' Stderr: '' 2015-05-18 16:36:56.099 31968 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-71c8b1e7-be47-4f5b-b714-88c9abf2748d None] Agent tunnel out of sync with plugin!

/var/log/openvswitch/ovs-vswitchd.log in compute node:

2015-05-18T08:29:22.735Z|00001|vlog|INFO|opened log file /var/log/openvswitch/ovs-vswitchd.log 2015-05-18T08:29:22.737Z|00002|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connecting... 2015-05-18T08:29:22.737Z|00003|reconnect|INFO|unix:/var/run/openvswitch/db.sock: connected 2015-05-18T08:29:22.750Z|00004|ofproto_dpif|INFO|system@ovs-system: Datapath supports recirculation 2015-05-18T08:29:22.750Z|00005|dpif|WARN|system@ovs-system: execute userspace(pid=0,userdata(00000000)) failed (Invalid argument) on packet metadata=0,in_port=0,vlan_tci=0x0000,dl_src=00:00:00:00:00:00,dl_dst=00:00:00:00:00:00,dl_type=0x1234 2015-05-18T08:29:22.750Z|00006|ofproto_dpif|WARN|system@ovs-system: variable-length userdata feature probe failed (Invalid argument) 2015-05-18T08:29:22.750Z|00007|dpif|WARN|system@ovs-system: failed to put[create] (Invalid argument) skb_priority(0),skb_mark(0),in_port(0),eth(src=00:00:00:00:00:00,dst=00:00:00:00:00:00),eth_type(0x8847),mpls(label=0,tc=0,ttl=0,bos=1) 2015-05-18T08:29:22.750Z|00008|ofproto_dpif|INFO|system@ovs-system: MPLS label stack length probed as 0 2015-05-18T08:29:22.773Z|00009|bridge|INFO|bridge br-int: added interface patch-tun on port 2 2015-05-18T08:29:22.773Z|00010|bridge|INFO|bridge br-int: added interface br-int on port 65534 2015-05-18T08:29:22.773Z|00011|bridge|INFO|bridge br-tun: added interface patch-int on port 1 2015-05-18T08:29:22.773Z|00012|bridge|INFO|bridge br-tun: added interface gre-0a000079 on port 2 2015-05-18T08:29:22.773Z|00013|bridge|INFO|bridge br-tun: added interface br-tun on port 65534 2015-05-18T08:29:22.773Z|00014|bridge|INFO|bridge br-int: using datapath ID 00007e85cfbde449 2015-05-18T08:29:22.773Z|00015|connmgr|INFO|br-int: added service controller "punix:/var/run/openvswitch/br-int.mgmt" 2015-05-18T08:29:22.774Z|00016|bridge|INFO|bridge br-tun: using datapath ID 0000deac3003054f 2015-05-18T08:29:22.774Z|00017|connmgr|INFO|br-tun: added service controller "punix:/var/run/openvswitch/br-tun.mgmt"

in computen node:

[root@compute1 openvswitch]# ovs-vsctl show

bf87fb67-14a1-4556-8d61-0737d387a704 Bridge br-int fail_mode: secure Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port br-int Interface br-int type: internal Bridge br-tun Port "gre-0a000079" Interface "gre-0a000079" type: gre options: {df_default="true", in_key=flow, local_ip="10.0.0.131", out_key=flow, remote_ip="10.0.0.121"} Port br-tun Interface br-tun type: internal Port patch-int Interface patch-int type: patch options: {peer=patch-tun} ovs_version: "2.3.1"

[root@network openvswitch]# uname -a
Linux network 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux [root@network openvswitch]# ovs-vsctl --version
ovs-vsctl (Open vSwitch) 2.3.1 Compiled Dec 26 2014 15:35:14 DB Schema 7.6.2