Last modified: 2014-07-31 20:12:08 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 T70825, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68825 - Bring WIKIMETRICS_POOL_SIZE to vagrant's wikimetrics setup
Bring WIKIMETRICS_POOL_SIZE to vagrant's wikimetrics setup
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=Developers c=General/Unknown p=0 s=...
: easy
Depends on:
Blocks: 68534
  Show dependency treegraph
 
Reported: 2014-07-29 22:59 UTC by christian
Modified: 2014-07-31 20:12 UTC (History)
7 users (show)

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


Attachments

Description christian 2014-07-29 22:59:01 UTC
While the needed setup [1] for configurable connection pool settings
[2] has been puppetized, and been brought into operations/puppet, it
seems they are still missing from vagrant.

Hence, vagrant users run into issues like

  [...]
  db_session = db.get_session()
  File "/vagrant/wikimetrics/wikimetrics/database.py", line 115, in get_session
  self.get_engine()
  File "/vagrant/wikimetrics/wikimetrics/database.py", line 100, in get_engine
  pool_size=self.config['WIKIMETRICS_POOL_SIZE'],
  KeyError: 'WIKIMETRICS_POOL_SIZE'

when trying to connect to the database.

Might well be that a simple update of the wikimetrics submodule in
vagrant will do.




[1] https://gerrit.wikimedia.org/r/#/c/149123/1/wikimetrics/config/db_config.yaml

[2] https://gerrit.wikimedia.org/r/#/c/149123/

[3] See
    http://bots.wmflabs.org/~wm-bot/logs/%23wikimedia-analytics/20140729.txt
  starting at 21:24:01
Comment 1 Gerrit Notification Bot 2014-07-30 06:19:18 UTC
Change 150484 had a related patch set uploaded by QChris:
Bump puppet's wikimetrics module to handle pool_size setting

https://gerrit.wikimedia.org/r/150484
Comment 2 Gerrit Notification Bot 2014-07-30 22:39:54 UTC
Change 150484 merged by jenkins-bot:
Bump puppet's wikimetrics module to handle pool_size setting

https://gerrit.wikimedia.org/r/150484

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


Navigation
Links