[octavia] problems configuring octavia

Daniel Macdonald D.R.MacDonald at salford.ac.uk
Tue Jan 12 11:03:22 UTC 2021


Hi Michael

Thanks for your response. It is useful to know that DNS isn't causing my problems.

I have a few more things I need to try, hopefully I'll get through it today then if I still have issues I will use the charms tag for my next post.
________________________________
From: Michael Johnson <johnsomor at gmail.com>
Sent: 11 January 2021 23:43
To: Daniel Macdonald <D.R.MacDonald at salford.ac.uk>
Cc: openstack-discuss at lists.openstack.org <openstack-discuss at lists.openstack.org>; Adekunbi Adewojo <A.A.Adewojo at edu.salford.ac.uk>
Subject: Re: [octavia] problems configuring octavia

Hi Daniel,

It might be helpful to use the [charms] in the subject as I think everything you mentioned here is related to the Ubuntu/juju/charms deployment tooling and not the Octavia project. I don't have any experience with doing a deployment with charms, so I can't be of much help there.

That said, Octavia does not rely on DNS for any of its operations. This includes the lb-mgmt-net and for the load balancing elements. So, the lack of access to BIND for Octavia is not a problem.

Michael

On Fri, Jan 8, 2021 at 8:16 AM Daniel Macdonald <D.R.MacDonald at salford.ac.uk<mailto:D.R.MacDonald at salford.ac.uk>> wrote:
Happy new year Openstack users and devs!

I have been trying on and off for several months to get octavia working but I have yet to have it successfully create a loadbalancer. I have deployed OS bionic-train using the Charms telemetry bundle with the octavia overlay. Openstack is working for creating regular instances but I get various errors when trying to create a loadbalancer.

The first issue I feel I should mention is that I am using bind running on our MAAS controller as a DNS server. juju doesn't work if I enable IPv6 under bind yet the octavia charm defaults to using IPv6 for its management network so I have tried creating a IPv4 management network but I'm still having problems. For more details on that please see the comments of this bug report:

https://bugs.launchpad.net/charm-octavia/+bug/1897418<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fcharm-octavia%2F%2Bbug%2F1897418&data=04%7C01%7CD.R.MacDonald%40salford.ac.uk%7C2e21eecf397e46d7a54008d8b68abf10%7C65b52940f4b641bd833d3033ecbcf6e1%7C0%7C0%7C637460054322305308%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=OKMr6cKS8Rmm5zEvkfl2qfGg6OtP51Mda3ToLii%2BOMU%3D&reserved=0>
Bug #1897418 “feature request: have option to use ipv4 when sett...” : Bugs : OpenStack Octavia Charm<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugs.launchpad.net%2Fcharm-octavia%2F%2Bbug%2F1897418&data=04%7C01%7CD.R.MacDonald%40salford.ac.uk%7C2e21eecf397e46d7a54008d8b68abf10%7C65b52940f4b641bd833d3033ecbcf6e1%7C0%7C0%7C637460054322305308%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=OKMr6cKS8Rmm5zEvkfl2qfGg6OtP51Mda3ToLii%2BOMU%3D&reserved=0>
By default, Octavia charm uses ipv6 for its lb-mgmt-subnet.[1] It would be nice to have the option to choose an ipv4 network from the start instead of deleting the ipv6 network and recreating the ipv4 subnet. Implementation - possible configuration option parameter when deploying. [1] https://opendev.org/openstack/charm-octavia/src/branch/master/src/lib/charm/openstack/api_crud.py#L560<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fopendev.org%2Fopenstack%2Fcharm-octavia%2Fsrc%2Fbranch%2Fmaster%2Fsrc%2Flib%2Fcharm%2Fopenstack%2Fapi_crud.py%23L560&data=04%7C01%7CD.R.MacDonald%40salford.ac.uk%7C2e21eecf397e46d7a54008d8b68abf10%7C65b52940f4b641bd833d3033ecbcf6e1%7C0%7C0%7C637460054322315263%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=MlixAM5GeFKSGFamG13AkRA7NXx0ZKiIuFq36SSCLWE%3D&reserved=0>
bugs.launchpad.net<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbugs.launchpad.net%2F&data=04%7C01%7CD.R.MacDonald%40salford.ac.uk%7C2e21eecf397e46d7a54008d8b68abf10%7C65b52940f4b641bd833d3033ecbcf6e1%7C0%7C0%7C637460054322315263%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=J7lv%2F6UwYRIrbj5NYneJQ%2BFe3SV7FchnIo38ByJA%2BCI%3D&reserved=0>

Another notable issue I have is that after installing the charms telemetry bundle I have 2 projects call services. How do I know which is the correct one to use for Octavia?


Is this following document going to be the best guide for me to follow to complete the final steps required to get Octavia (under Train) working:

https://docs.openstack.org/octavia/latest/install/install-ubuntu.html#install-and-configure-components<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.openstack.org%2Foctavia%2Flatest%2Finstall%2Finstall-ubuntu.html%23install-and-configure-components&data=04%7C01%7CD.R.MacDonald%40salford.ac.uk%7C2e21eecf397e46d7a54008d8b68abf10%7C65b52940f4b641bd833d3033ecbcf6e1%7C0%7C0%7C637460054322315263%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=zuU4VXC7EdlDkn1XILagFL0w9osnimSogUVFnniO4gA%3D&reserved=0>
OpenStack Docs: Install and configure for Ubuntu<https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.openstack.org%2Foctavia%2Flatest%2Finstall%2Finstall-ubuntu.html%23install-and-configure-components&data=04%7C01%7CD.R.MacDonald%40salford.ac.uk%7C2e21eecf397e46d7a54008d8b68abf10%7C65b52940f4b641bd833d3033ecbcf6e1%7C0%7C0%7C637460054322325210%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=KI4rlIis%2B0yUiA9XWSw67H6ABwDnMQXB3H07zAFcQUU%3D&reserved=0>
Install and configure for Ubuntu¶. This section describes how to install and configure the Load-balancer service for Ubuntu 18.04 (LTS).
docs.openstack.org<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdocs.openstack.org%2F&data=04%7C01%7CD.R.MacDonald%40salford.ac.uk%7C2e21eecf397e46d7a54008d8b68abf10%7C65b52940f4b641bd833d3033ecbcf6e1%7C0%7C0%7C637460054322325210%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=M4YCapLZMeps0BIYqIYHtRetU55WEcziPDPC7wmznXA%3D&reserved=0>

I'm hoping someone has already written an easy to follow guide to using Octavia with an IPv4 management network using the Charms bundle to do most of the installation work?

Thanks




[University of Salford]
DANIEL MACDONALD
Specialist Technical Demonstrator
School of Computing, Science & Engineering
Room 145, Newton Building, University of Salford, Manchester M5 4WT
T: +44(0) 0161 295 5242
D.R.MacDonald at salford.ac.uk<https://salfordexchangefarm.salford.ac.uk/owa/redir.aspx?C=xTvsJHwNEL3cOizCYK_pb0el31VwImR0vRBsZjvhd_Sw2Pp_UvzVCA..&URL=mailto%3aD.R.MacDonald%40salford.ac.uk>  /  www.salford.ac.uk<https://salfordexchangefarm.salford.ac.uk/owa/redir.aspx?C=VZufnsIyPXegmGvPxo3ptHJxd87RD_zf2urSdngeex2w2Pp_UvzVCA..&URL=http%3a%2f%2fwww.salford.ac.uk%2f>
[CSE]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210112/96123593/attachment-0001.html>


More information about the openstack-discuss mailing list