Checking Salt Logs

Logs are the most critical resource for diagnosing the reason for a state (such as a Cloudera Manager installation) failure.

On the nodes (local logs)

The default log directory for Salt is /var/log/salt/.
  • Master logs directory - /var/log/salt/master

    Contains errors regarding key exchange and command distribution.

  • Minion logs director - /var/log/salt/minion

    Contains errors regarding state execution and local package installation.

  • Bootstrap logs directory - /var/log/salt-bootstrap.log or /var/log/cloud-init-output.log

    Useful for failures that happen before Salt is fully installed.

On cloud storage

Cloudera environments are often configured to bundle and upload logs to cloud storage (S3, ADLS, or GCS) if a cluster creation fails.
  • Location: Look in your environment's logging bucket to find salt logs.
  • Content: You will find salt-master or salt-minion bundles containing the logs from all nodes, often indexed by their private IP.