On Thu, Aug 10, 2017 at 10:10 AM, Fabrice Bacchella <fabrice.bacchella@orange.fr> wrote:
This method of connection to host for installation don't seems be treated as a first class citizen.

The UI is broken on Safari and Firefox, it only works on Chrome:

Safari:


Firefox:


Chrome:


On my Mac, Chrome is the only browser that display it. It's a very old bug.

On the REST api documentation(https://ovirt.prod.exalead.com/ovirt-engine/apidoc/#services/host), it says:

root_password String In The password of of the root user, used to connect to the host via SSH.
ssh Ssh In The SSH details used to connect to the host.

But the Ssh type don't contains the public key informations. Where do I put it ? Is that needed any way ?

At http://ovirt.github.io/ovirt-engine-sdk/master/services.m.html#ovirtsdk4.services.HostsService.add, I read:

Creates a new host. The host is created based on the attributes of the host parameter. The name, address and root_password properties are required.

But what to do if I don't have a root password to give ?

It's just true/false, you can't specify which key to use, it's using the default one:

types.Host(
  ssh=types.Ssh(
   authentication_method=types.SshAuthenticationMethod.PUBLICKEY,
  ),
  ...
)

 



_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users