Generating a VCF Management Services Support Bundle Using VCF Services Runtime API when Fleet lifecycle is unavailable
search cancel

Generating a VCF Management Services Support Bundle Using VCF Services Runtime API when Fleet lifecycle is unavailable

book

Article ID: 444466

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

When there is an ongoing issue with VCF Management Services, it may not be possible to generate a support bundle using the standard mechanism of triggering from the Fleet Lifecycle UI or API. In such cases, we need a mechanism to trigger and download a support bundle for the VCF management services programmatically using the VCF Services Runtime API.

Environment

VCF 9.1

Cause

Support bundle collection is only available through the UI by default. In environments where UI access is unavailable or automation is required, the API can be used directly.

Resolution

An interactive script (Version 9.1) is now attached to this article to automate bundle downloads for VCF Service Runtime and VCFA clusters.
To use the script, you only need to provide the VCF services runtime FQDN for the target VCFA or VCF Management Services cluster. The script will securely prompt for your password and automatically complete the rest of the download process.

Below is the example for the Script in action:

./9.1-download-support-bundle.sh

VCF Services runtime FQDN (e.g. platform.example.com): vmsp-platform.vrack.vsphere.local

Password for admin@vsp. local:

Lookback window in days [2]: 2

Requesting access token...

Discovering support bundle components...

Discovered components: salt, salt-raas,telemetry-acceptor, vcf-fleet-depot, vcf-fleet-lcm, vcf-sddc-lcm, vidb, vsp

Requesting support bundle generation (lookback window: 2d)...

Bundle ID: isqq6vdijvdmfedsdu7fngu7sm

Polling for download link (every 15s, timeout 3600s)...

status: Progressing

status: Progressing

Status: Progressing

status: Progressing 

status: Success

Support bundle ready.

Download link:

https://vmsp-platform.vrack.vsphere.local/api/v1/signed-support-bundles/vcf-bundle-isqq6vdijvdmfedsdu7fngu7sm.tgz?expires=2026-08-07T022614Z&sig=67d97cb50ee9ef9d5e79fb3b20d1be5cc29a9cb58d31a29dcfac063388461384

Copy paste this link in browser and it will start a download in browser download manager

Attachments

VMSP-Cluster-9.1-download-support-bundle.sh get_app