$ rosa whoami [arguments]
Using rosa
commands and accessing log files to troubleshoot issues.
Use the following commands to help troubleshoot Red Hat OpenShift Service on AWS (ROSA).
Display information about your AWS and Red Hat accounts.
$ rosa whoami [arguments]
Option | Definition |
---|---|
--help |
Shows help for this command. |
--debug |
Enables debug mode. |
--profile |
Specifies an AWS profile (string) from your credentials file. |
--v level |
Log level for V logs. |
$ rosa whoami
Display the version of your rosa
CLI.
$ rosa version [arguments]
Option | Definition |
---|---|
--help |
Shows help for this command. |
--debug |
Enables debug mode. |
--profile |
Specifies an AWS profile (string) from your credentials file. |
--v level |
Log level for V logs. |
$ rosa version
Use the following commands to check your install and uninstall logs.
Show the cluster install logs.
$ rosa logs install <id> | <name> [arguments]
Option | Definition |
---|---|
--cluster |
The name or ID (string) of the cluster to get logs for. |
--tail |
The number (integer) of lines to get from the end of the log. Default: |
--watch |
Watches for changes after getting the logs. |
Option | Definition |
---|---|
--help |
Shows help for this command. |
--debug |
Enables debug mode. |
--profile |
Specifies an AWS profile (string) from your credentials file. |
--v <level> |
The log level for V logs. |
Show the last 100 install log lines for a cluster named mycluster
:
$ rosa logs install mycluster --tail=100
Show the install logs for a cluster using the --cluster
argument:
$ rosa logs install --cluster=mycluster
Show the cluster uninstall logs.
$ rosa logs uninstall <id> | <name> [arguments]
Option | Definition |
---|---|
--cluster |
The name or ID (string) of the cluster to get logs for. |
--tail |
The number (integer) of lines to get from the end of the log. Default: |
--watch |
Watches for changes after getting the logs. |
Option | Definition |
---|---|
--help |
Shows help for this command. |
--debug |
Enables debug mode. |
--profile |
Specifies an AWS profile (string) from your credentials file. |
--v <level> |
The log level for V logs. |
Show the last 100 uninstall logs for a cluster:
$ rosa logs uninstall --cluster=mycluster --tail=100