Why does the generating sosreport fail with Error "report' is an invalid choice"?
Issue
- Unable to generate
sosreport
. -
sosreport
command failed .# sos report -a usage: sos [-h] [--version] {install,run,dryrun,status,execute,kill,purge,config,convert,remove} ... sos: error: argument {install,run,dryrun,status,execute,kill,purge,config,convert,remove}: invalid choice: 'report' (choose from 'run', 'dryrun', 'status', 'worker', 'remote', 'preview', 'execute', 'kill', 'purge', 'config', 'convert', 'remove') # sos run -a usage: sos run [-h] [-j [WORKERS ...]] [-J EXTERNAL_JOBS] [-c CONFIG_FILE] [-t FILE [FILE ...]] [-q QUEUE [QUEUE ...]] [-r HOST [HOST ...]] [-n] [-s SIGMODE] [-S SIGTYPE] [-T] [-e ERRORMODE] [-d [DAG]] [-p [REPORT]] [-M MONITOR_ID] [-v {0,1,2,3,4}] SCRIPT [WORKFLOW] sos run: error: the following arguments are required: SCRIPT
Environment
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.