Switch haproxy checks to httpchk wherever possible

Bug #1629052 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Alex Schultz

Bug Description

We should switch to httpchk as the health check option for all apis if the API supports it.
This will give us more realistic monitoring if a service is really up.

For example we had the following issue:
The number of httpd threads was very low, the tcpcheck assumed that the service was up whereas an httpcheck would have failed right away.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

Fix proposed to branch: master
Review: https://review.openstack.org/394686

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: New → In Progress
Steven Hardy (shardy)
Changed in tripleo:
milestone: ocata-1 → ocata-2
Changed in tripleo:
milestone: ocata-2 → ocata-3
Changed in tripleo:
milestone: ocata-3 → ocata-rc1
Changed in tripleo:
importance: Medium → High
Revision history for this message
Alex Schultz (alex-schultz) wrote :

Let's push this to Pike. I'm not sure we have enough coverage to ensure that by switching this we aren't introducing regressions.

Changed in tripleo:
milestone: ocata-rc1 → pike-1
importance: High → Medium
Changed in tripleo:
assignee: Alex Schultz (alex-schultz) → Juan Antonio Osorio Robles (juan-osorio-robles)
Changed in tripleo:
assignee: Juan Antonio Osorio Robles (juan-osorio-robles) → Alex Schultz (alex-schultz)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/394686
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=ebcc470ea8a632e6d5c13561a97e817d5f290aac
Submitter: Jenkins
Branch: master

commit ebcc470ea8a632e6d5c13561a97e817d5f290aac
Author: Alex Schultz <email address hidden>
Date: Mon Nov 7 17:17:15 2016 -0700

    Add httpchk for http services

    The httpchk health check option should help reduce the situtations
    where haproxy thinks the service is up but the service is only
    listening and not actively serving http requests.

    Change-Id: Ie72b96c76d7513f84003bc15b6527c97df7ba92f
    Closes-Bug: #1629052

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to puppet-tripleo (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/438576

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/438576
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=354818cb190dd131acb3ee37e1eedfcc007a4e8a
Submitter: Jenkins
Branch: master

commit 354818cb190dd131acb3ee37e1eedfcc007a4e8a
Author: Alex Schultz <email address hidden>
Date: Mon Feb 27 09:07:21 2017 -0700

    Add release note for httpchk

    Adding release note for Ie72b96c76d7513f84003bc15b6527c97df7ba92f

    Change-Id: Ie3dd31519a4a2cc7aa94a5fc7cd7e906482668f3
    Related-Bug: #1629052

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

Fix proposed to branch: master
Review: https://review.openstack.org/439052

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/439052
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=dc52f322eaa1bf3048408e5719f77e456a357ef6
Submitter: Jenkins
Branch: master

commit dc52f322eaa1bf3048408e5719f77e456a357ef6
Author: Alex Schultz <email address hidden>
Date: Tue Feb 28 16:46:47 2017 +0000

    Add httpchk for http services

    The httpchk health check option should help reduce the situtations
    where haproxy thinks the service is up but the service is only
    listening and not actively serving http requests.

    Change-Id: I13cc5dcf2eea53731e756d078586ab9a97340912
    Closes-Bug: #1629052

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 7.0.0

This issue was fixed in the openstack/puppet-tripleo 7.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/465211

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on puppet-tripleo (stable/ocata)

Change abandoned by Emilien Macchi (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/465211

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.