HA cluster deployment fails on Network/Exec[waiting-for-neutron-api]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Undecided
|
Fuel Library (Deprecated) |
Bug Description
Got this error in my virtual environment created from scratch with virtualbox scripts available on mirantis.com
1. Created MOS system (fuel + 4 nodes) via VirtualBox script provided by Mirantis.
2. Created a new environment in Fuel: CentOS -> HA -> Neutron+VLAN.
3. Selected 3 machines as Controllers, one as Compute.
4. Fuel installed CentOS on all nodes successfully, then started to install OpenStack on first node. After a while I noticed this in Puppet log:
-------
Fri Feb 13 14:15:05 +0000 2015 /Stage[
Fri Feb 13 14:15:05 +0000 2015 Exec[waiting-
Fri Feb 13 14:15:05 +0000 2015 Puppet (debug): Executing 'test -r /root/openrc'
Fri Feb 13 14:15:05 +0000 2015 /Stage[
Fri Feb 13 14:15:05 +0000 2015 Exec[waiting-
Fri Feb 13 14:15:05 +0000 2015 Puppet (debug): Executing 'bash -c "source /root/openrc ; neutron net-list --http-timeout=4 " 2>&1 > /dev/null'
Fri Feb 13 14:15:21 +0000 2015 /Stage[
Fri Feb 13 14:15:25 +0000 2015 /Stage[
Fri Feb 13 14:15:25 +0000 2015 Exec[waiting-
Fri Feb 13 14:15:25 +0000 2015 Puppet (debug): Executing 'bash -c "source /root/openrc ; neutron net-list --http-timeout=4 " 2>&1 > /dev/null'
Fri Feb 13 14:15:35 +0000 2015 /Stage[
Fri Feb 13 14:15:39 +0000 2015 /Stage[
Fri Feb 13 14:15:39 +0000 2015 Exec[waiting-
Fri Feb 13 14:15:39 +0000 2015 Puppet (debug): Executing 'bash -c "source /root/openrc ; neutron net-list --http-timeout=4 " 2>&1 > /dev/null'
Fri Feb 13 14:15:49 +0000 2015 /Stage[
Fri Feb 13 14:15:53 +0000 2015 /Stage[
Fri Feb 13 14:15:53 +0000 2015 Exec[waiting-
Fri Feb 13 14:15:53 +0000 2015 Puppet (debug): Executing 'bash -c "source /root/openrc ; neutron net-list --http-timeout=4 " 2>&1 > /dev/null'
Fri Feb 13 14:16:02 +0000 2015 /Stage[
-------
...and so on until all 30 tries are done:
-------
Fri Feb 13 14:21:35 +0000 2015 /Stage[
Fri Feb 13 14:21:35 +0000 2015 Exec[waiting-
Fri Feb 13 14:21:35 +0000 2015 Puppet (debug): Executing 'bash -c "source /root/openrc ; neutron net-list --http-timeout=4 " 2>&1 > /dev/null'
Fri Feb 13 14:21:45 +0000 2015 /Stage[
Fri Feb 13 14:21:49 +0000 2015 /Stage[
Fri Feb 13 14:21:49 +0000 2015 Puppet (err): bash -c "source /root/openrc ; neutron net-list --http-timeout=4 " 2>&1 > /dev/null returned 1 instead of one of [0]
Fri Feb 13 14:21:49 +0000 2015 /Stage[
Fri Feb 13 14:21:49 +0000 2015 /Stage[
Fri Feb 13 14:21:49 +0000 2015 /Stage[
Fri Feb 13 14:21:49 +0000 2015 /Stage[
Fri Feb 13 14:21:49 +0000 2015 /Stage[
-------
So puppet went on but skipping dependent stuff which inevitably resulted in failed deployment.
I had to wait another 50 minutes for deployment to "officially" fail in Fuel interface.
Changed in fuel: | |
status: | New → Confirmed |
assignee: | nobody → Fuel Library Team (fuel-library) |
milestone: | none → 6.1 |
Extra info - the IP which fails can be found in /etc/astute.yaml of this node:
public_vip: 172.16.0.2
I could not find why neutron cli tries to connect to a public vip and not to 192.168... or 10.20.0.X.