fab setup_all throws SQL connection failed continuously if SSL is enabled in HA setup
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.1 |
Fix Committed
|
Critical
|
Ignatious Johnson Christopher | |||
R3.2 |
Fix Committed
|
Critical
|
Ignatious Johnson Christopher | |||
Trunk |
Fix Committed
|
Critical
|
Ignatious Johnson Christopher |
Bug Description
while running fab setup_all throws a warning message 'SQL connection failed' continuously for ssl enabled ha setup.
setup details:
env.roledefs = {
'all': [host1, host2, host3, host4, host5, host6],
'cfgm': [host1, host2, host3],
'openstack': [host1, host2, host3],
'webui': [host3],
'control': [host1, host2, host3],
'compute': [host4, host5, host6],
'collector': [host1, host2],
'database': [host1, host2, host3],
'build': [host_build],
}
env.hostnames = {
'all': ['nodea35', 'nodea34', 'nodec53', 'nodec54', 'nodec55', 'nodec56']
}
env.ha = {
'internal_vip' : '22.22.22.36',
}
ha_setup = True
ha_proxy.log:
[ALERT] 348/121102 (30898) : parsing [/etc/haproxy/
[ALERT] 348/121102 (30898) : parsing [/etc/haproxy/
[ALERT] 348/121102 (30898) : Error(s) found in configuration file : /etc/haproxy/
[ALERT] 348/121102 (30898) : Proxy 'openstack-
[ALERT] 348/121102 (30898) : Proxy 'openstack-
[WARNING] 348/121102 (30898) : config : missing timeouts for proxy 'memcached'.^M
| While not properly invalid, you will certainly encounter various problems^M
| with such a configuration. To fix this, please ensure that all following^M
| timeouts are set to a non-zero value: 'client', 'connect', 'server'.^M
[WARNING] 348/121102 (30898) : config : missing timeouts for proxy 'rabbitmq'.^M
| While not properly invalid, you will certainly encounter various problems^M
| with such a configuration. To fix this, please ensure that all following^M
| timeouts are set to a non-zero value: 'client', 'connect', 'server'.^M
[WARNING] 348/121102 (30898) : config : missing timeouts for proxy 'mysql'.^M
| While not properly invalid, you will certainly encounter various problems^M
| with such a configuration. To fix this, please ensure that all following^M
| timeouts are set to a non-zero value: 'client', 'connect', 'server'.^M
[ALERT] 348/121102 (30898) : Fatal errors found in configuration.^M
fab setup_all log:
2016-12-14 12:23:14:051921: [root@10.
2016-12-14 12:23:14:051994: [root@10.
2016-12-14 12:23:14:055732: [root@10.
2016-12-14 12:23:14:055879: [root@10.
2016-12-14 12:23:14:055962: [root@10.
2016-12-14 12:23:14:056043: [root@10.
2016-12-14 12:23:14:056114: [root@10.
2016-12-14 12:23:14:056186: [root@10.
2016-12-14 12:23:14:056259: [root@10.
2016-12-14 12:23:14:056328: [root@10.
2016-12-14 12:23:14:056398: [root@10.
2016-12-14 12:23:14:056468: [root@10.
2016-12-14 12:23:17:192491: [root@10.
2016-12-14 12:23:25:203727: [root@10.
2016-12-14 12:23:38:221452: [root@10.
2016-12-14 12:23:45:194235: [root@10.
2016-12-14 12:23:56:208304: [root@10.
2016-12-14 12:24:02:216265: [root@10.
2016-12-14 12:24:12:193170: [root@10.
2016-12-14 12:24:20:203964: [root@10.
2016-12-14 12:24:34:221834: [root@10.
2016-12-14 12:24:41:231332: [root@10.
tags: | added: blocker |
Review in progress for https:/ /review. opencontrail. org/27279
Submitter: Ignatious Johnson Christopher (<email address hidden>)