Uploaded image for project: 'Puppet Agent'
  1. Puppet Agent
  2. PA-1122

puppet failes during OSX RTC wakups


    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Environment:

      OS: MacOS 10.9 to 10.11

    • Template:
    • Team:
      Platform OS


      There are several issues with the puppet service generating error reports when it is being run during the very short uptime cycle when some of our Macs wake up from sleep to re-register their services with ARP Proxy devices on the network [ Wake reason: RTC (Alarm) ].

      Example Log: https://gist.github.com/octomike/be9b76d0dc164c41c84bd7fffa97e916

      We can isolate two problems:

      1. Race condition with networkd

      Network is unavailable during fact/report fetching phase but becomes available before the end of the run to submit the error report.

      2. launchd is weird

      Cups and SSHd modules fail with "Could not evaluate: No child processes" which is probably due to this error:

      puppet-agent[32754]: Could not prefetch service provider 'launchd': No child processes

      We tried to work around with prerun_command but that did not make any difference.

      Wrapping the puppet client with some shell script will probably also not work because the service is already running when the machines wake up from sleep.




            • Assignee:
              octomike Michael Krause
            • Votes:
              0 Vote for this issue
              2 Start watching this issue


              • Created:

                Zendesk Support