[Rdo-list] instance can't connect to neutron

Xin Zhao xzhao at bnl.gov
Thu Aug 21 21:52:36 UTC 2014


On 8/21/2014 4:22 AM, Ihar Hrachyshka wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> The issue is irrelevant, the error message is generic when Nova fails
> to connect to Neutron. Have you checked that your Controller is able
> to reach Network node?

Hi Ihar,

Which port on the network node is controller supposed to connect to ? I 
have the neutron-server daemon running on the controller node,
the L3/dhcp/OVS-agent daemons running on the network node.

Thanks,
Xin

>
> On 20/08/14 18:04, Xin Zhao wrote:
>> Revisiting this issue, I see there is a bug report
>> https://bugs.launchpad.net/nova/+bug/1251784, which is supposed to
>> be fixed. Is the fix not in the RDO rpms, or do I misconfigure
>> anything? Any suggestions where to debug it?
>>
>> Thanks, Xin
>>
>> On 8/11/2014 2:21 PM, Zhao, Xin wrote:
>>> 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
>>>
>>>
>>> _______________________________________________ Rdo-list mailing
>>> list Rdo-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/rdo-list
>> _______________________________________________ Rdo-list mailing
>> list Rdo-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/rdo-list
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
>
> iQEcBAEBCgAGBQJT9daRAAoJEC5aWaUY1u5720IIAMPAuKx9V6qFQjpu6gebeLQe
> x8epuN1GLUcO/i3PzH3sCOJfbR4jcD1KkqMlNsHDXSQN4zSb6XU78JShLok0iAeC
> Dj0dJR0eGcuqd4SWJH7toXayM4t3tcBFLV8dSICyYCBQSxmM1C8f/iNVd7cjNTsK
> Jtm2qr6Pa3lDF8q0/rSqr428a1AzJ1Jp/kDJbe4yATCNdtrzAHjia2DB1wPZOrad
> TxH4z6VGyOYDZJNoE965Gxu6Bdm79fJloUkIygWEiLMSS4CJJ7MJrhs0OG9TwCJt
> TcQm9ds1EF4wYEK+m4MCR8UL49PnzLePqoE7odRFNcB38HURH2opkofNiO+qdlE=
> =uVLT
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list




More information about the dev mailing list