<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 2, 2015 at 10:50 PM, Alex Schultz <span dir="ltr"><<a href="mailto:aschultz@mirantis.com" target="_blank">aschultz@mirantis.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":23j" class="" style="overflow:hidden">So I was working on Bug 1493520 which is about what happens when a<br>
controller runs out of space. For this I came up with a solution[1] to<br>
leverage pacemaker to migrate services away from the controller when<br>
it runs out of space.</div></blockquote></div><br>Yesterday, while we discuss about another bug, Dmitry Iliyn propose following changes to haproxy service checker:</div><div class="gmail_extra">Checker for each service, covered by haproxy, should check also pacemaker status on the target node.</div><div class="gmail_extra">If pacemaker not in the operate state (maintenance mode, fencing processed, something another) Haproxy should markĀ </div><div class="gmail_extra">this endpoint as bad and do not use this endpoint.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div><div class="gmail_signature"><div>IMHO this approach may be use and here.</div><div>As soon out of space detected, pacemaker should be switched to non-operate mode.</div><div><br></div><div>If all openstack services will be controlled by pacemaker -- they will be going down automatically by pacemaker.</div><div>Advantage of moving all openstack services into pacemaker -- one control center for each service for whole cluster.</div><div dir="ltr">Services, controlled by pacemaker, may be just a OS services (init, upstart, or something another) or an containered.</div><div dir="ltr"><br><div>/sv</div></div></div></div>
</div></div>