How to download a log bundle when VCF Automation or VCF Identity Broker deployment or upgrades failed
search cancel

How to download a log bundle when VCF Automation or VCF Identity Broker deployment or upgrades failed

book

Article ID: 398776

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

In this article we explain how to download a log bundle when VCF Automation or VCF Identity Broker deployment or upgrades failed from VCF Operations fleet management 

Environment

A failed VCF Automation or VCF Identity Broker environment. 

Cause

Logs can't be downloaded from the UI until the deployment in Fleet Management is complete. This procedure provides an alternate way.

Resolution

Prerequisites

  • Failure Context: This applies to VMSP install/upgrade failures occurring after the VMSP deployment has completed in vRLCM.
  • VMSP Instance Availability: The VMSP instance must still be available and accessible.
  • vRLCM Environment State: The failed environment must exist within vRLCM and should be no older than 30 days.
  • Required Inputs: Ensure you have the following information ready:
    • failed environmentId
    • failed requestId
    • vRLCM admin username
    • vRLCM admin password
    • root password
    • Folder path to download the log bundle [path from vRLCM terminal itself]

Procedure

  1. Login: Log in to the vRLCM instance terminal.
  2. Create Script File: Create a new shell script file (e.g., LogBundleSupport.sh).
  3. Paste Script Content: Copy the contents of the LogBundleSupport.sh script (see below) and paste it into the file.
  4. Execute Script: Run the script using the command: ./LogBundleSupport.sh
  5. Provide Inputs: The script will prompt you for the required inputs (listed in the Prerequisites). Enter each value accurately.
  6. Verification: After the script completes, check the specified download folder path to confirm that the log bundle has been successfully generated and downloaded.

Attachments

LogBundleSupport.sh get_app