<div dir="auto">Thanks Curtis. <div dir="auto">I have already tried "pcs resource cleanup" but it cleans fine all resources but not remote nodes.</div><div dir="auto">Anycase on monday I'll send what you requested.</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 14:27, "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="quoted-text">On Fri, May 12, 2017 at 10:23 PM, Ignazio Cassano<br>
<<a href="mailto:ignaziocassano@gmail.com">ignaziocassano@gmail.com</a>> wrote:<br>
> Hi Curtis, at this time I am using remote pacemaker only for controlli ng<br>
> openstack services on compute nodes (neutron openvswitch-agent,<br>
> nova-compute, ceilometer compute). I wrote my own ansible playbooks to<br>
> install and configure all components.<br>
> Second step could  be expand it for vm high availability.<br>
> I did not find any procedure for cleaning up compute node after rebooting<br>
> and I googled a lot without luck.<br>
<br>
</div>Can you paste some putput of something like "pcs status" and I can try<br>
to take a look?<br>
<br>
I've only used pacemaker a little, but I'm fairly sure it's going to<br>
be something like "pcs resource cleanup <resource_id>"<br>
<br>
Thanks,<br>
Curtis.<br>
<div class="elided-text"><br>
> Regards<br>
> Ignazio<br>
><br>
> Il 13/Mag/2017 00:32, "Curtis" <<a href="mailto:serverascode@gmail.com">serverascode@gmail.com</a>> ha scritto:<br>
><br>
> 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<br>
>> 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<br>
>> 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>
> 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>
><br>
><br>
><br>
> --<br>
> Blog: <a href="http://serverascode.com" rel="noreferrer" target="_blank">serverascode.com</a><br>
><br>
><br>
<br>
<br>
<br>
</div><font color="#888888">--<br>
Blog: <a href="http://serverascode.com" rel="noreferrer" target="_blank">serverascode.com</a><br>
</font></blockquote></div><br></div>