Ask Your Question

122014's profile - activity

2015-02-24 17:25:04 -0500 received badge  Famous Question (source)
2015-01-13 13:07:18 -0500 received badge  Notable Question (source)
2014-12-18 05:35:36 -0500 received badge  Scholar (source)
2014-12-17 11:40:09 -0500 received badge  Self-Learner (source)
2014-12-17 11:40:09 -0500 received badge  Teacher (source)
2014-12-17 05:12:26 -0500 commented question "connection to neutron failed" on network node (VirtualBox VM)

The question is below the blockquote in italics, I simply removed the 5 or so logs because they were irrelevant, as the problem wasn't related to /etc/network/interfaces, OpenStack or OpenVSwitch of the nodes, rather the VirtualBox setup. If it would be helpful I could reinclude the logs.

2014-12-17 05:10:03 -0500 received badge  Enthusiast
2014-12-16 23:42:10 -0500 received badge  Popular Question (source)
2014-12-16 03:53:16 -0500 commented question "connection to neutron failed" on network node (VirtualBox VM)

Update: the neutron/network node connectivity problem was fixed by changing the external network setup in VirtualBox from NAT to Bridged Interface, and updating the IPs in /etc/network/interfaces, config files and in the keystone database accordingly.

2014-12-15 04:52:59 -0500 asked a question "connection to neutron failed" on network node (VirtualBox VM)

neutron agent-list works on the controller node but fails on the network node.

Solution:

Despite following the guide on https://github.com/ChaimaGhribi/OpenStack-Icehouse-Installation/blob/3d9581f92919fedbd984105cb24be623a40c56ec/OpenStack-Icehouse-Installation.rst (https://github.com/ChaimaGhribi/OpenS...) there was no connection between the Network and Controller nodes while using "neutron agent-list" on the network node. Error was simply "connection to neutron failed".

The nodes were run on VirtualBox. The internal network 10.0.0.xx and tunneling 10.0.1.xx were host-only networks and the external network 10.0.3.xx was on NAT for internet access.

The solution to this was to change NAT to Bridged Network in VirtualBox.

Therefore:

Management Network (10.0.0.0/24) is a host-only network.

VM Traffic Network (10.0.1.0/24) is a host-only network.

Public Network (192.168.100.0/24) is a bridged network. (IP begins with 192.168 but may end differently depending on your setup. The automatically generated IPs and default gateway were manually entered into /etc/network/interfaces/.)

Solved problem:

I am on the Network Node=>Check Neutron agents step of this guide: https://github.com/ChaimaGhribi/OpenStack-Icehouse-Installation/blob/3d9581f92919fedbd984105cb24be623a40c56ec/OpenStack-Icehouse-Installation.rst (https://github.com/ChaimaGhribi/OpenS...)

ConnectionFailed: Connection to neutron failed:
DEBUG: neutronclient.shell clean_up ListAgent
DEBUG: neutronclient.shell Got an error: Connection to neutron failed:

Nodes are Ubuntu 14.04 VMs on VirtualBox. Eth0 is a host-only network on 10.0.0.xx. Eth1 is a NAT network for internet access with fixed IPs and port forwarding, 10.0.3.xx. Eth2 is tunneling for the network node on 10.0.1.xx. Neutron server and RabbitMQ are configured and running.

Network node can ping the controller at 10.0.0.11 (host-only) but not at 10.0.3.11 (NAT). 10.0.3.11:9696 is the publicurl of neutron. The same happens with telnet. 10.0.1.21 can be pinged by controller.

Pings from network to controller, internet and compute node through 10.0.0.21 and 10.0.3.21 work. Controller can ping network at 10.0.0.21 and 10.0.1.21 but not 10.0.3.21 (br-ex; network's internet connection).

tcpdump of ping to 10.0.3.21 (the br-ex IP of network node) from controller node
ARP, Request who-has 10.0.3.21 tell 10.0.3.11, length 28
"Destination Host Unreachable. 100% packet loss."

After entering neutron agent-list, tcpdump on network's eth1 reports: ARP, Request who-has 10.0.3.11 tell 10.0.3.21, length 28

Pinging 10.0.3.11 from network node results in Destination Host Unreachable.

No bridges show up in brctl .

Is this a problem with the NAT setup on 10.0.3.xx or bridging (br-ex is on eth1 on 10.0.3.21)?

[Included logs were removed due to being unnecessary for solution]

2014-12-15 04:45:09 -0500 received badge  Popular Question
2014-12-04 08:07:11 -0500 received badge  Notable Question
2014-12-04 07:43:07 -0500 received badge  Editor
2014-12-03 04:54:18 -0500 commented question Can't ping outside network with default legacy network configuration on wheezy

Does anyone have an answer to this? (experiencing similar problem)

2014-12-02 12:34:34 -0500 received badge  Popular Question
2014-12-02 11:28:17 -0500 received badge  Supporter (source)