How to print the complete input of a REX job using the hammer command line on Red Hat Satellite 6?

Solution Verified - Updated

Environment

  • Red Hat Satellite 6

Issue

  • Print the complete input of the Remote Execution Job using the hammer command line on Red Hat Satellite 6.

Resolution

  • This feature is now available from Red Hat Satellite 6.9 and onwards. The following hammer command can be used to view the complete input of the REX job.

      # hammer job-invocation list  // Note down the ID of the job
      # hammer job-invocation info --id <job-id> --show-inputs
    
  • As a workaround, the following hammer command can be used to print the description of the Remote Execution Job for Red Hat Satellite 6.8 and earlier.

    # hammer job-invocation info --id <Id>  // Replace the Id with the Job ID
    

    Note: The above description field has a limitation of 255 characters.

For more KB articles/solutions related to Red Hat Satellite 6.x hammer Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x hammer-related Issues

For more KB articles/solutions related to Red Hat Satellite 6.x Remote Execution Issues, please refer to the Consolidated Troubleshooting Article for Red Hat Satellite 6.x Remote Execution Issues

SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.