auto switch of glance-api containers to other controllers

pradeep pradeep8985 at gmail.com
Mon Dec 12 04:53:05 UTC 2022


Any help is highly appreciated.

Thank you!

On Fri, 9 Dec 2022 at 21:46, pradeep <pradeep8985 at gmail.com> wrote:

> Hi Dmitriy, Thanks for the response.  Sorry, I forgot to mention that i
> used kolla ansible for deployment. As per kolla docs, glance-api container
> runs only in one controller. So i am looking from kolla perspective if it
> can automatically switch it over other available controllers.
>
> Regards
> Pradeep
>
> On Fri, 9 Dec 2022 at 14:51, Dmitriy Rabotyagov <noonedeadpunk at gmail.com>
> wrote:
>
>> Hi,
>>
>> I'm not sure if you used any deployment tool for your environment, but
>> usually for such failover there's a load balancer in conjunction with VRRP
>> or Anycast, that able to detect when controller1 is down and forward
>> traffic to another controller.
>>
>> As example, OpenStack-Ansible as default option installs haproxy to each
>> controller and keepalived to implement VRRP and Virtual IPs. So when glance
>> is down on controller1, haproxy will detect that and forward traffic to
>> other controllers. If controller1 is down as a whole, keepalived will
>> detect that and raise VIP on controller2, so all client traffic will go
>> there. Since controller2 also have haproxy, it will pass traffic to
>> available backends based on the source IP.
>>
>>
>> пт, 9 дек. 2022 г., 09:06 pradeep <pradeep8985 at gmail.com>:
>>
>>> Hello All,
>>>
>>> I understand that glance-api container run only one controller always. I
>>> have tried to check if the glance-api container to switch over to the next
>>> available controller by means of rebooting and stopping the containers, but
>>> nothing happened. Is there a way to make sure that glance-api container
>>> switches to other controllers if controller 1 is not available.
>>>
>>> Thanks for you help
>>>
>>> Regards
>>> Pradeep
>>>
>>>
>>>
>
> --
> -----------------------
> Regards
> Pradeep Kumar
>


-- 
-----------------------
Regards
Pradeep Kumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20221212/37695285/attachment.htm>


More information about the openstack-discuss mailing list