Page MenuHomePhabricator

wm-bot throws errors
Closed, ResolvedPublic

Description

[19:00:08] <wm-bot> DEBUG Exception in module HtmlDump: Access to the path "/mnt/share/wm-bot/dump/systemdata.htm" is denied. st:   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0   at (wrapper
[19:05:22] <wm-bot> DEBUG Exception in module HtmlDump: Access to the path "/mnt/share/wm-bot/dump/#wikimedia-dev_dump.js" is denied. st:   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0   at 
[19:05:23] <wm-bot> DEBUG Exception in module HtmlDump: Access to the path "/mnt/share/wm-bot/dump/#wikimedia-dev.htm" is denied. st:   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0   at (wra

Event Timeline

Luke081515 triaged this task as Unbreak Now! priority.Jan 18 2017, 6:28 PM
matthewrbowker@wm-bot:/data/project/wm-bot$ chown wm-bot dump
chown: changing ownership of `dump': Read-only file system

Appears to be a Cloud-Services issue, as I also got issues on bastion...

Traveler:~ Matthew$ ssh -A matthewrbowker@bastion.wmflabs.org
Creating directory '/home/matthewrbowker'.
Unable to create and initialize directory '/home/matthewrbowker'.
Linux bastion-01 4.4.0-2-amd64 #1 SMP Debian 4.4.2-3+wmf6 (2016-10-18) x86_64
Debian GNU/Linux 8.0 (jessie)
bastion-01 is a Labs bastion host (with mosh enabled) (role::labs::bastion)
The last Puppet run was at Wed Jan 18 19:09:48 UTC 2017 (11 minutes ago). 
Last login: Wed Jan 18 19:21:29 2017 from 128.198.210.245
Could not chdir to home directory /home/matthewrbowker: No such file or directory

Appears to be related to NFS maintenance, as we actually use /mnt as part of the simlink. See T154336: Migrate misc to secondary labstore HA cluster, wm-bot is listed as an affected instance. Once the window ends, I'll restart the bot again and we'll see.

Matthewrbowker claimed this task.

That was indeed the problem, the file system was set to read-only. A restart results in no errors.