Comment 2 for bug 1264388

Revision history for this message
Dmitry Borodaenko (angdraug) wrote :

The haproxy.cfg isn't updated with the Fuel version until:

2013-12-26T21:40:29.614107+00:00 notice: (/Stage[main]/Openstack::Controller_ha/Concat[/etc/haproxy/haproxy.cfg]/File[/var/lib/puppet/concat/_etc_haproxy_haproxy.cfg]/ensure) created

Until then, default haproxy.cfg from the deb package is used. With it, the haproxy reload command from the bug description fails as follows:

root@node-1:~# export OCF_ROOT="/usr/lib/ocf"; /usr/lib/ocf/resource.d/mirantis/haproxy reload
haproxy[12281]: INFO: haproxy daemon is not running
haproxy[12281]: INFO: Haproxy daemon is not running. Starting it.
haproxy[12281]: INFO: haproxy daemon is not running
[ALERT] 359/234739 (12441) : [/usr/sbin/haproxy.main()] Cannot create pidfile
haproxy[12281]: ERROR: Error. haproxy daemon returned error 0.