some bots may have installation scripts that configure users, groups and folders and such, I don't know if it's possible to insert them into these deployment procedures, but that would be cool<br><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Dec 15, 2012 at 1:29 AM, Ryan Lane <span dir="ltr"><<a href="mailto:rlane@wikimedia.org" target="_blank">rlane@wikimedia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">
- Ryan</div>
</font></span><br>_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
<br></blockquote></div><br></div>