How to Generate UCP Advisor Log Bundle via CLI
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

 

Attachments
Service Partner Notes
Employee Notes
Support Center Notes
CXone Metadata