Jump to content

Recommended Posts

Antipova Anna
Posted

Advice and Solutions (Forum Knowledgebase) Disclaimer. Read before using materials.

This article is fully applicable to KSB 2.0 server as well

You may want to gather KATA Sandbox diagnostics via SSH, without accessing Web UI. Here's how to do it.

Step-by-step guide

Login to Sandbox via SSH and become root. Then, execute the command:

Produce collect
sb-logs --create '/tmp' '-7'
chmod 777 /tmp/sandbox-debug-report*

sandbox-debug-report%timestamp%.tar.gz archive will be created in /tmp directory. Its name will be printed in the output, .e.g

/tmp/sandbox-debug-report.2022-12-13.2022-12-20.tar.gz

Use this full path as input for local scp to download it:

Retrieve using scp
scp admin@SB_IP:/tmp/path/to/sandbox-debug-report
  • Like 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now


×
×
  • Create New...