Re-balance command for gateway ports

Bug #1732580 reported by Dong Jun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-ovn
In Progress
Wishlist
Maciej Jozefczyk

Bug Description

--Update description:
I raise this bug based on a realistic question. When we have two gateways and already a lot of lrouters, one of the ovn-controllers is upgraded, all the gateway-ports are scheduled to the other gateway and we can only rebalance them manually by setting OVN NB.
But,it's not easy to distinguish between different scenarios, I will add a command to do this first, and postpone automatical rebalancing until thorough discussions.

Usually, in a real environment, we have multiple gateway chassis for load balancing. But the gateway ports are not re-balanced when a new chassis is added or an existing chassis is updated for physical mapping. This problem is obvious when there are already multiple lRouters. In a re-balancing strategy, we should try to keep most of the lRouters from being affected.

Dong Jun (dongj)
summary: - Re-balance for gateway port
+ Re-balance for gateway ports
description: updated
Revision history for this message
Han Zhou (zhouhan) wrote : Re: Re-balance for gateway ports

Hi Jun, I think auto-rebalancing would impact existing traffic. From operational perspective, I would prefer balancing only for newly added lrouters without touching existing lrouters automatically. What do you think?

Revision history for this message
Guoshuai Li (liguoshuai1990) wrote :

Hello Han,

I agree with your point of view.

I think rebalancing may be used in two scenarios:
1, Customer needs, and know the traffic will be interrupted.
2, Gateway node quickly down/up, auto-rebalancing within a short time.

Revision history for this message
Dong Jun (dongj) wrote :

Hi Han,
I raise this bug based on a realistic question. When we have two gateways and already a lot of lrouters, one of the ovn-controllers is upgraded, all the gateway-ports are scheduled to the other gateway and we can only rebalancing them manually by setting OVN NB.
What you said made sense it's not easy to distinguish between different scenarios, I will add a command to do this first, and postpone automatically balancing until thorough discussions.

Dong Jun (dongj)
summary: - Re-balance for gateway ports
+ Re-balance command for gateway ports
description: updated
Revision history for this message
Han Zhou (zhouhan) wrote :

Yes, having a command to do the rebalancing would be great.

Changed in networking-ovn:
status: New → Confirmed
importance: Undecided → Wishlist
Changed in networking-ovn:
assignee: nobody → Maciej Jozefczyk (maciej.jozefczyk)
Changed in networking-ovn:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-ovn (master)

Fix proposed to branch: master
Review: https://review.opendev.org/663046

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on networking-ovn (master)

Change abandoned by Maciej Józefczyk (<email address hidden>) on branch: master
Review: https://review.opendev.org/663046

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.