Ask Your Question
0

How to disable failover fuction of amphora in Octavia?

asked 2019-03-13 22:21:36 -0500

wby1089 gravatar image

Hi

I have two Openstack pod with Octavia. One is for development, so loadbalancer_topology is SINGLE, another is for production, so loadbalancer_topology is ACTIVE_STANDBY.

While maintenance window, health cheking would be failed and Octavia would try to failover amphra. But if there are some problems in Openstack Infra(eg. AMQP down, all compute nodes down), all amphora instance would be removed and provisioning_status of loadbalancer would be ERROR.

I think ACTIVE_STANDBY topology provides high-availbility already and deleting existing amphora can lead unexpectable situations. So I would like to stop removing amphora automatically by health_manager.

How can I disable automatic failover fuction of amphora? Is it can be done by setting "heartbeat_timeout=604800" ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-04-03 19:44:51 -0500

johnsom gravatar image

Hello,

Yes, that setting would cause the health manager to not failover any instance for up to 604800 seconds.

We don't use AMQP for the health monitoring, so that should not impact this, but having the compute nodes down will certainly cause Octavia to attempt to repair the load balancer amphora on those nodes.

With the active/standby load balancers you should "fail safe" if it is unable to rebuild the failed amphora. This state will have the Load Balancer in provisioning status ERROR, but one of the two amphora instances will still be up and handling traffic. In the case of the node being down, it will resume operation once the compute node is brought back up (aside from TLS offloading as the secure content will likely be gone).

I have put in an RFE to make a more clear setting for this: https://storyboard.openstack.org/#!/s...

Michael

edit flag offensive delete link more

Comments

Hi

Thanks for your answer.

If the RFE is approved, it would be very helpful for production enviroment.

wby1089 gravatar imagewby1089 ( 2019-04-04 20:00:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-03-13 22:21:36 -0500

Seen: 79 times

Last updated: Apr 03