path: root/tools/yaml-validate.py
diff options
authorOliver Walsh <owalsh@redhat.com>2017-02-07 10:18:36 +0000
committerOliver Walsh <owalsh@redhat.com>2017-02-07 13:02:00 +0000
commit6d27319b7c23dccb3005e6cbbc21ff2b44929fd8 (patch)
treef249ce676f303ea3b66bba3e5732661d277b1fbf /tools/yaml-validate.py
parentddeafadc49f3d0009c82d5ae2bf898a61424de12 (diff)
Stop setting bind_address on nova db uri.
This reverts the changes in https://review.openstack.org/414629 for nova as they are incompatible with cell_v2. This is a temporary fix for HA while a long-term solution is developed. Change-Id: I79d30a2d76a354999152c0c997ea77f104c51027 Related-bug: #1643487 Closes-bug: #1662344
Diffstat (limited to 'tools/yaml-validate.py')
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/yaml-validate.py b/tools/yaml-validate.py
index 2769c152..0eacbc60 100755
--- a/tools/yaml-validate.py
+++ b/tools/yaml-validate.py
@@ -66,7 +66,10 @@ def validate_mysql_connection(settings):
def validate_mysql_uri(key, items):
# Only consider a connection if it targets mysql
- if key.endswith('connection') and \
+ # TODO(owalsh): skip nova mysql uris,temporary workaround for
+ # tripleo/+bug/1662344
+ if not key.startswith('nova') and \
+ 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