minor problems in initial puppet run on lion

RESOLVED FIXED

Status

Infrastructure & Operations
RelOps
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: dustin, Assigned: dustin)

Tracking

Details

Attachments

(1 attachment)

(Assignee)

Description

5 years ago
> 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
(Assignee)

Comment 1

5 years ago
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
(Assignee)

Comment 2

5 years ago
Created attachment 758586 [details] [diff] [review]
bug879771.patch
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+
(Assignee)

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
(Assignee)

Updated

5 years ago
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.