<div dir="ltr">Folks<div><br></div><div>Is not it possible for an OCF script to clear this attribute after a sufficient period of successful monitoring of node health? It could be a better approach in this case then restarting the node.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 17, 2015 at 5:41 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Kyrylo,<br>
<span class=""><br>
<br>
On Tue, Nov 17, 2015 at 8:28 AM, Kyrylo Galanov <<a href="mailto:kgalanov@mirantis.com">kgalanov@mirantis.com</a>> wrote:<br>
> Hi Team,<br>
><br>
> I have been testing fail-over after free disk space is less than 512 mb.<br>
> (<a href="https://review.openstack.org/#/c/240951/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/240951/</a>)<br>
> Affected node is stopped correctly and services migrate to a healthy node.<br>
><br>
> However, after free disk space is more than 512 mb again the node does not<br>
> recover it's state to operating. Moreover, starting the resources manually<br>
> would rather fail. In a nutshell, the pacemaker service / node should be<br>
> restarted. Detailed information is available here:<br>
> <a href="https://www.suse.com/documentation/sle_ha/book_sleha/data/sec_ha_configuration_basics_monitor_health.html" rel="noreferrer" target="_blank">https://www.suse.com/documentation/sle_ha/book_sleha/data/sec_ha_configuration_basics_monitor_health.html</a><br>
><br>
> How do we address this issue?<br>
><br>
<br>
</span>So the original change for this was<br>
<a href="https://review.openstack.org/#/c/226062/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/226062/</a>. As indicated by the commit<br>
message, the only way pacemaker will recover is that the operator must<br>
run a pacemaker command to clear the disk alert.<br>
<br>
crm node status-attr <hostname> delete "#health_disk"<br>
<br>
Once the operator has cleared up the diskspace issue and run the above<br>
command, pacemaker will rejoin the cluster and start services again.<br>
The documentation bug for this is<br>
<a href="https://bugs.launchpad.net/fuel/+bug/1500422" rel="noreferrer" target="_blank">https://bugs.launchpad.net/fuel/+bug/1500422</a>.<br>
<br>
Thanks,<br>
-Alex<br>
<br>
><br>
> Best regards,<br>
> Kyrylo<br>
><br>
> __________________________________________________________________________<br>
> OpenStack Development Mailing List (not for usage questions)<br>
> Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Yours Faithfully,<br>Vladimir Kuklin,<br>Fuel Library Tech Lead,<br>Mirantis, Inc.<br>+7 (495) 640-49-04<br>+7 (926) 702-39-68<br>Skype kuklinvv<br>35bk3, Vorontsovskaya Str.<br>Moscow, Russia,<br><a href="http://www.mirantis.ru/" target="_blank">www.mirantis.com</a><br><a href="http://www.mirantis.ru/" target="_blank">www.mirantis.ru</a><br><a href="mailto:vkuklin@mirantis.com" target="_blank">vkuklin@mirantis.com</a></div></div></div></div>
</div>