In T97593#1271050, @BBlack wrote:After some discussion on irc, I don't think we really need a new formal policy step here. Before you get to being granted root in deployment-prep, you're already subject to the https://wikitech.wikimedia.org/wiki/Wikitech:Labs_Terms_of_use , and I think that pretty well covers not doing stupid things with your access rights as well as we're going to without any kind of formal legal document.
As a semi-related side-task, I'm going to see if we can get some warning text + ToU link added to the relevant motd files to that effect, so that those Terms of Use are a little more in-your-face on an ongoing basis in labs in general.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
beta: add warning motd and link to term of uses | operations/puppet | production | +25 -0 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T114615 Beta Cluster <-> WMF Labs policy compliance (tracking) | |||
Resolved | hashar | T100837 On deployment-prep, add warning text + labs Term of Uses link to the motd files | |||
Resolved | coren | T85307 Trusty instances do not show the motd banners |
Event Timeline
Comment Actions
Note for tool labs, there's already some motd stuff in puppet like this:
https://github.com/wikimedia/operations-puppet/blob/production/modules/toollabs/manifests/infrastructure.pp#L15
+
https://github.com/wikimedia/operations-puppet/blob/production/modules/toollabs/files/40-tools-infrastructure-banner
bblack-mba:~ bblack$ ssh root@tools-master.eqiad.wmflabs Linux tools-master 3.2.0-59-virtual #90-Ubuntu SMP Tue Jan 7 23:02:33 UTC 2014 x86_64 Ubuntu 12.04.4 LTS tools-master is a Tool Labs gridengine master (role::labs::tools::master) ^ / \ This server is part of the Tool Labs infrastructure. / ! \ /_____\ "No user-serviceable parts inside." *** This is a stable server ***
Which we could use to put in ToU warnings and such.
Comment Actions
Proposal:
oo o" $ " o $ " $ $ $$ o" "$o $oo $ "$$$ $"$oo " "o$$ "$$o$"o"o o" $"$$$ """o"$o"""""""" """ oo ooooooo""" o""o$$$ "$$ o o""$$$ oooo$$$$$$$$oo"o o o "o "o ""oo "$$$$$$$$$$""""$$$$o"o$ o o o "o " $"$o$$oo"o $"o "$$$$$$" ""$$o$o$ $ "ooo$o$o$$$$$$"$o$o $"$o "$"" """"$$$$$o$$$$$$$$$ "$o$$$$o " " "" " "$$$$ " $$$o "$$$ """ ""$ Don't kill beta! If you make unpuppetized changes, you'll make me very sad. Also, take a look at the ToU for WMF labs here: <url>. Be nice to me. The Betalabs Seal
Comment Actions
Yes, and everytime someone breaks beta we can factually say they clubbed a baby seal to death. Sounds good to me.
T85910 needs fixing first, tho :)
Comment Actions
Change 699207 had a related patch set uploaded (by Hashar; author: Hashar):
[operations/puppet@production] beta: add warning motd and link to term of uses
Comment Actions
It is never too late to fix a half decade old task. So here is the patch: Puppet #699207
Comment Actions
Mentioned in SAL (#wikimedia-releng) [2021-06-11T10:30:57Z] <hashar> deployment-prep: cherry picked https://gerrit.wikimedia.org/r/c/operations/puppet/+/699207 to add a motd on all instances # T100837
Comment Actions
Change 699207 merged by Dzahn:
[operations/puppet@production] beta: add warning motd and link to term of uses
Comment Actions
Done!
$ ssh deployment-deploy01.deployment-prep.eqiad1.wikimedia.cloud Debian GNU/Linux 9.8 (stretch) -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- * /!\ Please take extra care and AVOID MAKING UNPUPPETIZED CHANGES. * -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*- Access is subject to Wikimedia Cloud Services Terms of Use: - https://wikitech.wikimedia.org/wiki/Terms_of_use Intro: https://www.mediawiki.org/wiki/Beta_Cluster