https://bugzilla.wikimedia.org/show_bug.cgi?id=68825

            Bug ID: 68825
           Summary: Bring WIKIMETRICS_POOL_SIZE to vagrant's wikimetrics
                    setup
           Product: Analytics
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Wikimetrics
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to