Last modified: 2014-08-04 13:26:58 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 T71043, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 69043 - Use separate credentials for production instance to connect to labsdb
Use separate credentials for production instance to connect to labsdb
Status: RESOLVED FIXED
Product: Analytics
Classification: Unclassified
Wikimetrics (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
u=Community c=Wikimetrics p=0 s=2014-...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-02 10:34 UTC by christian
Modified: 2014-08-04 13:26 UTC (History)
10 users (show)

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


Attachments

Description christian 2014-08-02 10:34:40 UTC
The production, staging, and dev instances of wikimetrics all use the same
credentials to connect to labsdb.

So if dev or staging run wild and open up as many connections as allowed,
they can starve the production instance.

Hence, we should use separate labsdb credentials for the different instances.

(Especially, since bug 68833 currently bites us too.)
Comment 1 christian 2014-08-02 10:35:30 UTC
Sorry, used wrong component.

  EventLogging -> Wikimetrics
Comment 2 christian 2014-08-02 11:05:24 UTC
(In reply to christian from comment #0)
> So if dev or staging run wild and open up as many connections as allowed,
> they can starve the production instance.

This is not a hypothetical thing:

  http://lists.wikimedia.org/pipermail/wikimetrics/2014-August/000148.html
Comment 3 christian 2014-08-04 13:26:58 UTC
I created the Tool Labs tools

  tools.wikimetrics-production
  tools.wikimetrics-staging
  tools.wikimetrics-development

, granted access to Milimetric, Nuria, and myself to them, and used
the corresponding labsdb connections on our instances

  +----------------------+------------------------------------+-------------------------------+-------------+
  | Instance name        | URL                                | Tool Labs tool                | Labsdb user |
  +----------------------+------------------------------------+-------------------------------+-------------+
  | wikimetrics1         | http://metrics.wmflabs.org         | tools.wikimetrics-production  | s52261      |
  | wikimetrics-staging1 | http://metrics-staging.wmflabs.org | tools.wikimetrics-staging     | s52262      |
  | wikimetrics-dev1     | http://metrics-dev.wmflabs.org     | tools.wikimetrics-development | s52263      |
  +----------------------+------------------------------------+-------------------------------+-------------+

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


Navigation
Links