Post TAP (Tanzu Application Platform) upgrade, Application Live View is showing error in Tanzu Developer Portal
search cancel

Post TAP (Tanzu Application Platform) upgrade, Application Live View is showing error in Tanzu Developer Portal

book

Article ID: 383903

calendar_today

Updated On:

Products

VMware Tanzu Application Platform

Issue/Introduction

Post TAP (Tanzu Application Platform) upgrade, Application Live View is showing error in Tanzu Developer Portal. 

And 400 status code can be observed by inspecting the page.

{
    "timestamp": "2024-12-11T01:11:06.410+00:00",
    "path": "/api/apps/123abc",
    "status": 400,
    "error": "Bad Request",
    "message": "Required query parameter 'clusterName' is not present.",
    "requestId": "456xyz"
}

Resolution

You might have upgraded the tap-gui package separately in the earlier version by creating an overlay similar to below:

---
apiVersion: packaging.carvel.dev/v1alpha1
kind: PackageRepository
metadata:
  name: tap-repository-1-9-1
  namespace: tap-install
spec:
  fetch:
    imgpkgBundle:
      image: registry.tanzu.vmware.com/vmware-tap-packages/tap-packages:1.9.1
--- 
apiVersion: v1
kind: Secret
metadata:
  name: tap-gui-version-overlay
  namespace: tap-install
stringData:
  overlay-tap-pkgi.yml: |
    #@ load("@ytt:overlay", "overlay")
    #@overlay/match by=overlay.subset({"kind": "PackageInstall", "metadata": {"name": "tap-gui"}}), expects="0+"
    ---
    spec:
      packageRef:
        versionSelection:
          constraints: 1.9.2

If possible, please upgrade the tap-gui package to the latest desired version and you can retrieve the version info by running tanzu package available list tap-gui.tanzu.vmware.com -n tap-install. This can be simply achieved by removing the overlay file and the annotation you configured in the old version.

Contact the Tanzu support team shall you need any further assistance or explanation.