VS_SWITCHOVER events appear under Operations > Events, indicating repeated failover and rebalancing activity.Data-plane traffic disruption, due to frequent VS migrations between Service Engines.
The issue was observed in a setup where the Virtual Service (VS) is configured under a Service Engine Group with the following settings enabled:
High Availability Mode: Active/Standby
Distribute Load: Enabled
Auto-redistribute Load: Enabled
1. The issue was triggered after creating a new Virtual Service "VS2".This VS shared the same VIP as an existing VS "VS1", but both had different active_standby_tag values:
VS1 → ACTIVE_STANDBY_SE_1
VS2 → ACTIVE_STANDBY_SE_2
[admin:avi-local]: > show virtualservice VS1 | grep -i tag
| active_standby_se_tag | ACTIVE_STANDBY_SE_1 |
[admin:avi-local]: > show virtualservice VS2 | grep -i tag
| active_standby_se_tag | ACTIVE_STANDBY_SE_2 |
2. Shared VIPs must always use the same Active/Standby tag.This mismatch caused a placement conflict during the redistribution logic.
3. When placement of the new VS triggered redistribution, Avi attempted to rebalance VSes across SEs. Redistribution succeeded for few VSes but failed for the newly created VS due to the tag mismatch.
4.This led to:
Repeated removal and re-placement attempts for the problematic VS.
Continuous redistribution cycles.
Datastore congestion and eventual data-plane impact.
A new VS (VS2) was created, sharing a VIP with another VS.
The new VS had a different active_standby_tag than the existing VS.
Placement triggered the Redistribution process.
Redistribution moved few VSes from SE1 → SE2 and reassigned tags.
The new VS failed placement due to the configuration mismatch.
Avi attempted to re-place and redistribute again, causing a loop.
Looping continued until one SE rebooted, triggering bail-out logic in the redistribution algorithm.
Post-reboot, stability was restored.
Configuration Consistency:
Ensure all shared VIPs use the same active_standby_tag across all associated Virtual Services.
This guarantees placement and switchover consistency.
Redistribution Control:
Consider disabling the “Enable Auto-redistribute Load” option in the SE Group to prevent unnecessary redistribution loops during configuration changes.
Product Validation:
Engineering will evaluate adding validation logic in future releases to prevent shared VIPs from being configured with mismatched tags.
This check will be added in 31.3.1 Version.
Workaround:
Reboot the Service engine.