When for example the wrong database address is given the following happens...
to MySQL server on 'db' ([Errno -2] Name or service not known)")
2018-02-09 04:27:51.335 22 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -64 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'db' ([Errno -2] Name or service not known)")
2018-02-09 04:28:01.351 22 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -65 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'db' ([Errno -2] Name or service not known)")
2018-02-09 04:28:11.363 22 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -66 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'db' ([Errno -2] Name or service not known)")
2018-02-09 04:28:21.375 22 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -67 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'db' ([Errno -2] Name or service not known)")
2018-02-09 04:28:31.388 22 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -68 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'db' ([Errno -2] Name or service not known)")
2018-02-09 04:28:41.401 22 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -69 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'db' ([Errno -2] Name or service not known)")
2018-02-09 04:28:51.414 22 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -70 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'db' ([Errno -2] Name or service not known)")
2018-02-09 04:29:01.426 22 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -71 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'db' ([Errno -2] Name or service not known)")
2018-02-09 04:29:11.440 22 WARNING oslo_db.sqlalchemy.engines [-] SQL connection failed. -72 attempts left.: DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on 'db' ([Errno -2] Name or service not known)")
This should not go forever... and should stop at some kind of upper limit (10? 20?)
When it goes on forever it causes ansible to just be hung at (ie the following):
`TASK [keystone : Running Keystone bootstrap container] *************************`)`