<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 10, 2017 at 10:10 AM, Fabrice Bacchella <span dir="ltr"><<a href="mailto:fabrice.bacchella@orange.fr" target="_blank">fabrice.bacchella@orange.fr</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 style="overflow-wrap: break-word;">This method of connection to host for installation don't seems be treated as a first class citizen.<br><br>The UI is broken on Safari and Firefox, it only works on Chrome:<br><br>Safari:<br><img id="gmail-m_208634026183788697055FA5274-FEBB-4F82-8C5D-1548A37BBF0A" src="cid:9E31D3D6-F2A6-4108-A289-02B74F374DC0@dsone.3ds.com" width="640" height="137"><br><br>Firefox:<br><img id="gmail-m_2086340261837886970CA3EF0BA-74AF-4E81-9F40-1E3A7DDDC8FE" src="cid:144C2A3B-3FF7-4801-B06B-D7BC5BBB6623@dsone.3ds.com" width="567" height="229"><br><br>Chrome:<br><img id="gmail-m_208634026183788697055C98A2C-2A82-490A-8F98-3A94E2547111" src="cid:4450ED29-F3A7-4EF5-A9AE-39E939EE0A11@dsone.3ds.com" width="540" height="211"><br><br>On my Mac, Chrome is the only browser that display it. It's a very old bug.<br><br>On the REST api documentation(<a href="https://ovirt.prod.exalead.com/ovirt-engine/apidoc/#services/host" target="_blank">https://ovirt.<wbr>prod.exalead.com/ovirt-engine/<wbr>apidoc/#services/host</a>), it says:<br><br>root_password<span class="gmail-m_2086340261837886970Apple-tab-span" style="white-space:pre-wrap">        </span>String<span class="gmail-m_2086340261837886970Apple-tab-span" style="white-space:pre-wrap">        </span>In<span class="gmail-m_2086340261837886970Apple-tab-span" style="white-space:pre-wrap">        </span>The password of of the root user, used to connect to the host via SSH.<br>ssh<span class="gmail-m_2086340261837886970Apple-tab-span" style="white-space:pre-wrap">                                </span>Ssh<span class="gmail-m_2086340261837886970Apple-tab-span" style="white-space:pre-wrap">                </span>In<span class="gmail-m_2086340261837886970Apple-tab-span" style="white-space:pre-wrap">        </span>The SSH details used to connect to the host.<br><br>But the Ssh type don't contains the public key informations. Where do I put it ? Is that needed any way ?<br><br>At <a href="http://ovirt.github.io/ovirt-engine-sdk/master/services.m.html#ovirtsdk4.services.HostsService.add" target="_blank">http://ovirt.github.io/ovirt-<wbr>engine-sdk/master/services.m.<wbr>html#ovirtsdk4.services.<wbr>HostsService.add</a>, I read:<br><br>Creates a new host. The host is created based on the attributes of the host parameter. The name, address and root_<wbr>password properties are required.<br><br>But what to do if I don't have a root password to give ?<br></div></blockquote><div><br><div>It's just true/false, you can't specify which key to use, it's using the default one:<br><br>types.Host(<br><span class="gmail-pl-v"> ssh</span><span class="gmail-pl-k">=</span>types.Ssh(
<table class="gmail-highlight gmail-tab-size gmail-js-file-line-container"><tbody><tr><td id="gmail-LC215" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line"> <span class="gmail-pl-v">authentication_method</span><span class="gmail-pl-k">=</span>types.SshAuthenticationMethod.<span class="gmail-pl-c1">PUBLICKEY</span>,</td>
</tr>
<tr>
</tr></tbody></table> ),<br> ...<br>)<br></div><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 style="overflow-wrap: break-word;"><br><br></div><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>