Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5686

Add the output of failed "systemctl status (service)" in the report

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • Types and Providers
    • redhat-7-x86_64-master - sles-12-x86_64-agent - full PE 3.8

    • Coremunity

    Description

      When running module tests on Jenkins a couple of times I've had to investigate the following failure:

      Error: /Stage[main]/Ntp::Service/Service[ntp]: Failed to call refresh: Could not restart Service[ntp]: Execution of '/usr/bin/systemctl restart ntpd' returned 1: Job for ntpd.service failed. See "systemctl status ntpd.service" and "journalctl -xn" for details.
      

      Instead of simply having "See systemctl status ntpd.service for details" it would benefit the customer, and the modules team, for the output of this command to be available in the report. Especially since it is often the case the testing environment no longer exists after tests have been ran. In the same way it would allow customers to access this without having to connect to their production system.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              helen Helen Campbell
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support