On Sun, Mar 14, 2021 at 11:15 AM Gianluca Cecchi
<gianluca.cec...@gmail.com> wrote:
>
>
>
> Il Dom 14 Mar 2021, 08:41 Yedidyah Bar David <d...@redhat.com> ha scritto:
>>
>> On Sun, Mar 14, 2021 at 8:01 AM <jost.rako...@snt.si> wrote:
>> >
>> > Is it possible to ssh or any other way connect to self hosted engine 
>> > during deployment, since anssible is using ssh? I would like to check 
>> > something?
>> >
>> > something like this:
>> >
>> > ssh -C -o ControlMaster=auto -o ControlPersist=60s -o User="root" -o 
>> > ConnectTimeout=10 -o StrictHostKeyChecking=no -o 
>> > UserKnownHostsFile=/dev/null -o ControlPath=/root/.ansible/cp/45a9ce675c 
>> > -tt olvman.example.local /bin/sh -c
>>
>> An early phase of the deploy process creates a local VM, managed by
>> libvirt directly (not vdsm).
>>
>> The IP address of this VM is written to the log.
>>
>> I use the following command to ssh to it from the host:
>
>
> It seems to me that the temporary ip of the engine vm is also written inside 
> /etc/hosts of the hypervisor so I simply connected via ssh to this ip without 
> any particular option...

You are right. :-)

That said, the deploy process also removes it from there on cleanup,
so it might be gone by the time you check, even if the VM is still up
and has this IP. But I didn't check thoroughly.

Best regards,
-- 
Didi
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WHQCYVX5MH26WPTEN3RDIXRIUZVVS3X2/

Reply via email to