AVI Service Engine Crash Resulting from Pool and L4 Policy Configuration Conflict
book
Article ID: 428557
calendar_today
Updated On:
Products
VMware Avi Load Balancer
Issue/Introduction
A Service Engine crash may occur when a Virtual Service is created or updated with both a pool and an L4 policy that references the same pool in a single configuration update.
The failure occurs only during the first update where both the pool and the L4 policy referencing that pool are attached simultaneously. After the Service Engine restarts and the configuration is reapplied, the VS operates normally without further issues.
A Stack trace similar to the one below can be seen under "Administration -> Support -> Crash reports -> core_archive.<timestamp>.tar.gz"
Environment
VMware Avi Load Balancer
Affected Versions:
22.1.x
30.1.x
30.2.1-30.2.6
31.x
Cause
When a pool and an L4 policy referencing the same pool are attached to a Virtual Service in a single update, the datapath processes the pool unlink operation before the corresponding link operation leading to the crash
Resolution
A fix has been implemented to prevent the 'se_dp' crash by ensuring proper handling of pool and policy updates when both are attached to a Virtual Service in the same configuration transaction.
The issue is fixed in the following releases:
30.2.7 and above
31.2.3 and above
32.2.1 and above
AV-263462: Service Engine Failure During Virtual Service Update with Shared Pool and L4 Policy Configuration
Workaround: If an upgrade is not immediately possible, follow these steps:
Remove the L4 policy from the Virtual Service configuration.
Apply the pool configuration first.
After the VS is placed and stable, add the L4 policy in a separate update.
For more information on L4 policies, please refer the below document L4-Policies
Additional Information
For further assistance, Collect the SE Tech Support and Controller Debug logs and contact AVI Support Team