Merge lp:~jjo/charm-helpers/fix-check_haproxy_sh-lp1521279 into lp:charm-helpers
Proposed by
JuanJo Ciarlante
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 511 | ||||
Proposed branch: | lp:~jjo/charm-helpers/fix-check_haproxy_sh-lp1521279 | ||||
Merge into: | lp:charm-helpers | ||||
Diff against target: |
32 lines (+7/-5) 1 file modified
charmhelpers/contrib/openstack/files/check_haproxy.sh (+7/-5) |
||||
To merge this branch: | bzr merge lp:~jjo/charm-helpers/fix-check_haproxy_sh-lp1521279 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Liam Young (community) | Approve | ||
Felipe Reyes (community) | Approve | ||
Review via email: mp+279020@code.launchpad.net |
To post a comment you must log in.
This patch looks good to me, I tested it using trusty-icehouse and trusty-liberty, there are no visible regressions and it fixes liberty.
[0] trusty-icehouse: freyes- machine- 4:~# /usr/local/ lib/nagios/ plugins/ check_haproxy. sh freyes- machine- 4:~# service haproxy stop freyes- machine- 4:~# /usr/local/ lib/nagios/ plugins/ check_haproxy. sh freyes- machine- 4:~# service haproxy start freyes- machine- 4:~# /usr/local/ lib/nagios/ plugins/ check_haproxy. sh
root@juju-
OK: All haproxy instances (6) looking good
root@juju-
* Stopping haproxy haproxy
...done.
root@juju-
CRITICAL: keystone-1 keystone-0 keystone-2 keystone-1 keystone-0 keystone-2
root@juju-
* Starting haproxy haproxy
...done.
root@juju-
OK: All haproxy instances (6) looking good
[1] trusty-liberty: freyes- machine- 4:~# /usr/local/ lib/nagios/ plugins/ check_haproxy. sh freyes- machine- 4:~# service haproxy status freyes- machine- 4:~# dpkg -l haproxy Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ======= ======= ======= ======= ======= ==-==== ======= ======= ======= ===-=== ======= ======= ======= ====-== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ====== 1ubuntu0. 15.10.1~ clou amd64 fast and reliable load balancing reverse proxy freyes- machine- 4:~# /usr/local/ lib/nagios/ plugins/ check_haproxy. sh #<-patched
root@juju-
CRITICAL: keystone-1 keystone-0 keystone-2 keystone-1 keystone-0 keystone-2
root@juju-
haproxy is running.
root@juju-
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii haproxy 1.5.14-
root@juju-
OK: All haproxy instances (6) looking good