Last modified: 2013-08-29 20:07:57 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36606, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34606 - Create bot-control panel for bot-operators.
Create bot-control panel for bot-operators.
Status: RESOLVED WONTFIX
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Low enhancement
: ---
Assigned To: Marc A. Pelletier
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-23 03:09 UTC by Krinkle
Modified: 2013-08-29 20:07 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2012-02-23 03:09:17 UTC
Create some basic webbased control panel to let authorized start/stop/restart bots.

Not sure how authorization would work. Could be restricted to users who have LDAP access to the bots project and then only the bots running under their account.

Or alternatively let the bot developer running it crowd-source basic control, by creating an ad-hoc login system in this web-app (admins can create commands, user groups and users. And commands added to groups. And users added to groups. When user loggs in, he can execute the listed commands).

Commands would be either:
* raw shell commands inserted by the admin through the web interface, given a symbolic name
* or, better yet, the shell user offers .sh files following a certain format (/home/*/controlpanel/foobar.sh), and the admin can choose one of them and give them a symbolic name and add it to a group (the web app would scan the user homes for these scripts).
Comment 1 Peter Bena 2012-02-23 08:47:20 UTC
Should it be located in labs console or separate site
Comment 2 Krinkle 2012-03-05 06:05:15 UTC
I was thinking at bots.wmflabs.org
Comment 3 Quim Gil 2012-12-27 14:38:39 UTC
Could this be a candidate for http://www.mediawiki.org/wiki/Mentorship_programs/Possible_projects ?
Comment 4 Peter Bena 2013-06-15 09:30:53 UTC
I am giving up on this (I don't even know why it was assigned to me) I am not going to work anything like web interface to control system services / tasks

I don't even like the idea of having another cpan like utility running on labs
Comment 5 Marc A. Pelletier 2013-08-29 20:07:57 UTC
I don't think it's a good idea to do this, even in principle.

Various tools have different requirements for being started or stopped properly, and any interface providing sufficient flexibility for this is essentially equivalent to allowing arbitrary shell commands to be executed from a web interface.

Additionally, the creation/management of tool level authentication is discouraged as it has privacy implications.

Tools that require a web interface should provide it themselves, and should (ideally) authenticate with OpenID once that is made generally available (soon).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links