Skip to main content
[Host] Bundle self-test diagnostics for support

Usage

vastai dump-logs <machine_id> [--instance-id INSTANCE_ID] [--output-dir DIR] [--include-local-host-artifacts]

Arguments

machine_id
string
required
Machine ID

Options

--instance-id
integer
Instance ID to pull Vast instance logs from
--output-dir
string
Directory for the diagnostic bundle (default: /tmp)
--include-local-host-artifacts
boolean
Include local OS/kaalia artifacts; only use when running on the actual Vast host

Description

Creates a redacted diagnostic tarball containing CLI-visible self-test evidence. If —instance-id is provided, the command also pulls container and daemon logs from the Vast instance logs API. Local OS/kaalia artifacts are only collected with —include-local-host-artifacts. Use that option only when running this command on the actual host machine; from a laptop, it would collect the laptop’s logs instead.

Examples

vastai dump-logs 12345 --instance-id 67890

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)