#92 ansible-ize execdb
Closed: Fixed Opened by tflink.

Before we can deploy execdb, it needs to be deploy-able with infra's ansible playbooks. Create the roles needed to support execdb deployment and get them committed in infra's ansible repository.


This ticket had assigned some Differential requests:
D319

I got the execdb package built and in the infrastructure-testing repo for f21 but it's still erroring out on dev.

TASK: [taskotron/execdb | initialize execdb database] *************************
failed: [resultsdb-dev01.qa.fedoraproject.org] => {"changed": true, "cmd": "PROD='true' execdb init_db", "delta": "0:00:00.313164", "end": "2015-03-30 22:58:26.113904", "rc": 1, "start": "2015-03-30 22:58:25.800740", "warnings": []}
stderr: Traceback (most recent call last):
  File "/usr/bin/execdb", line 9, in <module>
    load_entry_point('execdb==0.0.6', 'console_scripts', 'execdb')()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 348, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2311, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2025, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.7/site-packages/execdb/__init__.py", line 110, in <module>
    from execdb.controllers.main import main
  File "/usr/lib/python2.7/site-packages/execdb/controllers/main.py", line 39, in <module>
    BB_URL = app.config['BUILDBOT_FRONTPAGE_URL']
KeyError: 'BUILDBOT_FRONTPAGE_URL'
stdout: doing stream logging
FATAL: all hosts have already failed -- aborting

Fixed by D319. Playbooks run fine.

Metadata Update from @tflink:
- Issue tagged with: infrastructure

Metadata