Can't connect to mariadb in nonha haproxy setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Undecided
|
Juan Antonio Osorio Robles |
Bug Description
When deploying overcloud in nonha configuration, haproxy sees backup mysql server as down and assumes the service is down:
Sep 23 13:59:07 overcloud-
Sep 23 13:59:07 overcloud-
Mariadb binds to the hostname node, which resolves to 127.0.0.1.
[heat-admin@
bind-address = overcloud-
[heat-admin@
127.0.0.1 overcloud-
192.0.2.14 overcloud-
192.0.2.14 overcloud-
192.0.2.14 overcloud-
192.0.2.14 overcloud-
192.0.2.14 overcloud-
192.0.2.14 overcloud-
192.0.2.14 overcloud-
192.0.2.14 overcloud-
We should have it bind to overcloud-
Changed in tripleo: | |
assignee: | nobody → Juan Antonio Osorio Robles (juan-osorio-robles) |
status: | New → In Progress |
Reviewed: https:/ /review. openstack. org/375523 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=a387c110a6f fbedb1a62f218be 1ce2c0636b5b38
Committed: https:/
Submitter: Jenkins
Branch: master
commit a387c110a6ffbed b1a62f218be1ce2 c0636b5b38
Author: Juan Antonio Osorio Robles <email address hidden>
Date: Fri Sep 23 17:28:06 2016 +0300
Bind MySQL address to hostname appropriate to its network
This now takes into use the mysql_bind_host key, to set an
appropriate fqdn for mysql to bind to.
Closes-Bug: #1627060 3b240b6b5541d84 f27afd6e2a3 3b84890e20283c4 ca611ccde8b
Change-Id: I50f4082ea968d9
Depends-On: I316acfd514aac6