Last modified: 2014-07-31 20:12:08 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
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
Change 150484 merged by jenkins-bot: Bump puppet's wikimetrics module to handle pool_size setting https://gerrit.wikimedia.org/r/150484