Closed Bug 879771 Opened 11 years ago Closed 11 years ago

minor problems in initial puppet run on lion

Categories

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

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dustin, Assigned: dustin)

Details

Attachments

(1 file)

> Notice: /Stage[main]/Toplevel::Slave::Build/Ccache::Ccache_dir[/builds/ccache]/Exec[ccache-maxsize-/builds/ccache]/returns: Error: Could not execute posix command: Invalid group: 21
> Error: /Stage[main]/Toplevel::Slave::Build/Ccache::Ccache_dir[/builds/ccache]/Exec[ccache-maxsize-/builds/ccache]: Failed to call refresh: /usr/local/bin/ccache -M10G returned 1 instead of one of [0]
> Error: /Stage[main]/Toplevel::Slave::Build/Ccache::Ccache_dir[/builds/ccache]/Exec[ccache-maxsize-/builds/ccache]: /usr/local/bin/ccache -M10G returned 1 instead of one of [0]

and

> Notice: /Stage[main]/Nrpe::Service/File[/Library/LaunchDaemons/org.nagios.nrpe.plist]/ensure: defined content as '{md5}0961b6e7c3df7e9cde364c1a759ebc06'
> Error: Unable to find launchd plist for job: org.nagios.nrpe
> Error: /Stage[main]/Nrpe::Service/Service[org.nagios.nrpe]/ensure: change from absent to running failed: Unable to find launchd plist for job: org.nagios.nrpe
The first is a failure to specify a group for the builder user.  The darwinuser provider invents a new ID, one greater than that for staff (20), but doesn't actually create a corresponding group object for it.  Setting gid => 'staff' should fix that.

I think the second is a caching problem in puppet.  The launchd provider caches the list of available services on its first call, which is earlier in the puppet run than the attempt to start it.  Puppet reboots and thus re-runs anyway, so this is harmless.  https://projects.puppetlabs.com/issues/21069
Attached patch bug879771.patchSplinter Review
Attachment #758586 - Flags: review?(arich)
Comment on attachment 758586 [details] [diff] [review]
bug879771.patch

Clarification from Dustin on irc that gid is actually a string (not an int) in OS X for this provider.
Attachment #758586 - Flags: review?(arich) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Attachment #758586 - Flags: checked-in+
Component: Server Operations: RelEng → RelOps
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: