Skip to content
logo logoSelf Service
Sign In Sign Up
  • Home
  • Knowledgebase
Back

How to Generate UCP Advisor Log Bundle via CLI

Updated 08/18/2024 09:38:00 PM by hvuser
  • PDF
  • Print
  • Share
    • Facebook
  • Copy To Clipboard
  • Collapse All Expand All

Content

 

You can generate a log bundle using the CLI if you are unable to generate it using UCP Advisor.

 

Procedure

  1. Log on to the Master Node VM as a ucpadmin user.

  2. Identify the UCP Advisor version. Enter:
    kubectl -n ucp get crd consolidationinformations.ucp.hitachivantara.com -ojson |grep -w storedVersions -A 2

  3. Sample output:
    "storedVersions": ["v5"]

  4. Create a yaml file in an editor:
    apiVersion: ucp.hitachivantara.com/<UCP Advisor version>
    kind: GenerateLogBundle
    metadata:
      name: <name of the log bundle>
    spec:
      timestamp: now


    Sample yaml file:
    apiVersion: ucp.hitachivantara.com/v5
    kind: GenerateLogBundle
    metadata:
      name: test
    spec:
      timestamp: now

  5. Exit the edit mode. Press the Esc key.

  6. Save the changes. Enter:
    :wq

  7. Generate the log bundle using the yaml file that you just created. Enter:
    $ kubectl -n ucp apply -f <yaml file name>

Next steps

  1. Check the status of the log bundle. Enter:
    $ kubectl -n ucp get glb
  2. Verify the details of the log bundle. Enter:
    $ kubectl -n ucp describe glb

 

Parent Topic
  • Extras
Keywords: https://knowledge.hitachivantara.com/Support_Information/Data_Collection/Converged_Infrastructure/How_to_Generate_UCP_Advisor_Log_Bundle_via_CLI

Related Solutions

  • HCP Anywhere Data Collection
  • CHANGING DISCOVERY METHOD FROM BROCADE API TO SMI-A for HSSM v5
  • How to Collect UCP Advisor Log Bundle
  • Brocade VDX Data Collection Review
  • Resource Manager Data Collection Procedures
Solution ID
242403060184896
Last Modified Date
08/18/2024 09:38:00 PM
Attributes
Page Privacy and Permission Assignment
  • Page Privacy: Private
  • Page Level Permissions: Anonymous; Employee; Service Partner; Customer; Knowledge Author; Knowledge Editor; IT; eServices; Knowledge Draft
  • Article: reference
  • Pagetype: documentationarticle
Taxonomy
  • Support Information > Data Collection > Converged Infrastructure
Collections
  • Guest (Public)

Solution to Copy:

Copy to Clipboard

Failed to download PDF file.

Problem creating pdf file for the solution: 242403060184896
Close

Acknowledged.

Thank you for acknowledging that you have read and understood this solution.

Failure.

Unable to acknowlege. An error occurred.
Knowledge
  • Knowledgebase
Helpful Links
  • Community
  • Product Documentation
Upland RightAnswers | Self Service - 2024R2
© Tue Jul 15 18:12:27 EDT 2025 Upland Software, Inc. All Rights Reserved