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

Satish Patel satish.txt at gmail.com
Tue Feb 23 05:08:54 UTC 2021


Why don't you post full error logs or bootstrap logs here -
http://paste.openstack.org/

On Mon, Feb 22, 2021 at 11:12 PM Amey Abhyankar <sco1984 at gmail.com> wrote:
>
> Thanks all.
> I took quick help from #openstack-ansible IRC channel.
>
> It seems like there is an issue for Indian users for bootstrap.
> The connection fails at 1 point.
> I am connected over a 50+ mbps very stable connection.
> I also tried over a 100+ mbps corporate 1:1 fibre optic line. Same issue.
>
> I just wonder if we have any audience doing OSA bootstrapping over any
> ISP's in India in the last couple of weeks..
>
> Regards,
> Amey.
>
> On Wed, 17 Feb 2021 at 17:47, Dmitriy Rabotyagov <noonedeadpunk at ya.ru> wrote:
> >
> > Regarding OSA, RAM requirement is more heavy I'd say in case you want to do AIO deployment with LXC containers. I'd suggest using ~10Gb of RAM because 8Gb is bare minimum.
> > But in case of metal SCENARIO for AIO, 8Gb should be pretty much ok, and I guess 6 Gb is really bare minimum.
> >
> > Reagarding CPUs I was runing AIO with 4 CPUs and it was also pretty fine.
> >
> > 17.02.2021, 13:13, "Sean Mooney" <smooney at redhat.com>:
> >
> > On Wed, 2021-02-17 at 10:12 +0530, Amey Abhyankar wrote:
> >
> >  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.
> >
> > if its just a test deployment you can run with less
> > we normally recommend 8G for ram and 8vcpus for an all in one deployment of openstack but it will work with 4
> > you just wont be abel to run many vms. on the ram side i have deployed all in one node in 6G of ram but again that
> > teands not to leave much room for vms.
> >
> > i havent realy used OSA but the requirements should be more or less the same.
> >
> >
> >
> >  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.
> >  > > > > > >
> >  > > > > > >
> >  > > > > >
> >  > > > >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Kind Regards,
> > Dmitriy Rabotyagov
> >
>



More information about the openstack-discuss mailing list