[openstack-ansible] Re: How to configure interfaces in CentOS 8.3 for OSA installation?

Sean Mooney smooney at redhat.com
Wed Feb 10 19:32:16 UTC 2021


On Wed, 2021-02-10 at 20:53 +0530, roshan anvekar wrote:
> I have query regarding the same interface configuration setup.
> 
> This is for kolla-ansible which has br-ex bridge required on a physical or
> sub-interface.
> 
> Do we need to assign IP to the bridge interface both in controller/network
> nodes and also on compute nodes?? Or should both the physical and bridge
> interface be IP free?

if you are usign ovs-dpdk the br-ex should have local tunnel ip used for vxlan/gre tunnels.

for kernel ovs that is less important but i prefer to still follow that parttern to keep everything the same.
if you dont do that your vxlan tunnels may use the management interface for connectivity instead of the interface
added to the ovs bridge. it will make that determination by looking at the kernel routing table to determing which interface to sed it to
so if you want to use the same interfaces for you vlan and tunnel traffic the assing the ip to the br-ex
> 
> Regards,
> Roshan
> 
> On Wed, Feb 10, 2021, 8:15 PM Satish Patel <satish.txt at gmail.com> wrote:
> 
> > Hi Amey,
> > 
> > I am running my cloud  using openstack-ansible on centos 7.5 (on
> > Production) and 8.x  (on Lab because centos 8 soon end of life, my
> > future plan is to migrate everything to ubuntu ).
> > 
> > Answer to your question is you have two way to configure networking using
> > OSA
> > 
> > 1. Use systemd-networkd here is the example -
> > http://paste.openstack.org/show/802517/
> > 2. Use package network-scripts (This is legacy way to configure
> > network on centOS /etc/sysconfig/network-scripts/*  style) - You can
> > see example on my blog how to deploy OSA on centos -
> > 
> > https://satishdotpatel.github.io//build-openstack-cloud-using-openstack-ansible/
> > 
> > 
> > On Wed, Feb 10, 2021 at 9:14 AM Amey Abhyankar <sco1984 at gmail.com> wrote:
> > > 
> > > Hello Jonathan,
> > > 
> > > On Wed, 10 Feb 2021 at 18:35, Jonathan Rosser
> > > <jonathan.rosser at rd.bbc.co.uk> wrote:
> > > > 
> > > > Hi Amey,
> > > > 
> > > > The documentation that you linked to is specifically for the ansible
> > > > deployment host, which can be separate from the OpenStack target hosts
> > > > if you wish. The only requirement is that it has ssh access to the
> > > > target hosts, by default this would be via the network attached to
> > > > br-mgmt on those hosts.
> > > > 
> > > > In terms of the target hosts networking, you should refer to
> > > > 
> > https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/targethosts.html#configuring-the-network
> > .
> > > Yes I checked this reference.
> > > > 
> > > > OpenStack-Ansible does not prescribe any particular method for
> > > > setting up the host networking as this tends to be specific
> > > > to the individual environment or deployer preferences.
> > > I am looking for an example where to put the interface configurations
> > > in CentOS 8.
> > > But, I am unable to find any references specifically for CentOS/RHEL.
> > > Hence I post the question here to get help from some1 who is already
> > > running OpenStack on CentOS 8.
> > > 
> > > Regards,
> > > Amey.
> > > > 
> > > > You should pick most appropriate network config tool for your
> > > > OS/environment and create the bridges and networks listed in the
> > > > table on the target hosts documentation.
> > > > 
> > > > I would always recommend starting with an All-In-One deployment
> > > > 
> > https://docs.openstack.org/openstack-ansible/latest/user/aio/quickstart.html
> > .
> > > > This will generate a complete test environment
> > > > with all the host networking set up correctly and will serve as
> > > > a reference example for a production deployment.
> > > > 
> > > > Do join the #openstack-ansible IRC channel if you would like
> > > > to discuss any of the options further.
> > > > 
> > > > Regards,
> > > > Jonathan.
> > > > 
> > > > On 10/02/2021 10:09, Amey Abhyankar wrote:
> > > > > Hello,
> > > > > 
> > > > > I am trying to install OpenStack by referring following guides =
> > > > > 
> > > > > 1)
> > https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/deploymenthost.html
> > > > > 2)
> > https://docs.openstack.org/openstack-ansible/victoria/user/test/example.html
> > > > > 
> > > > > In link number 2, there is a step to configure interfaces.
> > > > > In CentOS 8 we don't have a /etc/network/interfaces file.
> > > > > Which interface file should I configure?
> > > > > Or do I need to create all virtual int's manually using nmcli?
> > > > > 
> > > > > Pls suggest thanks.
> > > > > 
> > > > > Regards,
> > > > > Amey.
> > > > > 
> > > > > 
> > > > 
> > > 
> > 
> > 





More information about the openstack-discuss mailing list