init-neutron-ovs fails to configure the external network bridge in overcloud

Bug #1244188 reported by Roman Podoliaka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Roman Podoliaka

Bug Description

During devtest.sh run when overcloud notcompute node is configured I get the following error:

dib-run-parts Thu Oct 24 09:17:06 UTC 2013 51-init-openstack completed
dib-run-parts Thu Oct 24 09:17:06 UTC 2013 Running /opt/stack/os-config-refresh/configure.d/80-neutron-openvswitch-agent
+ init-neutron-ovs
+ PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin
++ os-config-applier --key neutron.ovs.physical_bridge --type raw --key-default ''
+ EXTERNAL_BRIDGE=br-ex
++ os-config-applier --key neutron.ovs.public_interface --type raw --key-default ''
+ PHYSICAL_INTERFACE=eth0
++ os-config-applier --key bootstack.public_interface_ip --type netaddress --key-default ''
+ PHYSICAL_INTERFACE_IP=
++ os-config-applier --key neutron.ovs.public_interface_raw_device --type raw --key-default ''
+ PHYSICAL_INTERFACE_RAW_DEVICE=
++ os-config-applier --key neutron.ovs.public_interface_route --type netaddress --key-default ''
+ PUBLIC_INTERFACE_ROUTE=
+ '[' -n '' ']'
+ '[' -n '' -a -n eth0 ']'
+ service openvswitch-switch restart
 * ovs-brcompatd is not running
 * Killing ovs-vswitchd (1737)
 * Killing ovsdb-server (1728)
 * Starting ovsdb-server
 * Configuring Open vSwitch system IDs
 * Starting ovs-vswitchd
+ ovs-vsctl --no-wait -- --may-exist add-br br-int
+ ovs-vsctl --no-wait br-set-external-id br-int bridge-id br-int
+ '[' -z br-ex ']'
+ ovs-vsctl -- --may-exist add-br br-ex
+ ovs-vsctl --no-wait br-set-external-id br-ex bridge-id br-ex
+ ip link set dev br-ex up
+ '[' -n eth0 ']'
+ ovs-vsctl port-to-br eth0
ovs-vsctl: no port named eth0
+ ovs-vsctl add-port br-ex eth0
+ ip link set dev eth0 up
+ '[' -n eth0 ']'
++ awk '{print $2}'
++ grep ' inet '
++ ip addr show dev eth0
+ IPS=192.0.2.6/24
++ grep via
++ ip route show dev eth0
+ ROUTES='default via 192.0.2.1
169.254.169.254 via 192.0.2.2 '
+ for IP in '$IPS'
+ grep 192.0.2.6/24
+ ip addr show br-ex
+ ip addr add 192.0.2.6/24 dev br-ex
+ ORIG_IFS='
'
+ IFS=$'\r'
+ for ROUTE in '$ROUTES'
+ IFS='
'
+ ip route prepend dev br-ex default via 192.0.2.1 169.254.169.254 via 192.0.2.2
Error: either "to" is duplicate, or "169.254.169.254" is a garbage.
[2013-10-24 09:17:07,155] (os-refresh-config) [ERROR] during configure phase. [Command '['dib-run-parts', '/opt/stack/os-config-refresh/configure.d']' returned non-zero exit status 255]

At this point configuration of the external network bridge is incomplete, which makes notcompute node unreachable over the external network.

Changed in tripleo:
assignee: nobody → Roman Podoliaka (rpodolyaka)
Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :
Changed in tripleo:
status: Triaged → Fix Committed
Changed in tripleo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.