[Rdo-list] instance can't connect to neutron
Zhao, Xin
xzhao at bnl.gov
Mon Aug 11 21:21:32 UTC 2014
Hello,
I am setting up a 3-node icehouse testbed on RHEL6.5, using RDO, the
testbed has one controller node, one network node and one compute node.
I use ML2 plugin, with OVS
mechanism and VLAN type.
When I start an instance, it fails. On the compute node nova.log file,
there is the following error messages:
2014-08-11 17:05:44.234 25860 WARNING nova.compute.manager [-]
[instance: fdaba1ab-728b-4352-89b1-57f302496a07] Instance failed network
setup (attempt 1 of 3)
2014-08-11 17:05:45.240 25860 WARNING nova.compute.manager [-]
[instance: fdaba1ab-728b-4352-89b1-57f302496a07] Instance failed network
setup (attempt 2 of 3)
2014-08-11 17:05:47.254 25860 ERROR nova.compute.manager [-] Instance
failed network setup after 3 attempt(s)
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager Traceback (most
recent call last):
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager File
"/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1504,
in _allocate_network_async
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager
dhcp_options=dhcp_options)
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager File
"/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py", line
259, in allocate_for_instance
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager net_ids)
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager File
"/usr/lib/python2.6/site-packages/nova/network/neutronv2/api.py", line
128, in _get_available_networks
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager nets =
neutron.list_networks(**search_opts).get('networks', [])
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager File
"/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line
111, in with_params
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager ret =
self.function(instance, *args, **kwargs)
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager File
"/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line
333, in list_networks
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager **_params)
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager File
"/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line
1250, in list
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager for r in
self._pagination(collection, path, **params):
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager File
"/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line
1263, in _pagination
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager res =
self.get(path, params=params)
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager File
"/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line
1236, in get
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager
headers=headers, params=params)
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager File
"/usr/lib/python2.6/site-packages/neutronclient/v2_0/client.py", line
1228, in retry_request
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager raise
exceptions.ConnectionFailed(reason=_("Maximum attempts reached"))
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager
ConnectionFailed: Connection to neutron failed: Maximum attempts reached
2014-08-11 17:05:47.254 25860 TRACE nova.compute.manager
2014-08-11 17:05:49.069 25860 WARNING nova.virt.disk.vfs.guestfs
[req-a534fed9-ebea-4a61-8064-ff3d3db2e6ea
f6bd9769708b4fbe971a616143c6959f eea3753cf3ce471ba60c434e7382750c]
Failed to close augeas aug_close: do_aug_close: you must call 'aug-init'
first to initialize Augeas
2014-08-11 17:05:49.222 25860 ERROR nova.compute.manager
[req-a534fed9-ebea-4a61-8064-ff3d3db2e6ea
f6bd9769708b4fbe971a616143c6959f eea3753cf3ce471ba60c434e7382750c]
[instance: fdaba1ab-728b-4352-89b1-57f302496a07] Instance failed to spawn
On the controller node and network node, I don't see much errors from
the neutron services log files. I can connect to the (standalone) DB
from the network node, using the username/password inside the
neutron.conf file.
Here are the relevant rpms on the compute node:
openstack-utils-2014.1-3.el6.noarch
openstack-neutron-openvswitch-2014.1.1-8.el6.noarch
openstack-neutron-ml2-2014.1.1-8.el6.noarch
openstack-nova-compute-2014.1.1-3.el6.noarch
openstack-neutron-2014.1.1-8.el6.noarch
openstack-nova-common-2014.1.1-3.el6.noarch
openstack-selinux-0.1.3-2.el6ost.noarch
python-neutronclient-2.3.4-1.el6.noarch
python-neutron-2014.1.1-8.el6.noarch
Any idea what went wrong?
Thanks a lot,
Xin
More information about the dev
mailing list