<div dir="auto">Hi Curtis, at this time I am using remote pacemaker only for controlli ng openstack services on compute nodes (neutron openvswitch-agent, nova-compute, ceilometer compute). I wrote my own ansible playbooks to install and configure all components.<div dir="auto">Second step could be expand it for vm high availability.</div><div dir="auto">I did not find any procedure for cleaning up compute node after rebooting and I googled a lot without luck. </div><div dir="auto">Regards </div><div dir="auto">Ignazio</div></div><div class="gmail_extra"><br><div class="gmail_quote">Il 13/Mag/2017 00:32, "Curtis" <<a href="mailto:serverascode@gmail.com">serverascode@gmail.com</a>> ha scritto:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text">On Fri, May 12, 2017 at 8:51 AM, Ignazio Cassano<br>
<<a href="mailto:ignaziocassano@gmail.com">ignaziocassano@gmail.com</a>> wrote:<br>
> Hello All,<br>
> I installed openstack newton p<br>
> with a pacemaker cluster made up of 3 controllers and 2 compute nodes. All<br>
> computer have centos 7.3.<br>
> Compute nodes are provided with remote pacemaker ocf resource.<br>
> If before shutting down a compute node I disable the compute node resource<br>
> in the cluster and enable it when the compute returns up, it work fine and<br>
> cluster shows it online.<br>
> If the compute node goes down before disabling the compute node resource in<br>
> the cluster, it remains offline also after it is powered up.<br>
> The only solution I found is removing the compute node resource in the<br>
> cluster and add it again with a different name (adding this new name in all<br>
> controllers /etc/hosts file).<br>
> With the above workaround it returns online for the cluster and all its<br>
> resources (openstack-nova-compute etc etc....) return to work fine.<br>
> Please, does anyone know a better solution ?<br>
<br>
</div>What are you using pacemaker for on the compute nodes? I have not done<br>
that personally, but my impression is that sometimes people do that in<br>
order to have virtual machines restarted somewhere else should the<br>
compute node go down outside of a maintenance window (ie. "instance<br>
high availability"). Is that your use case? If so, I would imagine<br>
there is some kind of clean up procedure to put the compute node back<br>
into use when pacemaker thinks it has failed. Did you use some kind of<br>
openstack distribution or follow a particular installation document to<br>
enable this pacemaker setup?<br>
<br>
It sounds like everything is working as expected (if my guess is<br>
right) and you just need the right steps to bring the node back into<br>
the cluster.<br>
<br>
Thanks,<br>
Curtis.<br>
<br>
<br>
> Regards<br>
> Ignazio<br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> OpenStack-operators mailing list<br>
> <a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.<wbr>openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-operators</a><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Blog: <a href="http://serverascode.com" rel="noreferrer" target="_blank">serverascode.com</a><br>
</font></blockquote></div><br></div>