On Fri, Dec 14, 2012 at 3:55 PM, Petr Bena <span dir="ltr"><<a href="mailto:benapetr@gmail.com" target="_blank">benapetr@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi, I don't know what happened, but someone removed recursively all data in ~wm-bot/logs<br><br>I may have a backup but because this removal was done yesterday or earlier and apparently happens every day, it's a problem, because even the complete logs archive is almost empty now.<br>


<br>Please be careful when you are running scripts as root on bots project, since all stuff is in /data all users can change it and that kind of suck. These logs were used by many wikimedia projects and this problem can cause a lot of troubles.<br>


<br></blockquote><div><br></div><div></div></div></div><div class="gmail_extra">This really sucks. I think it's time we started a more formalized bots project.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

Petr mentioned that we should likely keep the current bots project as-is as a development project for bots, then have a bots-production project that's locked down. In bots-production no one would have root, and bots would be deployed to the instances.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">I've been writing a new deployment system for production. We may be able to use it for this as well. It uses git, which means all bots would need to be in a git repo, likely in gerrit. We could deploy all bot code to all instances, and have configuration for which instances bots run on.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">We really need to start pulling together a list of requirements for bots. I think we have a puppet manifest that Damian has been working on, which should be a good starting point.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Does this sound like a good plan? Anyone have alternative ideas?</div><div class="gmail_extra"><br></div><div class="gmail_extra">- Ryan</div>