Closed Bug 1546448 Opened 7 years ago Closed 6 years ago

[Ronin Mojave] wait for network in run-puppet

Categories

(Infrastructure & Operations :: RelOps: Puppet, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dhouse, Assigned: dhouse)

Details

Attachments

(1 file)

60 bytes, text/x-github-pull-request
Details | Review

If the network is not yet available, run-puppet will fail and retry in 10 minutes. Often MacOS will be starting the network system at the same time as it executes run-puppet, and so we cannot expect the network to be always available.

LaunchD in Mojave no longer can delay starting a service until after network is available. So we need to retry or test for the network before attempting to use it (and failing). We do not want a faster retry on run-puppet in case of a problem in the config/etc that is not network. We only want to retry more quickly for network problems.

In puppetagain, we checked with ifconfig https://github.com/mozilla-releng/build-puppet/blob/master/modules/puppet/files/puppetize.sh#L63

Attached file GitHub Pull Request
Assignee: relops → dhouse
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: