Red Hat Bugzilla – Bug 1014774
packstack configures br-ex to use gateway ip
Last modified: 2016-03-30 19:07:49 EDT
Description of problem:
packstack doesnt configure br-ex
according to this: http://openstack.redhat.com/Neutron_with_existing_external_network the /etc/sysconfig/network-script/ifcfg-br-ex should be created and the ifcfg-ethX should be reconfigured
this is currently not happening.
nb. neutron on havana.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Actually that documentation indicates that you have to make these modifications manually. I may be misunderstanding your bug report or perhaps I am missing a relevant piece of text. Can you confirm?
isnt the objective of packstack to do all the heavy lifting of configuration? this is one of the most important configs; to allow the outside world to communicate with the openstack deployment.
note too that the documentation states you have to manually install openstack piecemeal and set up keystone for each component of the installation.
packstack does away with all that. it should do away with br-ex configuration
i have just learned that rhev at installation does this piece of configuration. perhaps that code can be reused?
i do not know when this change happened but br-ex is now created with packstack. problem is that the ip is not moved from eth0/em0 to br-ex.
---Device config for /etc/sysconfig/network-scripts/ifcfg-br-ex---
---Device config for /etc/sysconfig/network-scripts/ifcfg-eth0---
also means that this is incomplete in its implementation
# Whether to configure the ovs external bridge in an all-in-one
it seems there is progress with each new version of packstack. but it is _STILL_ not complete.
[root@openstack01 openstack]# cat /etc/sysconfig/network-scripts/ifcfg-br-ex
1. no gw
2. what is that ip?
3. is the above config accurate or the documentation?
4. ethX/emX left as is
this is rather drastic. check out my br-ex config when i stated my demo floating ip range
br-ex Link encap:Ethernet HWaddr 72:98:F4:5E:F1:49
inet addr:192.168.122.1 Bcast:0.0.0.0 Mask:255.255.255.0
inet6 addr: fe80::3ce5:7eff:fe92:bb48/64 Scope:Link
UP BROADCAST RUNNING MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:684 (684.0 b) TX bytes:468 (468.0 b)
packstack now configures br-ex to take the first ip in the floating ip range give to it. this is normally .1 which is also normally the ip of the gateway
and of course this also means that your entire network is now flaky
The current version of the provision module in Openstack Puppet Modules set the correct ip for br-ex