Make Distil Health check respect collection domains
Without this, when that config is set, the healthcheck will report uncollected projects that aren't being collected anymore. Also fix some testing. Change-Id: Ife60eee1400ec596565188b477d64f68b247fcec
This commit is contained in:
parent
4fe7f644f8
commit
675e42f0d2
3
.zuul.yaml
Normal file
3
.zuul.yaml
Normal file
@ -0,0 +1,3 @@
|
||||
- project:
|
||||
templates:
|
||||
- openstack-python-jobs
|
@ -43,7 +43,8 @@ def get_health():
|
||||
"""
|
||||
result = {}
|
||||
|
||||
projects_keystone = openstack.get_projects()
|
||||
projects_keystone = openstack.get_projects(
|
||||
domains=CONF.collector.include_domains)
|
||||
keystone_projects = [t['id'] for t in projects_keystone
|
||||
if t['name'] not in CONF.collector.ignore_tenants]
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
hacking>=0.12.0,!=0.13.0,<0.14 # Apache-2.0
|
||||
coverage>=4.0,!=4.4 # Apache-2.0
|
||||
fixtures>=3.0.0 # Apache-2.0/BSD
|
||||
pylint==1.4.5 # GPLv2
|
||||
pylint>=1.4.5 # GPLv2
|
||||
pyflakes>=2.0
|
||||
sqlalchemy-migrate>=0.11.0 # Apache-2.0
|
||||
testrepository>=0.0.18 # Apache-2.0/BSD
|
||||
testscenarios>=0.4 # Apache-2.0/BSD
|
||||
|
Loading…
x
Reference in New Issue
Block a user