Last modified: 2013-12-11 12:51:56 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T60325, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58325 - puppet change /usr/local/apache/common-local ownership to random uid
puppet change /usr/local/apache/common-local ownership to random uid
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-11 12:27 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-12-11 12:51 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2013-12-11 12:27:10 UTC
/usr/local/apache/common-local should belong to mwdeploy:mwdeploy as set by misc::deployment::vars puppet class.

The file sometime ends up with a wrong UID on deployment-bastion. Puppet must apply the class on different instances which would have a different UID number for the mwdeploy user.  That leads the code update Jenkins job to fail with some "permission denied".

Need to find why misc::deployment::vars is applied on different instances.
Comment 1 Gerrit Notification Bot 2013-12-11 12:36:16 UTC
Change 100779 had a related patch set uploaded by Hashar:
beta: ensure /usr/local/apache* belong to mwdeploy

https://gerrit.wikimedia.org/r/100779
Comment 2 Gerrit Notification Bot 2013-12-11 12:48:02 UTC
Change 100779 merged by ArielGlenn:
beta: ensure /usr/local/apache* belong to mwdeploy

https://gerrit.wikimedia.org/r/100779
Comment 3 Antoine "hashar" Musso (WMF) 2013-12-11 12:51:56 UTC
I have fixed the rights manually and reran the job.

The change above fix the issue.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links