On Mon, Dec 16, 2019 at 2:46 PM Kaustav Majumder <kmajumde(a)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
<mperina(a)redhat.com> wrote:
>
>
> On Wed, Dec 11, 2019 at 4:29 PM Dominik Holler <dholler(a)redhat.com>
> wrote:
>
>>
>>
>> On Wed, Nov 27, 2019 at 8:37 AM Ondra Machacek <omachace(a)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(a)ovirt.org
>>> To unsubscribe send an email to devel-leave(a)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/AFKGTV4WDNO...
>>>
>> _______________________________________________
>> Devel mailing list -- devel(a)ovirt.org
>> To unsubscribe send an email to devel-leave(a)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/RMNEQG7KNFW...
>>
>
>
> --
> Martin Perina
> Manager, Software Engineering
> Red Hat Czech s.r.o.
> _______________________________________________
> Devel mailing list -- devel(a)ovirt.org
> To unsubscribe send an email to devel-leave(a)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/5TMTVOWQLF7...
>
--
Thanks,
Kaustav Majumder