Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2014-03-03 23:42:26 -0500

RHK gravatar image

[OVS] openvswitch agent issues in neutron

Hello,

I launch a VM Instance with Havana multinode Setup. After launching Vm Instance in logs i am getting Metadata error and i am not able to ping/ssh to Vm Instance from my Controller Node. I check the Logs in Network node and compute node and i found below errors in openvswitchagent.log & dhcpagent.log.

In Network Node:

root@network:/var/log/neutron# tail -f openvswitch-agent.log

2014-03-04 09:44:53.934 10971 ERROR neutron.openstack.common.rpc.amqp [-] Exception during message handling 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp Traceback (most recent call last): 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/amqp.py", line 438, in _process_data 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp *args) 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, *kwargs) 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 290, in port_update 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp self.sg_agent.refresh_firewall() 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp AttributeError: 'NoneType' object has no attribute 'refresh_firewall'

root@network:/var/log/neutron# tail -f dhcp-agent.log

2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 69, in wait 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common self.channel_id, allowed_methods) 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/connection.py", line 204, in _wait_method 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common self.method_reader.read_method() 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/method_framing.py", line 187, in read_method 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common raise m 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common IOError: Socket closed 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common 2014-03-04 09:21:12.899 5948 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver 2014-03-04 09:44:51.341 10941 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver

In Compute Node:

root@compute:/var/log/neutron# tail -f openvswitch-agent.log

2014-03-04 09:45:48.228 7614 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-vsctl', '--timeout=2', 'list-ports', 'br-int']. Exception: Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'list-ports', 'br-int'] Exit code: 1 Stdout: '' Stderr: '2014-03-04T04:15:48Z|00001|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory)\novs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)\n' 2014-03-04 09:45:48.276 7614 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-vsctl', '--timeout=2', '--format=json', '--', '--columns=name,external_ids', 'list', 'Interface']. Exception: Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', '--format=json', '--', '--columns=name,external_ids', 'list', 'Interface'] Exit code: 1 Stdout: '' Stderr: '2014-03-04T04:15:48Z|00001|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory)\novs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)\n'

Please help me to fix this issues.

Regards, RHK

[OVS] openvswitch agent issues in neutron

Hello,

I launch a VM Instance with Havana multinode Setup. After launching Vm Instance in logs i am getting Metadata error and i am not able to ping/ssh to Vm Instance from my Controller Node. I check the Logs in Network node and compute node and i found below errors in openvswitchagent.log & dhcpagent.log.

In Network Node:

root@network:/var/log/neutron# tail -f openvswitch-agent.log

2014-03-04 09:44:53.934 10971 ERROR neutron.openstack.common.rpc.amqp [-] Exception during message handling 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp Traceback (most recent call last): 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/amqp.py", line 438, in _process_data 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp *args) 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, *kwargs) 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 290, in port_update 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp self.sg_agent.refresh_firewall() 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp AttributeError: 'NoneType' object has no attribute 'refresh_firewall'

root@network:/var/log/neutron# tail -f dhcp-agent.log

2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 69, in wait 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common self.channel_id, allowed_methods) 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/connection.py", line 204, in _wait_method 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common self.method_reader.read_method() 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common File "/usr/lib/python2.7/dist-packages/amqp/method_framing.py", line 187, in read_method 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common raise m 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common IOError: Socket closed 2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common 2014-03-04 09:21:12.899 5948 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver 2014-03-04 09:44:51.341 10941 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver

In Compute Node:

root@compute:/var/log/neutron# tail -f openvswitch-agent.log

2014-03-04 09:45:48.228 7614 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-vsctl', '--timeout=2', 'list-ports', 'br-int']. Exception: Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'list-ports', 'br-int'] Exit code: 1 Stdout: '' Stderr: '2014-03-04T04:15:48Z|00001|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory)\novs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)\n' 2014-03-04 09:45:48.276 7614 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-vsctl', '--timeout=2', '--format=json', '--', '--columns=name,external_ids', 'list', 'Interface']. Exception: Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', '--format=json', '--', '--columns=name,external_ids', 'list', 'Interface'] Exit code: 1 Stdout: '' Stderr: '2014-03-04T04:15:48Z|00001|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory)\novs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)\n'

Please help me to fix this issues.

Regards, RHK

[OVS] metadata error running openvswitch agent issues in neutron

Hello,

I launch a VM Instance with Havana multinode Setup. After launching Vm Instance in logs i am getting Metadata error and i am not able to ping/ssh to Vm Instance from my Controller Node. I check the Logs in Network node and compute node and i found below errors in openvswitchagent.log & dhcpagent.log.

In Network Node:

 root@network:/var/log/neutron# tail -f openvswitch-agent.log

openvswitch-agent.log 2014-03-04 09:44:53.934 10971 ERROR neutron.openstack.common.rpc.amqp [-] Exception during message handling 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp Traceback (most recent call last): 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/amqp.py", line 438, in _process_data 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp *args) **args) 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, *kwargs) **kwargs) 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp File "/usr/lib/python2.7/dist-packages/neutron/plugins/openvswitch/agent/ovs_neutron_agent.py", line 290, in port_update 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp self.sg_agent.refresh_firewall() 2014-03-04 09:44:53.934 10971 TRACE neutron.openstack.common.rpc.amqp AttributeError: 'NoneType' object has no attribute 'refresh_firewall'

'refresh_firewall'

root@network:/var/log/neutron# tail -f dhcp-agent.log

2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common   File "/usr/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 69, in wait
2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common     self.channel_id, allowed_methods)
2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common   File "/usr/lib/python2.7/dist-packages/amqp/connection.py", line 204, in _wait_method
2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common     self.method_reader.read_method()
2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common   File "/usr/lib/python2.7/dist-packages/amqp/method_framing.py", line 187, in read_method
2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common     raise m
2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common IOError: Socket closed
2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common 
2014-03-04 09:21:12.899 5948 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver
2014-03-04 09:44:51.341 10941 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver

firewall_driver

In Compute Node:

 root@compute:/var/log/neutron# tail -f openvswitch-agent.log

openvswitch-agent.log 2014-03-04 09:45:48.228 7614 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-vsctl', '--timeout=2', 'list-ports', 'br-int']. Exception: Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', 'list-ports', 'br-int'] Exit code: 1 Stdout: '' Stderr: '2014-03-04T04:15:48Z|00001|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory)\novs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)\n' 2014-03-04 09:45:48.276 7614 ERROR neutron.agent.linux.ovs_lib [-] Unable to execute ['ovs-vsctl', '--timeout=2', '--format=json', '--', '--columns=name,external_ids', 'list', 'Interface']. Exception: Command: ['sudo', '/usr/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ovs-vsctl', '--timeout=2', '--format=json', '--', '--columns=name,external_ids', 'list', 'Interface'] Exit code: 1 Stdout: '' Stderr: '2014-03-04T04:15:48Z|00001|reconnect|WARN|unix:/var/run/openvswitch/db.sock: connection attempt failed (No such file or directory)\novs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)\n'

Please help me to fix this issues.

Regards, RHK

directory)\n'