Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-17434

puppet-agent systemd unit not waiting for network-online.target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.9.0
    • Puppet
    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • None

      Description of problem:
      In the default systemd unit puppet.service the following constraint is configured:
      After=network.target

      However in a case where a teaming interface takes longer to come up, the puppet run starts before network is available and thus can't gather accurate facts.

      As a workaround have copied the unit to /etc/systemd/system and overridden the constraint to:
      After=network-online.target

      Version-Release number of selected component (if applicable):
      Satellite 6.9

      Actual results:
      1.) Without network-online there is no point in puppet agent running, since it can't reach the puppet master anyway, so why not wait?
      2.) When puppet facts are used in the puppet run and can't be gathered accurately, this falsifies the run's outcome and thus causes configuration issues.

              jira-bugzilla-migration RH Bugzilla Integration
              ehelms@redhat.com Eric Helms
              Gaurav Talreja Gaurav Talreja
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: