<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 3, 2018 at 12:25 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 3, 2018 at 11:56 AM, Marcin Mirecki <span dir="ltr"><<a href="mailto:mmirecki@redhat.com" target="_blank">mmirecki@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">Hello Gianluca,<div><br></div><div>Add/remove would probably be the simplest way to go.</div><div>The procedure would be:</div><div>- take host to maintenance</div><div>- remove host</div><div>- use vdsm-cient to change the ip of ovirtmgmt</div><div>- add the host again</div><div><br></div><div>Just changing the dns configuration sounds quite interesting.</div><div>I suppose the host certificates should be ok if the host was added by hostname.<br></div><div><br></div></div></blockquote><div> </div></div></div></span><div class="gmail_extra">I've already done something similar in September; see here the full thread:</div><div class="gmail_extra"><a href="http://lists.ovirt.org/pipermail/users/2017-September/084411.html" target="_blank">http://lists.ovirt.org/<wbr>pipermail/users/2017-<wbr>September/084411.html</a><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">In that case it was more complicated in the sense that vlan change was involved for ovirtmgmt and I passed through a new cluster.</div><div class="gmail_extra">Now it is more simple, but while on September case the hosts were plain CentOS hosts, now they are ovirt-node-ng, so my manual ifcfg files manipulation doesn't fit.</div><div class="gmail_extra"><br></div><div class="gmail_extra">If vdsm-client command is ok I presume it will be something of type:</div><div class="gmail_extra"><br></div><div class="gmail_extra"># vdsm-client Host setupNetworks <br></div><div class="gmail_extra"><div class="gmail_extra">vdsm-client: Command Host.setupNetworks with args {} failed:</div><div class="gmail_extra">(code=-32603, message=Attempt to call function: <bound method Global.setupNetworks of <API.Global object at 0x2279f10>> with arguments: () error: setupNetworks() takes exactly 4 arguments (1 given))</div><div class="gmail_extra"># </div><div><br></div></div><div class="gmail_extra">with some sort of json configuration, but it is not clear to me what to give</div><div class="gmail_extra"><br></div><div class="gmail_extra">Can I do the change of ip from the host web cockpit mgmt interface? I set/change the ip and then eventually reboot the server to see if it works?</div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Gianluca</div></font></span></div>
</blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">hello,</div><div class="gmail_extra">any update on how to give JSON representation (or other way) to use vdsm-client and change ip/gateway of ovirt-ng node?</div><div class="gmail_extra">Thanks</div><div class="gmail_extra"><br></div><div class="gmail_extra">Gianluca<br></div></div>