Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Thanks to Ido Raday for this amazing troubleshooting guide!

Introduction

This is an interactive guide for debugging the auto triage process.

...

  • Enter the directory with the correct device-id 

  • Enter the directory - artifacts

  • Enter the directory with the correct job-id

  • Enter the directory -  job_events

  • Normally the last event is a summary of the whole playbook failure and not very helpful. Try to review previous events and find an event with runner_on_failed.Look at the ‘stdout’ file in this directory. This should give the full output of the Ansible run. E.g.,

    Code Block
    /usr/share/indeni-services/logs/ansible/<device_id>/artifacts/<job_id>/stdout
  • Inside there is usually the exception of the failure.

  • If the logs are failure message in the log is not clear  - goto “Open ticket for Server team”

...