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

Mark Goddard mark at stackhpc.com
Thu Aug 6 07:46:01 UTC 2020


On Wed, 5 Aug 2020 at 16:16, Michael Johnson <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> wrote:
>
>>
>>
>> On Tue, 4 Aug 2020 at 16:58, Monika Samal <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>
>>> *Sent:* Monday, August 3, 2020 9:10 PM
>>> *To:* Fabian Zimmermann <dev.faz at gmail.com>
>>> *Cc:* Monika Samal <monika.samal at outlook.com>; openstack-discuss <
>>> 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>
>>> 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> 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>
>>> *Sent:* Monday, August 3, 2020 7:08:21 PM
>>> *To:* Monika Samal <monika.samal at outlook.com>; openstack-discuss <
>>> 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> schrieb am Mo., 3. Aug. 2020,
>>> 10:53:
>>>
>>> After Michael suggestion I was able to create load balancer but there is
>>> error in status.
>>>
>>>
>>>
>>> PFB the error link:
>>>
>>> http://paste.openstack.org/show/meNZCeuOlFkfjj189noN/
>>> ------------------------------
>>> *From:* Monika Samal <monika.samal at outlook.com>
>>> *Sent:* Monday, August 3, 2020 2:08 PM
>>> *To:* Michael Johnson <johnsomor at gmail.com>
>>> *Cc:* Fabian Zimmermann <dev.faz at gmail.com>; Amy Marrich <
>>> amy at demarco.com>; openstack-discuss <
>>> openstack-discuss at lists.openstack.org>; community at lists.openstack.org <
>>> 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>
>>> *Sent:* Friday, July 31, 2020 3:57 AM
>>> *To:* Monika Samal <monika.samal at outlook.com>
>>> *Cc:* Fabian Zimmermann <dev.faz at gmail.com>; Amy Marrich <
>>> amy at demarco.com>; openstack-discuss <
>>> openstack-discuss at lists.openstack.org>; community at lists.openstack.org <
>>> 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>
>>> wrote:
>>> >
>>> > Hello Fabian,,
>>> >
>>> > http://paste.openstack.org/show/QxKv2Ai697qulp9UWTjY/
>>> >
>>> > Regards,
>>> > Monika
>>> > ________________________________
>>> > From: Fabian Zimmermann <dev.faz at gmail.com>
>>> > Sent: Friday, July 31, 2020 1:57 AM
>>> > To: Monika Samal <monika.samal at outlook.com>
>>> > Cc: Michael Johnson <johnsomor at gmail.com>; Amy Marrich <
>>> amy at demarco.com>; openstack-discuss <
>>> openstack-discuss at lists.openstack.org>; community at lists.openstack.org <
>>> 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> 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>
>>> > Sent: Friday, July 31, 2020 1:38 AM
>>> > To: Monika Samal <monika.samal at outlook.com>
>>> > Cc: Michael Johnson <johnsomor at gmail.com>; Amy Marrich <
>>> amy at demarco.com>; openstack-discuss <
>>> openstack-discuss at lists.openstack.org>; community at lists.openstack.org <
>>> 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 and post the link?
>>> >
>>> >  Fabian
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20200806/f7907445/attachment-0001.html>


More information about the openstack-discuss mailing list