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.log2014-03-04 09:44:53.934 10971 ERROR neutron.openstack.common.rpc.amqp [-] Exception during message handling2014-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_data2014-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 dispatch2014-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_update2014-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 wait2014-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_method2014-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_method2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common raise m2014-03-04 09:16:44.587 1646 TRACE neutron.openstack.common.rpc.common IOError: Socket closed2014-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_driver2014-03-04 09:44:51.341 10941 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driverIn Compute Node:
root@compute:/var/log/neutron# tail -f openvswitch-agent.log2014-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: 1Stdout: ''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: 1Stdout: ''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'
VM Instance Logs:
2014-03-06 09:26:57,242 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [94/120s]: http error [500]
2014-03-06 09:27:03,287 - util.py[WARNING]: 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [100/120s]: http error [500]
can any one help he to fix these issues.
Regards,
RHK
https://community.rackspace.com/products/f/45/t/3455
转载于:https://my.oschina.net/u/1169079/blog/223958