aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-02-22 19:34:15 +0000
committerGerrit Code Review <review@openstack.org>2017-02-22 19:34:15 +0000
commit46117f48ab134395cc925883a1f8f4e7174c2a3c (patch)
tree5a583445bd6db7dd1412b84211ee7174b5e2fe79 /tools
parent77af536c027cd2cc2d82bba0e24f112b4b5c7a3b (diff)
parent3a7ed4403fc5f53e88210577e5e912a1057574db (diff)
Merge "Make the DB URIs host-independent for all services" into stable/ocata
Diffstat (limited to 'tools')
-rwxr-xr-xtools/yaml-validate.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tools/yaml-validate.py b/tools/yaml-validate.py
index 0eacbc60..1d0dba02 100755
--- a/tools/yaml-validate.py
+++ b/tools/yaml-validate.py
@@ -62,14 +62,12 @@ def validate_mysql_connection(settings):
return items == ['EndpointMap', 'MysqlInternal', 'protocol']
def client_bind_address(item):
- return 'bind_address' in item
+ return 'read_default_file' in item and \
+ 'read_default_group' in item
def validate_mysql_uri(key, items):
# Only consider a connection if it targets mysql
- # TODO(owalsh): skip nova mysql uris,temporary workaround for
- # tripleo/+bug/1662344
- if not key.startswith('nova') and \
- key.endswith('connection') and \
+ if key.endswith('connection') and \
search(items, mysql_protocol, no_op):
# Assume the "bind_address" option is one of
# the token that made up the uri