Examining Nomad Logs

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

In this hands-on lab, you will be provided a Nomad job file to use with the supplied Nomad server. This job file has an error that will cause it to fail. You will need to utilize the logs from the Nomad service, to troubleshoot, and resolve the issue.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Log in to the Provided Nomad Server
  1. Log in to the server using the credentials provided.

    Note: The Nomad server has been configured with one server agent and one client agent. Docker has been installed so Nomad is ready to run jobs.

Run the `main-application.nomad` Job File
  1. In the cloud_user home folder, run the main-application.nomad job file.
Use the Nomad Logs to Troubleshoot the Issue
  1. Using the logs from Nomad for the failed allocation, work out the problem that caused the failure.
  2. Fix the problem and resubmit the job.

Additional Resources

A new team member has created a job file for Nomad that has problems. They have asked you to look at it, and help them resolve the issue.

You will need to use the logs provided by Nomad to work out the problem, and then resolve the issue.

To test that the problem has been resolved, you will then need to submit the job to run in the provided Nomad environment.

If you are successful, the Nomad job will run, and you will be able to see it is working.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?