How to configure interfaces in CentOS 8.3 for OSA installation?
Hello, I am trying to install OpenStack by referring following guides = 1) https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/dep... 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.
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/tar.... 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. 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 Jonathan, On Wed, 10 Feb 2021 at 18:35, Jonathan Rosser <jonathan.rosser@rd.bbc.co.uk> wrote:
Yes I checked this reference.
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.
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-ansi... On Wed, Feb 10, 2021 at 9:14 AM Amey Abhyankar <sco1984@gmail.com> 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? Regards, Roshan On Wed, Feb 10, 2021, 8:15 PM Satish Patel <satish.txt@gmail.com> wrote:
On Wed, 2021-02-10 at 20:53 +0530, roshan anvekar wrote:
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
On Wed, 10 Feb 2021 at 20:12, Satish Patel <satish.txt@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/ Thanks. > 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/ Nicely documented thanks. Few questions = 1) From the switch side, the port is 'access' port or a 'trunk' port? 2) To configure compute node on the controller, what changes should I make in my network config file? Regards, Amey. > > > On Wed, Feb 10, 2021 at 9:14 AM Amey Abhyankar <sco1984@gmail.com> wrote: > > > > Hello Jonathan, > > > > On Wed, 10 Feb 2021 at 18:35, Jonathan Rosser > > <jonathan.rosser@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. > > > > > > > > > > > > >
On Wed, Feb 10, 2021 at 11:13 PM Amey Abhyankar <sco1984@gmail.com> wrote: > > On Wed, 10 Feb 2021 at 20:12, Satish Patel <satish.txt@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/ > Thanks. > > 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/ > Nicely documented thanks. > Few questions = > 1) From the switch side, the port is 'access' port or a 'trunk' port? All my switches run on trunk ports and I have Cisco Nexus vPC that is why I created bond0 interface and created multiple VLAN/Bridges on top of that. > 2) To configure compute node on the controller, what changes should I > make in my network config file? I have the same VLAN/Bridge running on controllers and computes. so no special changes required to run the computer on the controller. > > Regards, > Amey. > > > > > > On Wed, Feb 10, 2021 at 9:14 AM Amey Abhyankar <sco1984@gmail.com> wrote: > > > > > > Hello Jonathan, > > > > > > On Wed, 10 Feb 2021 at 18:35, Jonathan Rosser > > > <jonathan.rosser@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. > > > > > > > > > > > > > > > > >
On Thu, 11 Feb 2021 at 19:49, Satish Patel <satish.txt@gmail.com> wrote: > > On Wed, Feb 10, 2021 at 11:13 PM Amey Abhyankar <sco1984@gmail.com> wrote: > > > > On Wed, 10 Feb 2021 at 20:12, Satish Patel <satish.txt@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/ > > Thanks. > > > 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/ > > Nicely documented thanks. > > Few questions = > > 1) From the switch side, the port is 'access' port or a 'trunk' port? > > All my switches run on trunk ports Thanks. Is it mandatory to have trunk ports for OSA installation? For PackStack with Mitaka & Queens, I didn't configure trunk ports and the setup has been working fine for the last 4 years. >and I have Cisco Nexus vPC that is > why I created bond0 interface and created multiple VLAN/Bridges on top > of that. > > > 2) To configure compute node on the controller, what changes should I > > make in my network config file? > > I have the same VLAN/Bridge running on controllers and computes. so no > special changes required to run the computer on the controller. > > > > > Regards, > > Amey. > > > > > > > > > On Wed, Feb 10, 2021 at 9:14 AM Amey Abhyankar <sco1984@gmail.com> wrote: > > > > > > > > Hello Jonathan, > > > > > > > > On Wed, 10 Feb 2021 at 18:35, Jonathan Rosser > > > > <jonathan.rosser@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. > > > > > > > > > > > > > > > > > > > > >
Hi, Well, if you don't care about traffic separation between public, management and storage networks, and you don't need neutron vlan support, you can avoid using trunks. You can just have single br-mgmt bridge with all traffic going through it. You can even avoid creating bridge and lxc containers as well and do all deployment on bare metal. You can set no_containers [1] option inside openstack_user_config.yml for global_overrides section and avoid defining provider_networks overall. So OpenStack-Ansible is really flexible in that. 12.02.2021, 06:38, "Amey Abhyankar" <sco1984@gmail.com>:
-- Kind Regards, Dmitriy Rabotyagov
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@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@gmail.com> 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. Regards, Amey. On Tue, 16 Feb 2021 at 22:31, Satish Patel <satish.txt@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@ya.ru> wrote:
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@gmail.com> wrote:
I posted the output at #openstack-ansible IRC channel a few days back. I am not sure how to pull the old post from IRC after rejoining. If somebody still has the session, pls paste the log here thanks. Regards, Amey. On Tue, 23 Feb 2021 at 10:39, Satish Patel <satish.txt@gmail.com> wrote:
On Tue, 2021-02-23 at 10:56 +0530, Amey Abhyankar wrote: the public archives are here http://eavesdrop.openstack.org/irclogs/%23openstack-ansible/
On Tue, 23 Feb 2021 at 18:41, Sean Mooney <smooney@redhat.com> wrote:
Thanks Sean. @Satish Patel = http://paste.openstack.org/show/802767/ The log & the IRC chat reference = http://eavesdrop.openstack.org/irclogs/%23openstack-ansible/%23openstack-ans...
Try this and see if it works. add this in /etc/openstack_deploy/user_variables.yml and re-deploy. apply_security_hardening: false also if you look into error its something TLS fail, i don't think this is OSA error, why don't you try to clone by hand and see if that command works something like this, lets see if that works without error. git clone --branch=master --depth=20 --no-single-branch -v https://opendev.org/openstack/ansible-hardening /etc/ansible/roles/ansible-hardening On Wed, Feb 24, 2021 at 4:49 AM Amey Abhyankar <sco1984@gmail.com> wrote:
Hello, On Wed, 24 Feb 2021 at 19:36, Satish Patel <satish.txt@gmail.com> wrote:
Try this and see if it works.
add this in /etc/openstack_deploy/user_variables.yml and re-deploy.
I only see 'ansible_facts' dir under '/etc/openstack_deploy'
Make sure you are following AIO instruction properly, it seem you missed something. AIO is mostly simple deployment if you read that guide carefully. Pay attraction to any error in playbook. If all good then you will see bunch of files in /etc/openstack_deploy/ Sent from my iPhone
On Fri, 26 Feb 2021 at 17:05, Satish Patel <satish.txt@gmail.com> wrote:
Make sure you are following AIO instruction properly, it seem you missed something. AIO is mostly simple deployment if you read that guide carefully. Pay attraction to any error in playbook. =
Step 1) Pls open http://paste.openstack.org/show/802767/ Step 2) Observe the error log Step 3) As per the explanation by 1 of the expert at #openstack-ansible IRC channel, the error is due to connectivity issue after executing following command = # scripts/bootstrap-ansible.sh I guess the issue is for users connecting from India. Do we have any users from India who can try the bootstrap command? We just need to validate if bootstrap drops/stops/breaks connectivity at 1 point. I guess bootstrap copies those files under /etc/openstack_deploy/ & if bootstrap itself fails, we wont see those files under /etc/ right?
I have couple of friends in India running openstack-ansible with issue. Not sure if this is something related to your ISP or computer. I don’t think anyone restrict repo for country. Ask in IRC what is the alternative if you won’t able to clone repo Sent from my iPhone
In my following email I was going to say “Without issue” sorry my iPhone keyboard isn’t mechanical. Again my friend from India running OSA and they are happy no issue at all. Sent from my iPhone
participants (6)
-
Amey Abhyankar
-
Dmitriy Rabotyagov
-
Jonathan Rosser
-
roshan anvekar
-
Satish Patel
-
Sean Mooney