<div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 11, 2019 at 8:28 AM Martin Schuppert <<a href="mailto:mschuppert@redhat.com">mschuppert@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"><div dir="ltr"><div dir="ltr"><div style="font-family:monospace,monospace"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 11, 2019 at 2:20 PM Emilien Macchi <<a href="mailto:emilien@redhat.com" target="_blank">emilien@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"><div dir="ltr"><div><div dir="ltr">On Thu, Apr 11, 2019 at 3:23 AM Martin Schuppert <<a href="mailto:mschuppert@redhat.com" target="_blank">mschuppert@redhat.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div><div style="font-family:monospace,monospace">For nova/neutron it would be to disable the service/agent:</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">(overcloud) $ openstack compute service list</div><font face="monospace, monospace">(overcloud) $ openstack compute service set [hostname] nova-compute --disable</font><br></div><div><br></div><div><span style="font-family:monospace,monospace"><span class="gmail_default" style="font-family:monospace,monospace"></span>(overcloud) $ openstack network agent list</span><span style="font-family:monospace,monospace"><br></span></div><div><div><div><span class="gmail_default" style="font-family:monospace,monospace"></span><span style="font-family:monospace,monospace">(overcloud) $ </span><font face="monospace, monospace">openstack network agent set --disable </font><span style="font-family:monospace,monospace">[openvswitch-agent-id]</span><br></div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">After service is stopped/or host delete</div><div style="font-family:monospace,monospace">(overcloud) $ openstack compute service delete [service-id]</div><div style="font-family:monospace,monospace">(overcloud) $ openstack network agent delete [openvswitch-agent-id]<br></div></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"></div><div>Ok so these commands would need to be executed from the Undercloud in the mistral_container, since they do nothing on local nodes but just do CLI against APIs.</div><div>I take note and will make sure it's possible.</div><div><br></div><div>Do you folks already have some playbooks doing these things or should we start from scratch?<br></div></div></blockquote><div><br></div><div><div style="font-family:monospace,monospace">No, right now those are manual tasks, but Rajesh could help on this.</div></div></div></div></blockquote><div><br></div><div>I'm prototyping it on <a href="https://review.openstack.org/#/c/653893/">https://review.openstack.org/#/c/653893/</a> - I'll iterate on that patch and once it works I'll tackle Neutron. Feedback is welcome! <br></div></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Emilien Macchi<br></div></div></div></div>