<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>We have been using this since juno for Glance to do healthchecks against glance from haproxy. Its worked pretty well for the most part.</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE">
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri"><span class="Apple-style-span" style="font-size: 14px;"><br>
</span></font></font></div>
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri"><span class="Apple-style-span" style="font-size: 14px;">___________________________________________________________________</span></font></font></div>
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri"><span class="Apple-style-span" style="font-size: 14px;">Kris Lindgren</span></font></font></div>
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri"><span class="Apple-style-span" style="font-size: 14px;">Senior Linux Systems Engineer</span></font></font></div>
<div><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" face="Calibri"><span class="Apple-style-span" style="font-size: 14px;">GoDaddy</span></font></font></div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Andy Botting <<a href="mailto:andy@andybotting.com">andy@andybotting.com</a>><br>
<span style="font-weight:bold">Date: </span>Friday, April 29, 2016 at 10:49 AM<br>
<span style="font-weight:bold">To: </span>Simon Pasquier <<a href="mailto:spasquier@mirantis.com">spasquier@mirantis.com</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>" <<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Openstack-operators] Healthcheck URLs for services<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div>Hi Simon,</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><span class="">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div></div>
</div>
</blockquote>
</span>
<div>There's a healthcheck oslo.middleware plugin [1] available. So you could possibly configure the service pipeline to include this except it won't exercise the db connection, RabbitMQ connection, and so on. But it would help if you want to kick out a service
instance from the load-balancer without stopping the service completely [2].<br>
<br>
[1] <a href="http://docs.openstack.org/developer/oslo.middleware/healthcheck_plugins.html" target="_blank">
http://docs.openstack.org/developer/oslo.middleware/healthcheck_plugins.html</a><br>
[2] <a href="http://docs.openstack.org/developer/oslo.middleware/healthcheck_plugins.html#disable-by-file" target="_blank">
http://docs.openstack.org/developer/oslo.middleware/healthcheck_plugins.html#disable-by-file</a><br>
</div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Thanks for this - I didn't find any of this in my Googling.</div>
<div><br>
</div>
<div>cheers,</div>
<div>Andy</div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>