bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

May need to re-create 'administrator' account on mavericks

RESOLVED FIXED

Status

Infrastructure & Operations
RelOps: Puppet
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: dustin, Assigned: dustin)

Tracking

Details

Attachments

(5 attachments)

Mavericks, in particular, seems upset that we deleted the "Administrator" account.

Aug  7 14:13:29 mac-v2-signing1.srv.releng.scl3.mozilla.com xpcd[11190]: getpwuid_r failed for uid 501 (rv 0). exiting.
Aug  7 14:13:29 mac-v2-signing1 com.apple.launchd[1] (com.apple.xpcd.F5010000-0000-0000-0000-000000000000): Throttling respawn: Will start in 1 seconds

Aug  7 12:23:01 mac-v2-signing1 com.apple.launchd.peruser.501[169] (com.apple.ubd[2871]): The account "administrator" has been deleted out from under us!
Aug  7 12:23:01 mac-v2-signing1 com.apple.launchd.peruser.501[169] (com.apple.ubd[2871]): In a future build of the OS, this error will be fatal.
Aug  7 12:23:01 mac-v2-signing1.srv.releng.scl3.mozilla.com ubd[2871]: can't get home dir path Undefined error: 0 (0)

Aug  7 12:19:21 mac-v2-signing1.srv.releng.scl3.mozilla.com AddressBookSourceSync[2629]: Error creating source folder ~/Library/Application Support/AddressBook: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “AddressBook” in the folder “Application Support”." UserInfo=0x7f9b0bd3c8d0 {NSFilePath=/Users/administrator/Library/Application Support/AddressBook, NSUnderlyingError=0x7f9b0bd3d6f0 "The operation couldn’t be completed. Permission denied"}
Possibly also related:

Aug 10 03:31:03 mac-v2-signing3.srv.releng.scl3.mozilla.com ubd[29248]: can't get home dir path Undefined error: 0 (0)
Aug 10 03:31:03 mac-v2-signing3.srv.releng.scl3.mozilla.com ubd[29248]: [ERROR] [0.000s] default-qu Path_Utilities.c:126 __is_home_dir_not_local_block_invoke() statfs of home directory failed: (null)
Assignee: relops → dustin
Other random issues:

..it's called PanicReportService now

Error: Unable to find launchd plist for job: org.collectd.collectd
Error: /Stage[main]/Collectd/Service[org.collectd.collectd]/ensure: change from absent to running failed: Unable to find launchd plist for job: org.collectd.collectd

Notice: /Stage[main]/Users::People/Users::Person[bpannabecker]/Darwinuser[bpannabecker]/ensure: created
Error: Could not set 'directory' on ensure: Could not find user bpannabecker at 57:/etc/puppet/environments/dmitchell/modules/users/manifests/person.pp
Error: Could not set 'directory' on ensure: Could not find user bpannabecker at 57:/etc/puppet/environments/dmitchell/modules/users/manifests/person.pp
Wrapped exception:
Could not find user bpannabecker
Error: /Stage[main]/Users::People/Users::Person[bpannabecker]/File[/Users/bpannabecker]/ensure: change from absent to directory failed: Could not set 'directory' on ensure: Could not find user bpannabecker at 57:/etc/puppet/environments/dmitchell/modules/users/manifests/person.pp
Notice: /File[/Users/bpannabecker/.keep]: Dependency File[/Users/bpannabecker] has failures: true

  (maybe an issue with 'darwinuser')

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


  (it's like filesystem changes take a while to "kick in" on mavericks?)
Ah, darwinuser doesn't work on 10.9, but we were still using it for people -- easy to fix.
collectd was missing a dependency

The nrpe issue is a known puppet bug, and fixes itself on the next run.
Created attachment 8471032 [details] [diff] [review]
bug1050513-p1.patch
Attachment #8471032 - Flags: review?(bhearsum)
Created attachment 8471033 [details] [diff] [review]
bug1050513-p2.patch
Attachment #8471033 - Flags: review?(bhearsum)
Created attachment 8471034 [details] [diff] [review]
bug1050513-p3.patch
Attachment #8471034 - Flags: review?(bhearsum)
Created attachment 8471035 [details] [diff] [review]
bug1050513-p4.patch
Attachment #8471035 - Flags: review?(bhearsum)
I horked r5-mini-002, but it'd be great to get these landed while that's being repaired.  Hopefully that fixes everything here, and possibly everything in bug 1051558.
collectd suffers from the same puppet bug as nrpe, too, so that still failed on the first run.
Blocks: 1051558
Attachment #8471032 - Flags: review?(bhearsum) → review+
Attachment #8471033 - Flags: review?(bhearsum) → review+
Attachment #8471034 - Flags: review?(bhearsum) → review+
Attachment #8471035 - Flags: review?(bhearsum) → review+
Comment on attachment 8471096 [details] [diff] [review]
bug1050513-p5.patch

Review of attachment 8471096 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for all of these fixes!
Attachment #8471096 - Flags: review?(bhearsum) → review+
Attachment #8471096 - Flags: checked-in+
Attachment #8471035 - Flags: checked-in+
Attachment #8471034 - Flags: checked-in+
Attachment #8471033 - Flags: checked-in+
Attachment #8471032 - Flags: checked-in+
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.