Skip to content
Friday, June 20, 2025
  • News
  • Forums
  • Contact
  • About Me

Tech Talks by Eknath

Innovate Daily

  • Home
  • VMware
    • vSAN
    • vSphere
    • Horizon cloud on Azure
    • NSX
    • VCAP 6 – DCV
  • Cloud
    • AWS
    • Azure
      • Mock Test
    • GCP
  • K8s
    • CKA and CKAD
  • Automation
    • Powershell
  • TANZU
    • TKG
      • TKG on Azure
      • TKG on AWS
      • TKG on vSphere
      • TKGs
    • TAP
      • TAP on AKS
      • TAP on EKS
      • TAP on GKE
    • TBS
    • TAS
    • TMC
    • Harbor
  • Tanzu Application Platform: Getting started with Learning Center
  • Why Secure Software Supply Chain is really important ?
  • Tips to secure your Tanzu application platform workloads
  • Integrating Okta authentication with Tanzu Application Platform
  • Speed App Delivery using Tanzu Application Platform and GitOps
You are here
Home > TAP > TAP Multi Cluster Troubleshooting- An error occurred while loading data from the Metadata Store: Unauthorized

TAP Multi Cluster Troubleshooting- An error occurred while loading data from the Metadata Store: Unauthorized

  • TAP
Eknath - 24 December 202226 December 2022
Reading Time: 2 mins

Contents

Toggle
  • Overview
  • Create service account
  • View Vulnerability Scan Results

Overview

Different Tanzu Application Platform GUI plug-ins use SCST – Store to display information about vulnerabilities and packages. Some errors visible in Tanzu Application Platform GUI are related to this connection.This post explains the steps to fix the error message An error occurred while loading data from the Metadata Store you see in TAP GUI Supply Chain Choreographer plug-in.

In TAP-GUI, navigate to Supply Chains plugin section, select the workload > click on source scanner or image scanner, you see the error message An error occurred while loading data from the Metadata Store as shown below:

Create service account

## Switch to View cluster

kubectl apply -f - -o yaml << EOF
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: metadata-store-read-only
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: metadata-store-read-only
subjects:
- kind: ServiceAccount
name: metadata-store-read-client
namespace: metadata-store
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: metadata-store-read-client
namespace: metadata-store
annotations:
kapp.k14s.io/change-group: "metadata-store.apps.tanzu.vmware.com/service-account"
automountServiceAccountToken: false
---
apiVersion: v1
kind: Secret
type: kubernetes.io/service-account-token
metadata:
name: metadata-store-read-client
namespace: metadata-store
annotations:
kapp.k14s.io/change-rule: "upsert after upserting metadata-store.apps.tanzu.vmware.com/service-account"
kubernetes.io/service-account.name: "metadata-store-read-client"
EOF
kubectl get secrets metadata-store-read-client -n metadata-store -o jsonpath="{.data.token}" | base64 -d

Add this proxy configuration to the tap-gui: section of tap-values.yamlof view profile as shown below:

Note: The Authorization value must start with the word Bearer.

Update view cluster

$ tanzu package installed update tap -f tap-values-view.yaml -n tap-install
Updating installed package 'tap'
Getting package install for 'tap'
Getting package metadata for 'tap.tanzu.vmware.com'
Updating secret 'tap-tap-install-values'
Updating package install for 'tap'
Waiting for 'PackageInstall' reconciliation for 'tap'
'PackageInstall' resource install status: ReconcileSucceeded
Updated installed package 'tap' in namespace 'tap-install'

View Vulnerability Scan Results

Click the Source Scan stage or Image Scan stage to view vulnerability source scans and image scans for workload builds. CVE issues represent any vulnerabilities associated with a package or version found in the source code or image, including vulnerabilities from past scans.

 

Tagged CVE Metadata Store multi-cluster tanzu application platform TAP tap 1.3

Post navigation

Previous article
TAP Multi Cluster (1.3) : Part 3 – Deploy Application
Next article
TAP Multi Cluster – App Live View

Author – Eknath Reddy

Recent Posts

  • Tanzu Application Platform: Getting started with Learning Center
  • Why Secure Software Supply Chain is really important ?
  • Tips to secure your Tanzu application platform workloads

Awards

Recent Comments

  • Eknath on Tanzu Mission Control API Overview
  • Dean L on Tanzu Mission Control API Overview
  • Eknath on TAP On AKS (1.0.0) : Part 2 – Install TAP with supply chain testing in ACR repo

Twitter feed is not available at the moment.

Calander

June 2025
S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930  
« Jul    

Must Read

Register, Attach Kubernetes cluster in TMC using CLI

Posted on 15 March 202215 March 2022
No image

HA Functionality

Posted on 28 January 201929 January 2019

TAP On GKE (1.0.0) : Part 1 – Prepare The Setup

Posted on 14 January 202226 January 2022
No image

Tips for VMware Cloud on AWS management exam

Posted on 15 February 20198 March 2019

New

Tanzu Application Platform: Getting started with Learning Center

Posted on 25 July 2023

Why Secure Software Supply Chain is really important ?

Posted on 28 May 2023

Tips to secure your Tanzu application platform workloads

Posted on 14 May 202314 May 2023

Integrating Okta authentication with Tanzu Application Platform

Posted on 12 May 202316 May 2023
© 2025 All Rights Reserved. Captain Virtualization
Powered by WordPress | Theme: AccessPress Mag
Top