Package install reconciliation failure for the Antrea package install after update
search cancel

Package install reconciliation failure for the Antrea package install after update

book

Article ID: 415370

calendar_today

Updated On:

Products

Tanzu Kubernetes Runtime

Issue/Introduction

  • After upgrading from TKGm 2.5.3 to 2.5.4 and then upgrading a workload cluster from v1.27 to v1.28, the update was successful, but with the following warning.

    Warning: Cluster is upgraded successfully, but some packages are failing. failure while waiting for packages to be installed: package reconciliation failed. package: antrea, reason: Stopped installing matched version '1.15.1+vmware.1-tkg.4' since last attempted version '1.15.1+vmware.1-tkg.3-vmware' is higher. hint: Add annotation packaging.carvel.dev/downgradable: "" to PackageInstall to proceed with downgrade Cluster 'play-tk' successfully upgraded to kubernetes version 'v1.28.15+vmware.7'

 

 

Environment

2.5.2

2.5.4

Cause

This error occurs because kapp-controller interprets the previously installed version (1.15.1+vmware.1-tkg.3-vmware) as higher than the desired version (1.15.1+vmware.1-tkg.4). By default, the controller does not allow downgrades unless explicitly permitted.

Resolution

  1. Edit the Antrea package installation.
    kubectl edit pkgi antrea -n tkg-system

  2. Add the below annotation to the package install of Antrea.
    packaging.carvel.dev/downgradable: ""