init-neutron-ovs fails to configure the external network bridge in overcloud
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/
+ init-neutron-ovs
+ PATH=/usr/
++ os-config-applier --key neutron.
+ EXTERNAL_
++ os-config-applier --key neutron.
+ PHYSICAL_
++ os-config-applier --key bootstack.
+ PHYSICAL_
++ os-config-applier --key neutron.
+ PHYSICAL_
++ os-config-applier --key neutron.
+ PUBLIC_
+ '[' -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/
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) |
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
This has been fixed by https:/ /review. openstack. org/#/c/ 53640/