<div dir="ltr"><div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Apr 10, 2019 at 6:30 PM John Fulton <<a href="mailto:johfulto@redhat.com">johfulto@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
In the Ceph case ceph-ansible has playbooks to correctly handle the<br>
scale down of different ceph services, e.g. delete a monitor [1] or<br>
delete an OSD [2]. The process would be to generate a ceph-ansible<br>
inventory, e.g. the same way we do when we scale up [3], and then<br>
execute one of those playbooks with that inventory. Examples of<br>
running these playbook are in Seb's blog [4].<br>
<br>
This would be a great feature to have because if you don't tell the<br>
Ceph cluster that a node is not part of it anymore, then it will want<br>
to find it and not be happy if you just delete the node. It's better<br>
to tell the ceph cluster not to worry about a particular node anymore<br>
by running one of these playbooks before the node is deleted.<br>
</blockquote></div><br clear="all"></div><div>So if I'm not mistaken, these tasks need to run within the mistral_executor on the Undercloud against a generated ceph-ansible inventory. Which means, no tasks are run on hosts on local mode.</div><div>Let me know if I'm wrong, I'll make sure this is working fine for the scale tasks.<br></div><div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div></div></div>