Tanzu Hub support bundle fails to generate
search cancel

Tanzu Hub support bundle fails to generate

book

Article ID: 433488

calendar_today

Updated On:

Products

VMware Tanzu Platform - Hub

Issue/Introduction

Attempting to generate a new support bundle through the Tanzu Hub UI results in "Support bundle generation error - There was an error generating the support bundle. Please try again later."

Resolution

Attempt to generate the support bundle manually via BOSH CLI - 

bosh -d <Hub Deployment> run-errand support-bundle

This should either succeed or give more detail on cause of failure. If this is success, the errand prepares a support bundle ready to be downloaded from the registry VM under /var/vcap/sys/log/support-bundle  the file name is log-bundle-<date>.tar.gz.

If you would like to download the support-bundle in your local so you can use below command.

 

bosh -d <Hub Deployment> scp registry/0:/var/vcap/sys/log/support-bundle/log-bundle-<date>.tar.gz .

 

A support bundle can also be generated directly on registry VM by steps:

 

 

1) SSH to registry VM:

 bosh ssh registry -d<Hub Deployment>

2) Command to generate support bundle:

/var/vcap/data/packages/hubsm-cli/#######/bin/tanzu-sm-installer support --kubeconfig /var/vcap/jobs/hubsm-install/config/kubeconfig

If UI support bundle generation continues to fail, then please capture the following artifacts for review:

  • HAR file containing response from GraphQL request
  • Ensemble-rest-provider pod logs just after error occurs. 
  • Trigger errand from Operations Manager and then bosh logs to collect all logs from VM (including support bundle)