Last modified: 2012-07-30 23:13:06 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 T39048, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37048 - video transcoding boxes needs a large temporary directory
video transcoding boxes needs a large temporary directory
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
deployment-prep (beta) (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Peter Bena
:
Depends on:
Blocks: 37058
  Show dependency treegraph
 
Reported: 2012-05-23 10:01 UTC by Antoine "hashar" Musso (WMF)
Modified: 2012-07-30 23:13 UTC (History)
7 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2012-05-23 10:01:03 UTC
TMH uses a temporary directory to rescale videos. We should reuses /dev/vdb which is mounted by default on /tmp by Nova.

We previously used /dev/vdb in labs for squid COSS ( https://gerrit.wikimedia.org/r/#/c/7118/ ).


TMH seems to forge a temporary file using:
 $tmpFile = TempFSFile::factory( 'transcode_' . $transcodeKey, $ext);
So we will have to alter the filerepo configuration for the transcoding boxes.
Comment 1 Antoine "hashar" Musso (WMF) 2012-05-23 10:47:31 UTC
https://gerrit.wikimedia.org/r/8585
Comment 2 Peter Bena 2012-05-23 11:19:47 UTC
/dev/vdb is mounted as /mnt by default
Comment 3 Peter Bena 2012-05-23 11:20:17 UTC
which instance is this
Comment 4 Antoine "hashar" Musso (WMF) 2012-05-23 13:03:15 UTC
That would be the jobrunner boxes. But I am probably going to need a new puppet class and create new instances named something like deployment-transcoding
Comment 5 Antoine "hashar" Musso (WMF) 2012-05-23 15:44:31 UTC
I thought we could use /dev/vdb to mount it on /tmp, but that just screwed everything.  I have reverted my changes with https://gerrit.wikimedia.org/r/8610 (pending merge right now).

Will have to find a better solution, I guess TMH should be made to use a subdirectory in /mnt as a temporary directory.
Comment 6 Antoine "hashar" Musso (WMF) 2012-05-23 15:53:16 UTC
The feature need to be added to the TMH extension. See:

Bug 37058 - TMH need a way to configure temporary path

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


Navigation
Links