This article addresses the following pre-check error:
"Pre-check failed: New image/patch incompatible with respect to the Patch operations."
Avi UI Screenshot from version 31.1.1:
This particular upgrade pre-check error is typically encountered in one of two scenarios:
Known Bug in Version 31.1.1: After patching an Avi Controller to version 31.1.1-2px, a known bug can be triggered. If the administrator who performed the upgrade remains in the same user session and navigates to the SEG Update tab, the browser may automatically send a new upgrade request (API POST to api/upgrade). This erroneous request leads to the pre-check failure.
Redundant Upgrade Attempt: The error occurs if an upgrade is manually initiated for a Service Engine Group that is already running the target patch version. For example, this will happen if you attempt to apply a patch 31.1.1-2p1 to a Service Engine Group that is already on version 31.1.1-2p1.
The resolution depends on the cause of the failure.
For the Bug in Version 31.1.1:
For a Redundant Upgrade Attempt:
It is necessary to verify the Service Engine Group's version before starting a patch upgrade to ensure you are not reapplying the same patch.
How to Check the Service Engine Group Version: