Last modified: 2012-07-30 23:13:06 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.
https://gerrit.wikimedia.org/r/8585
/dev/vdb is mounted as /mnt by default
which instance is this
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
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.
The feature need to be added to the TMH extension. See: Bug 37058 - TMH need a way to configure temporary path