Troubleshooting
Problem
When running must-gather for Cloud Pak for Security, user may run into unknown flag error.
Example:
cpctl run mustgather --token AAV_xxxxxxxbRq_xxxxxxUZxxxvxxxxxxxx --namespaces cp4s
Error: unknown flag: --token
Usage:
cpctl run [flags]
Flags:
-h, --help help for run
Global Flags:
--kubeconfig path Explicitly set the Kubernetes config file path to use, don't autodetect from the environment
-n, --namespace string CloudPak for Security's namespace, set if different to the current Kubernetes config context
Resolving The Problem
This error is displayed since cpctl tool is not initialized.
In order to resolve this error - Please perform "cpctl load" and run the must-gather again.
Document Location
Worldwide
[{"Line of Business":{"code":"LOB24","label":"Security Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTDPP","label":"IBM Cloud Pak for Security"},"ARM Category":[{"code":"a8m0z000000Xat9AAC","label":"Documentation"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.5.0"}]
Was this topic helpful?
Document Information
Modified date:
15 January 2021
UID
ibm16404596