Avi service engine group upgrade error - "New image/patch incompatible with respect to the Patch operations."
search cancel

Avi service engine group upgrade error - "New image/patch incompatible with respect to the Patch operations."

book

Article ID: 395043

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

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:

Cause

This particular upgrade pre-check error is typically encountered in one of two scenarios:

  1. 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.

  2. 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.

 

Resolution

The resolution depends on the cause of the failure.

  1. For the Bug in Version 31.1.1:

    • Workaround: Log out of the Avi Controller session and then log back in. Establishing a new session will prevent the erroneous API call from being sent.
    • Permanent Fix: This issue is resolved in Avi version 31.2.1 and newer.
  2. 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:

      1. In the Avi UI, navigate to Infrastructure > Cloud Resources > Service Engine Group.
      2. Find the relevant group in the list and check the Version column to confirm its current version.