[openstack-community] Octavia :; Unable to create load balancer

Monika Samal monika.samal at outlook.com
Mon Aug 10 11:12:31 UTC 2020


Hey Fabian,

I tried creating and testing instance with my available subnet created for loadbalancer , I am not able to ping it.

Please find below ip a output for controller and deployment node:

Controller Node: 30.0.0.14
[cid:18b1d2b8-1adf-45f1-9dd6-b185223e060e]

Deployment Node: 30.0.0.11

[cid:20b35bae-677f-462c-8c38-7fafdb058219]

[cid:66fb7ccf-ba53-4662-a0b8-b129da885f1a]
________________________________
From: Fabian Zimmermann <dev.faz at gmail.com>
Sent: Monday, August 10, 2020 11:19 AM
To: Michael Johnson <johnsomor at gmail.com>
Cc: Monika Samal <monika.samal at outlook.com>; openstack-discuss <openstack-discuss at lists.openstack.org>; Mark Goddard <mark at stackhpc.com>
Subject: Re: [openstack-community] Octavia :; Unable to create load balancer

Hi,

to test your connection you can create an instance im the octavia network and try to ping/ssh from your controller (dont forget a suitable security group)

 Fabian

Michael Johnson <johnsomor at gmail.com<mailto:johnsomor at gmail.com>> schrieb am Mo., 10. Aug. 2020, 07:44:

That looks like there is still a kolla networking issue where the amphora are not able to reach the controller processes. Please fix the lb-mgmt-net such that it can reach the amphora and the controller containers. This should be setup via the deployment tool, kolla in this case.

Michael

On Sun, Aug 9, 2020 at 5:02 AM Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>> wrote:
Hi All,

Below is the error am getting, i tried configuring network issue as well still finding it difficult to resolve.

Below is my log...if somebody can help me resolving it..it would be great help since its very urgent...

http://paste.openstack.org/show/TsagcQX2ZKd6rhhsYcYd/

Regards,
Monika
________________________________
From: Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>>
Sent: Sunday, 9 August, 2020, 5:29 pm
To: Mark Goddard; Michael Johnson; openstack-discuss
Cc: Fabian Zimmermann
Subject: Re: [openstack-community] Octavia :; Unable to create load balancer

________________________________
From: Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>>
Sent: Friday, August 7, 2020 4:41:52 AM
To: Mark Goddard <mark at stackhpc.com<mailto:mark at stackhpc.com>>; Michael Johnson <johnsomor at gmail.com<mailto:johnsomor at gmail.com>>
Cc: Fabian Zimmermann <dev.faz at gmail.com<mailto:dev.faz at gmail.com>>; openstack-discuss <openstack-discuss at lists.openstack.org<mailto:openstack-discuss at lists.openstack.org>>
Subject: Re: [openstack-community] Octavia :; Unable to create load balancer

I tried following above document still facing same Octavia connection error with amphora image.

Regards,
Monika
________________________________
From: Mark Goddard <mark at stackhpc.com<mailto:mark at stackhpc.com>>
Sent: Thursday, August 6, 2020 1:16:01 PM
To: Michael Johnson <johnsomor at gmail.com<mailto:johnsomor at gmail.com>>
Cc: Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>>; Fabian Zimmermann <dev.faz at gmail.com<mailto:dev.faz at gmail.com>>; openstack-discuss <openstack-discuss at lists.openstack.org<mailto:openstack-discuss at lists.openstack.org>>
Subject: Re: [openstack-community] Octavia :; Unable to create load balancer



On Wed, 5 Aug 2020 at 16:16, Michael Johnson <johnsomor at gmail.com<mailto:johnsomor at gmail.com>> wrote:
Looking at that error, it appears that the lb-mgmt-net is not setup correctly. The Octavia controller containers are not able to reach the amphora instances on the lb-mgmt-net subnet.

I don't know how kolla is setup to connect the containers to the neutron lb-mgmt-net network. Maybe the above documents will help with that.

Right now it's up to the operator to configure that. The kolla documentation doesn't prescribe any particular setup. We're working on automating it in Victoria.


Michael

On Wed, Aug 5, 2020 at 12:53 AM Mark Goddard <mark at stackhpc.com<mailto:mark at stackhpc.com>> wrote:


On Tue, 4 Aug 2020 at 16:58, Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>> wrote:
Hello Guys,

With Michaels help I was able to solve the problem but now there is another error I was able to create my network on vlan but still error persist. PFB the logs:

http://paste.openstack.org/show/fEixSudZ6lzscxYxsG1z/

Kindly help

regards,
Monika
________________________________
From: Michael Johnson <johnsomor at gmail.com<mailto:johnsomor at gmail.com>>
Sent: Monday, August 3, 2020 9:10 PM
To: Fabian Zimmermann <dev.faz at gmail.com<mailto:dev.faz at gmail.com>>
Cc: Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>>; openstack-discuss <openstack-discuss at lists.openstack.org<mailto:openstack-discuss at lists.openstack.org>>
Subject: Re: [openstack-community] Octavia :; Unable to create load balancer

Yeah, it looks like nova is failing to boot the instance.

Check this setting in your octavia.conf files: https://docs.openstack.org/octavia/latest/configuration/configref.html#controller_worker.amp_flavor_id

Also, if kolla-ansible didn't set both of these values correctly, please open bug reports for kolla-ansible. These all should have been configured by the deployment tool.


I wasn't following this thread due to no [kolla] tag, but here are the recently added docs for Octavia in kolla [1]. Note the octavia_service_auth_project variable which was added to migrate from the admin project to the service project for octavia resources. We're lacking proper automation for the flavor, image etc, but it is being worked on in Victoria [2].

[1] https://docs.openstack.org/kolla-ansible/latest/reference/networking/octavia.html
[2] https://review.opendev.org/740180

Michael

On Mon, Aug 3, 2020 at 7:53 AM Fabian Zimmermann <dev.faz at gmail.com<mailto:dev.faz at gmail.com>> wrote:
Seems like the flavor is missing or empty '' - check for typos and enable debug.

Check if the nova req contains valid information/flavor.

 Fabian

Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>> schrieb am Mo., 3. Aug. 2020, 15:46:
It's registered

Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: Fabian Zimmermann <dev.faz at gmail.com<mailto:dev.faz at gmail.com>>
Sent: Monday, August 3, 2020 7:08:21 PM
To: Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>>; openstack-discuss <openstack-discuss at lists.openstack.org<mailto:openstack-discuss at lists.openstack.org>>
Subject: Re: [openstack-community] Octavia :; Unable to create load balancer

Did you check the (nova) flavor you use in octavia.

 Fabian

Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>> schrieb am Mo., 3. Aug. 2020, 10:53:
After Michael suggestion I was able to create load balancer but there is error in status.


[X]

PFB the error link:

http://paste.openstack.org/show/meNZCeuOlFkfjj189noN/
________________________________
From: Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>>
Sent: Monday, August 3, 2020 2:08 PM
To: Michael Johnson <johnsomor at gmail.com<mailto:johnsomor at gmail.com>>
Cc: Fabian Zimmermann <dev.faz at gmail.com<mailto:dev.faz at gmail.com>>; Amy Marrich <amy at demarco.com<mailto:amy at demarco.com>>; openstack-discuss <openstack-discuss at lists.openstack.org<mailto:openstack-discuss at lists.openstack.org>>; community at lists.openstack.org<mailto:community at lists.openstack.org> <community at lists.openstack.org<mailto:community at lists.openstack.org>>
Subject: Re: [openstack-community] Octavia :; Unable to create load balancer

Thanks a ton Michael for helping me out
________________________________
From: Michael Johnson <johnsomor at gmail.com<mailto:johnsomor at gmail.com>>
Sent: Friday, July 31, 2020 3:57 AM
To: Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>>
Cc: Fabian Zimmermann <dev.faz at gmail.com<mailto:dev.faz at gmail.com>>; Amy Marrich <amy at demarco.com<mailto:amy at demarco.com>>; openstack-discuss <openstack-discuss at lists.openstack.org<mailto:openstack-discuss at lists.openstack.org>>; community at lists.openstack.org<mailto:community at lists.openstack.org> <community at lists.openstack.org<mailto:community at lists.openstack.org>>
Subject: Re: [openstack-community] Octavia :; Unable to create load balancer

Just to close the loop on this, the octavia.conf file had
"project_name = admin" instead of "project_name = service" in the
[service_auth] section. This was causing the keystone errors when
Octavia was communicating with neutron.

I don't know if that is a bug in kolla-ansible or was just a local
configuration issue.

Michael

On Thu, Jul 30, 2020 at 1:39 PM Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>> wrote:
>
> Hello Fabian,,
>
> http://paste.openstack.org/show/QxKv2Ai697qulp9UWTjY/
>
> Regards,
> Monika
> ________________________________
> From: Fabian Zimmermann <dev.faz at gmail.com<mailto:dev.faz at gmail.com>>
> Sent: Friday, July 31, 2020 1:57 AM
> To: Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>>
> Cc: Michael Johnson <johnsomor at gmail.com<mailto:johnsomor at gmail.com>>; Amy Marrich <amy at demarco.com<mailto:amy at demarco.com>>; openstack-discuss <openstack-discuss at lists.openstack.org<mailto:openstack-discuss at lists.openstack.org>>; community at lists.openstack.org<mailto:community at lists.openstack.org> <community at lists.openstack.org<mailto:community at lists.openstack.org>>
> Subject: Re: [openstack-community] Octavia :; Unable to create load balancer
>
> Hi,
>
> just to debug, could you replace the auth_type password with v3password?
>
> And do a curl against your :5000 and :35357 urls and paste the output.
>
>  Fabian
>
> Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>> schrieb am Do., 30. Juli 2020, 22:15:
>
> Hello Fabian,
>
> http://paste.openstack.org/show/796477/
>
> Thanks,
> Monika
> ________________________________
> From: Fabian Zimmermann <dev.faz at gmail.com<mailto:dev.faz at gmail.com>>
> Sent: Friday, July 31, 2020 1:38 AM
> To: Monika Samal <monika.samal at outlook.com<mailto:monika.samal at outlook.com>>
> Cc: Michael Johnson <johnsomor at gmail.com<mailto:johnsomor at gmail.com>>; Amy Marrich <amy at demarco.com<mailto:amy at demarco.com>>; openstack-discuss <openstack-discuss at lists.openstack.org<mailto:openstack-discuss at lists.openstack.org>>; community at lists.openstack.org<mailto:community at lists.openstack.org> <community at lists.openstack.org<mailto:community at lists.openstack.org>>
> Subject: Re: [openstack-community] Octavia :; Unable to create load balancer
>
> The sections should be
>
> service_auth
> keystone_authtoken
>
> if i read the docs correctly. Maybe you can just paste your config (remove/change passwords) to paste.openstack.org<http://paste.openstack.org> and post the link?
>
>  Fabian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200810/e6d3b479/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 97899 bytes
Desc: image.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200810/e6d3b479/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 22490 bytes
Desc: image.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200810/e6d3b479/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 24398 bytes
Desc: image.png
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200810/e6d3b479/attachment-0005.png>


More information about the openstack-discuss mailing list