what do you see for your host on engine.log ? any SSH timeout issue?

On Mon, Dec 16, 2019 at 4:18 PM Kaustav Majumder <kmaju...@redhat.com>
wrote:

>
>
> On Mon, Dec 16, 2019 at 7:45 PM Amit Bawer <aba...@redhat.com> wrote:
>
>> from snippet is seems you are under
>> ~/work/ovirt-engine-builds/11-12-global-options
>>
> This is my $PREFIX .
> ⌂120% [kmajumde:~/work/ovirt-engine-builds/11-12-global-options] $ ls
> var/log/ovirt-engine/
> ansible  boot.log  cinderlib  dump  engine.log  host-deploy  notifier  ova
>  server.log  setup  ui.log
>
>> trying to ls var in relative path to your working directory
>> is it possible you have omitted the leading backslash?
>>
>> ls */*var/log/ovirt-engine/host-deploy/
>>
>>
>> On Mon, Dec 16, 2019 at 4:11 PM Kaustav Majumder <kmaju...@redhat.com>
>> wrote:
>>
>>> No logs whatsoever.
>>> ```
>>> ls var/log/ovirt-engine/host-deploy/
>>> ⌂142% [kmajumde:~/work/ovirt-engine-builds/11-12-global-options] $
>>> ```
>>>
>>>
>>> On Mon, Dec 16, 2019 at 7:39 PM Amit Bawer <aba...@redhat.com> wrote:
>>>
>>>>
>>>>
>>>> On Mon, Dec 16, 2019 at 2:46 PM Kaustav Majumder <kmaju...@redhat.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> i have tried setting up my devel env on an updated fedora 30. Engine
>>>>> is running well but when I am trying to add a new host to the engine
>>>>> (Centos 7.7) it is taking 2+ hrs and has still not added the host. Is this
>>>>> expected behaviour? Also I can't find any host deploy or ansible logs.
>>>>>
>>>>
>>>> Aren't any new logs under engine machine path at
>>>> /var/log/ovirt-engine/host-deploy/ ?
>>>>
>>>>
>>>>> On Thu, Dec 12, 2019 at 2:11 AM Martin Perina <mper...@redhat.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Dec 11, 2019 at 4:29 PM Dominik Holler <dhol...@redhat.com>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Wed, Nov 27, 2019 at 8:37 AM Ondra Machacek <omach...@redhat.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> we are going to merge a series of patches to master branch, which
>>>>>>>> integrates ansible-runner with oVirt engine. When the patches will
>>>>>>>> be
>>>>>>>> merged you will need to install new package called ansible-runner-
>>>>>>>> service-dev, and follow instructions so your dev-env will keep
>>>>>>>> working
>>>>>>>> smoothly(all relevant info will be also in README.adoc):
>>>>>>>>
>>>>>>>> 1) sudo dnf update ovirt-release-master
>>>>>>>>
>>>>>>>> 2) sudo dnf install -y ansible-runner-service-dev
>>>>>>>>
>>>>>>>>
>>>>>>> "dnf install -y ansible-runner-service-dev" did not work for me on
>>>>>>> fedora 29.
>>>>>>>
>>>>>>
>>>>>> You need to have at least FC30, because ansible-runner on FC29 is too
>>>>>> old
>>>>>>
>>>>>>> I created manually the file /etc/yum.repos.d/centos.repo:
>>>>>>> [centos-ovirt44-testing]
>>>>>>> name=CentOS-7 - oVirt 4.4
>>>>>>> baseurl=
>>>>>>> http://cbs.centos.org/repos/virt7-ovirt-44-testing/$basearch/os/
>>>>>>> gpgcheck=0
>>>>>>> enabled=1
>>>>>>>
>>>>>>> which made the ansible-runner-service-dev available.
>>>>>>>
>>>>>>>
>>>>>>>> 3) Edit `/etc/ansible-runner-service/config.yaml` file as follows:
>>>>>>>>
>>>>>>>>    ---
>>>>>>>>    playbooks_root_dir:
>>>>>>>> '$PREFIX/share/ovirt-engine/ansible-runner-service-project'
>>>>>>>>    ssh_private_key:
>>>>>>>> '$PREFIX/etc/pki/ovirt-engine/keys/engine_id_rsa'
>>>>>>>>    port: 50001
>>>>>>>>    target_user: root
>>>>>>>>
>>>>>>>> Where `$PREFIX` is the prefix of your development environment
>>>>>>>> prefix,
>>>>>>>> which you've specified during the compilation of the engine.
>>>>>>>>
>>>>>>>> 4) Restart and enable ansible-runner-service:
>>>>>>>>
>>>>>>>>    # systemctl restart ansible-runner-service
>>>>>>>>    # systemctl enable ansible-runner-service
>>>>>>>>
>>>>>>>> That's it, your dev-env should start using the
>>>>>>>> ansible-runner-service
>>>>>>>> for host-deployment etc.
>>>>>>>>
>>>>>>>> Please note that only Fedora 30/31 and Centos7 was packaged, and are
>>>>>>>> natively supported!
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Ondra
>>>>>>>> _______________________________________________
>>>>>>>> Devel mailing list -- devel@ovirt.org
>>>>>>>> To unsubscribe send an email to devel-le...@ovirt.org
>>>>>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>>>>>> oVirt Code of Conduct:
>>>>>>>> https://www.ovirt.org/community/about/community-guidelines/
>>>>>>>> List Archives:
>>>>>>>> https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AFKGTV4WDNONLND63RR6YMSMV4FJQM4L/
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Devel mailing list -- devel@ovirt.org
>>>>>>> To unsubscribe send an email to devel-le...@ovirt.org
>>>>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>>>>> oVirt Code of Conduct:
>>>>>>> https://www.ovirt.org/community/about/community-guidelines/
>>>>>>> List Archives:
>>>>>>> https://lists.ovirt.org/archives/list/devel@ovirt.org/message/RMNEQG7KNFWSQX4REN3JN34ED4KTGYRH/
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Martin Perina
>>>>>> Manager, Software Engineering
>>>>>> Red Hat Czech s.r.o.
>>>>>> _______________________________________________
>>>>>> Devel mailing list -- devel@ovirt.org
>>>>>> To unsubscribe send an email to devel-le...@ovirt.org
>>>>>> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
>>>>>> oVirt Code of Conduct:
>>>>>> https://www.ovirt.org/community/about/community-guidelines/
>>>>>> List Archives:
>>>>>> https://lists.ovirt.org/archives/list/devel@ovirt.org/message/5TMTVOWQLF7GQS2ZXFEZ6TFID6LI26UO/
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Kaustav Majumder
>>>>>
>>>>
>>>
>>> --
>>>
>>> Thanks,
>>>
>>> Kaustav Majumder
>>>
>>
>
> --
>
> Thanks,
>
> Kaustav Majumder
>
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/UNBUMZVU6BMAKVGZP2KWM7SXHPBHWCYY/

Reply via email to