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

Amey Abhyankar sco1984 at gmail.com
Wed Feb 17 04:42:18 UTC 2021


Thanks.
I have joined the channel.

AIO doc says minimum 8 vcpu's are required.
Is that a mandatory requirement?
My laptop has less vcpu's.

Regards,
Amey.

On Tue, 16 Feb 2021 at 22:31, Satish Patel <satish.txt at gmail.com> wrote:
>
> In my setup I have deployed everything on real hardware with VLANs etc
> to mimic production style. Are you trying to deploy openstack-ansible
> (AIO)? https://docs.openstack.org/openstack-ansible/latest/user/aio/quickstart.html
>
> Let me assume you are trying to deploy an openstack-ansible AIO model
> on a virtual box. In that case you don't need any special networking,
> all you need is a single virtualBox nic in Bridge mode and follow AIO
> instructions. Why don't you join openstack-ansible IRC, it's hard to
> answer interactive questions here.
>
> On Tue, Feb 16, 2021 at 11:27 AM Amey Abhyankar <sco1984 at gmail.com> wrote:
> >
> > Hello Satish,
> >
> > I am unable to ssh/ping the CentOS 8.2 machine after following the
> > steps mentioned in your document.
> > I am trying this POC using Oracle Virtualbox.
> > The vm got 192.168.0.x IP from DHCP in my wifi router.
> >
> > Till bootstrap, the SSH session was alive.
> > But after a while I lost access to the vm.
> > Now If I do ip a, I don't see the 192.168.0.x IP to any interface.
> >
> > What can be the issue?
> >
> > Regards,
> > Amey.
> >
> > On Wed, 10 Feb 2021 at 20:12, 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