Last modified: 2014-02-10 17:02: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 T63144, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61144 - jenkis-deploy user on labs should have its home in /mnt
jenkis-deploy user on labs should have its home in /mnt
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Unprioritized normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-10 15:21 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-02-10 17:02 UTC (History)
3 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2014-02-10 15:21:01 UTC
The Jenkins slaves on labs projects (deployment-prep and integration projects) use the user jenkins-deploy to setup the instance as a Jenkins slave.  The LDAP entry points the home of that user to /home/jenkins-deploy which is a GlusterFS partition for the integration project.

The slave jobs are run under /mnt/jenkins-workspace since we don't want the jobs workspaces to be on a shareable disks to avoid obvious race conditions.


To avoid relying on GlusterFS, we should get jenkins-deploy home to point to /mnt/jenkins-deploy .  That needs some puppet change to create the home directory then the LDAP entry can be altered.
Comment 1 Gerrit Notification Bot 2014-02-10 15:29:15 UTC
Change 112458 had a related patch set uploaded by Hashar:
contint: move jenkins-deploy user home to /dev/vdb

https://gerrit.wikimedia.org/r/112458
Comment 2 Gerrit Notification Bot 2014-02-10 15:58:00 UTC
Change 112458 merged by ArielGlenn:
contint: move jenkins-deploy user home to /dev/vdb

https://gerrit.wikimedia.org/r/112458
Comment 3 Antoine "hashar" Musso (WMF) 2014-02-10 16:44:10 UTC
All instances now have a /mnt/home/jenkins-deploy homedir which belong to jenkins-deploy.

The next step is to have the jenkins-deploy user home dir to be updated in LDAP to point to /mnt/home/jenkins-deploy

Currently:

 # ldaplist -l passwd jenkins-deploy|grep homeDirectory
	homeDirectory: /home/jenkins-deploy
 #

Then reconnect all Jenkins slaves and make sure jobs can still be triggered.
Comment 4 Antoine "hashar" Musso (WMF) 2014-02-10 16:56:33 UTC
Apergos reviewed the puppet changes and Andrew updated the homeDirectory.

I have rebooted most slave instance (beside deployment-parsoid2 and deployment-bastion).

integration-slave01 Jenkins slave has reconnected and the npm command now use /mnt/home/jenkins-deploy for its cache thus solving the issue I had.


Still have to double check the other jobs/slaves.
Comment 5 Antoine "hashar" Musso (WMF) 2014-02-10 17:02:56 UTC
I have disconnected and reconnected all slaves. Bye bye GlusterFS.

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


Navigation
Links