[ovirt-users] installation of hosts using public key

Ondra Machacek omachace at redhat.com
Thu Aug 10 08:52:19 UTC 2017


On Thu, Aug 10, 2017 at 10:10 AM, Fabrice Bacchella <
fabrice.bacchella at 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 at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170810/e63a7a69/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.tiff
Type: image/tiff
Size: 21330 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170810/e63a7a69/attachment.tiff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-3.tiff
Type: image/tiff
Size: 27230 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170810/e63a7a69/attachment-0001.tiff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.tiff
Type: image/tiff
Size: 354086 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170810/e63a7a69/attachment-0002.tiff>


More information about the Users mailing list