Last modified: 2014-05-23 17:48:14 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 T54316, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52316 - MediaWiki code update sometime leave deleted files
MediaWiki code update sometime leave deleted files
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal major
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 52534
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-31 08:44 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-05-23 17:48 UTC (History)
10 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2013-07-31 08:44:01 UTC
The code updater on beta apparently delete files from time to time which cause much havoc on the cluster.

Example:

PHP fatal error in /data/project/apache/common-local/php-master/includes/AutoLoader.php line 1157:

require() [<a href='function.require'>function.require</a>]:
Failed opening required '/data/project/apache/common-local/php-master/extensions/Echo/Hooks.php'
(include_path='
 /data/project/apache/common-local/phpmaster/extensions/TimedMediaHandler/handlers/OggHandler/PEAR/File_Ogg
 :/usr/local/apache/common-local/php-master:/usr/local/lib/php:/usr/share/php') 

The script doing the code update is in operations/puppet.git and is files/misc/beta/wmf-beta-autoupdate . It does roughly:

cd /path/to/mediawiki && git pull
cd /path/to/extensions && git pull
cd /path/to/extensions && git submodule update --init

It must lost connection with the NFS server from time to time :(
Comment 1 Greg Grossmeier 2013-07-31 20:36:41 UTC
Upping severity just because this breaks the beta cluster and it sucks that we have to first assume "oh, git failed" :/
Comment 2 Antoine "hashar" Musso (WMF) 2013-07-31 20:43:09 UTC
I found out this afternoon that my git version (1.8 something) let us force a checkout of each submodule which would potentially make sure all paths are fine.  But we cant do that with the git version we have in labs.

The script is in operations/puppet.git ./files/misc/beta/wmf-beta-autoupdate.py
Comment 3 Bryan Davis 2014-05-23 17:46:24 UTC
Antoine and Greg, is this still valid? I haven't heard about this issue since we moved into eqiad.
Comment 4 Antoine "hashar" Musso (WMF) 2014-05-23 17:48:14 UTC
That was most certainly some issue with git/ pmtpa NFS server. For some reason some files would be deleted.  I haven't spot that with the scap process so I guess we can close this bug.

Thanks for the ping Bryan.

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


Navigation
Links