<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 28, 2017 at 3:03 PM, Michael Burman <span dir="ltr"><<a href="mailto:mburman@redhat.com" target="_blank">mburman@redhat.com</a>></span> wrote:<br><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><div><div><div><div><div><div><div>When you delete the host, all files remain as they were before. Nothing changes.<br></div>I have tested this flow today and this is the result:<br><br></div>1) For example i have host installed with ovirtmgmt as my management and i want to change the management network of the cluster or to add to a new cluster with different management network.<br></div><br>2) Follow the steps create another network as the management network(as explained in the mail or feature page). Make sure to check the 'default route' property as well! and make ovirtmgmt as non-required network as well.<br></div><br>3) Remove the host - no need to remove any files or packages<br></div><br>4) Add the host to the new cluster with the new management network. <br></div><br>5) What will happen is that engine will fail to configure the new management network on the host(and become non-operational), but it is easily can be work around by going to the setup networks dialog and switch between the networks, by detaching ovirtmgmt and attaching the new management network. After pressing OK the new management network will be saved on the host and the new network configuration will be applied on the host. <br><br>6) After this step host still remain as non-operational, all we need to do now is to 'Activate' the host and host become operational once again with the new network changes will take place. All files will be update successfully on the host.<br><br></div>- So it looks like we not handling such scenario smoothly and maybe this should be fixed. <br></div>If we had a host running with 1 management network and we want to add this host to a different cluster with a different management network engine and vdsm should be able to take care of it during the installation of the host and to successfully make all the required changes. <br><br></div>Dan , Alona what do you think? should we handle such use case? or this is expected?<br></div></blockquote><div><br></div><div>Pert Horacek recently wrote a vdsm-tool to remove networks from a host that is no longer used by oVirt.<br><a href="https://gerrit.ovirt.org/#/c/79495/">https://gerrit.ovirt.org/#/c/79495/</a> - link to Petr's code.<br><br></div><div>It will be officially available on 4.2.<br></div><div> </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"><br><br><div><br><div><div><div><div><div><div><div><div><div><div><br></div></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><div><div class="gmail-h5"><br><div class="gmail_quote">On Wed, Sep 27, 2017 at 7:24 PM, Gianluca Cecchi <span dir="ltr"><<a href="mailto:gianluca.cecchi@gmail.com" target="_blank">gianluca.cecchi@gmail.com</a>></span> wrote:<br><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"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Wed, Sep 27, 2017 at 4:32 PM, Michael Burman <span dir="ltr"><<a href="mailto:mburman@redhat.com" target="_blank">mburman@redhat.com</a>></span> wrote:<br><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><div><div><div><div>I was referring to situation in which the host was there before, but you need to re-install it to the new cluster with the new management network.<br><br></div>No package removing is needed at all. Why would you do steps 2-4? no need.<br></div>Step 5 should work.<br><br></div>I'm not sure i understand what you mean by ' still I cannot remove the default ovirtmgmt network from that cluster'??<br></div>Do you want to detach it from the cluster?<br></div>Do you want to remove it from the DC?<br></div>Note that you can change the management network role only if the cluster has no hosts in it.<br><div><br></div></div><div class="gmail_extra"><div><div class="gmail-m_56010190314047749m_5350037216700154134h5"><br></div></div></div></blockquote><div><br></div></span><div>I will try this way.</div><div>Normally in my setups the ip on the mgmt network of the host is also the ip corresponding to its hostname</div><div>When I delete a host from engine, what happens in relation to its network files in /etc/sysconfig/network-scripts<wbr>/ directory and the contents of /var/lib/vdsm/ directory and its subdirectories?</div><div> </div></div></div></div>
</blockquote></div><br><br clear="all"><br></div></div><span class="gmail-">-- <br><div class="gmail-m_56010190314047749gmail_signature"><div dir="ltr"><div class="gmail-m_56010190314047749sig-container" id="gmail-m_56010190314047749standard-target">
<p class="gmail-m_56010190314047749fullname-container" style="font-weight:bold;margin:0px;padding:0px;font-size:14px;text-transform:uppercase"><span class="gmail-m_56010190314047749firstname-container">Michael </span> <span class="gmail-m_56010190314047749lastname-container">Burman</span></p>
<p class="gmail-m_56010190314047749position-container" style="font-weight:normal;font-size:10px;margin:0px 0px 4px;text-transform:uppercase"><span class="gmail-m_56010190314047749position">Quality engineer - rhv network - redhat israel </span><span class="gmail-m_56010190314047749cert" style="font-weight:normal;color:rgb(170,170,170);margin:0px"></span></p>
<p class="gmail-m_56010190314047749legal-container" style="font-weight:normal;margin:0px;font-size:10px;color:rgb(153,153,153)"><a class="gmail-m_56010190314047749redhat-anchor" style="color:rgb(0,136,206);font-size:10px;margin:0px;text-decoration:none;font-family:"overpass",sans-serif" href="https://www.redhat.com" target="_blank">Red Hat <span><br><br></span></a></p>
<p class="gmail-m_56010190314047749contact-container" style="font-weight:normal;margin:0px 0px 6px;font-size:10px;color:rgb(153,153,153)"><span class="gmail-m_56010190314047749email-container" style="margin:0px;padding:0px">
<a class="gmail-m_56010190314047749email-anchor" style="color:rgb(0,136,206);font-size:10px;margin:0px;text-decoration:none;font-family:"overpass",sans-serif" href="mailto:mburman@redhat.com" target="_blank">mburman@redhat.com</a> </span>
<span class="gmail-m_56010190314047749mobile-container">M: <a href="tel:0545355725" style="color:rgb(0,136,206);font-size:11px;margin:0px;text-decoration:none;font-family:"overpass",sans-serif" target="_blank">0545355725</a> </span>
<span class="gmail-m_56010190314047749im-container">IM: <span>mburman</span></span></p>
<table border="0"><tbody><tr><td width="100px"><a href="https://red.ht/sig" target="_blank"> <img src="https://www.redhat.com/files/brand/email/sig-redhat.png" width="90" height="auto"></a> </td>
</tr></tbody></table>
</div></div></div>
</span></div>
</blockquote></div><br></div></div>