Dear david.

U where right. The reinstall ansible collection solved all the problems. I have deployed the engine vm without any issues.

Many thanks. Hope this help someone in the future.

El lun., 8 de agosto de 2022 02:44, Yedidyah Bar David <didi@redhat.com> escribió:
On Thu, Aug 4, 2022 at 6:05 PM Facundo Badaracco <varekoarfa@gmail.com> wrote:
>
> awesome david, im really thankful.
>
> [root@vs05 ~]#  rpm -q rpm -q ovirt-ansible-collection
> rpm-4.14.3-23.el8.x86_64
> ovirt-ansible-collection-2.1.0-1.el8.noarch
> [root@vs05 ~]# rpm -V ovirt-ansible-collection
> S.5....T.    /usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/defaults/main.yml
> S.5....T.    /usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/pre_checks/001_validate_network_interfaces.yml

Whoops! These files are changed/corrupted. That's the '5' there.
Please check them.
If you changed them manually for some reason, it might be enough to
'dnf reinstall ovirt-ansible-collection'. Otherwise, I'd suspect some
bigger issue/corruption/whatever and check more carefully. If you are
certain that the hardware is fine, and can't spot a specific issue
leading to this, you might want to reinstall the OS.

>
> i have attached journal and messages...

I didn't check them.

>
>
> its a clean installation. i can reinstall everything if needed, even the SO.

See above. I'd personally not reinstall the OS without first checking
what caused this corruption - if it's a hardware issue, better handle
it before continuing, especially if this installation is eventually
intended for production work.

Good luck and best regards,

>
>
> El jue, 4 ago 2022 a la(s) 11:23, Yedidyah Bar David (didi@redhat.com) escribió:
>>
>> On Tue, Aug 2, 2022 at 3:51 PM Facundo Badaracco <varekoarfa@gmail.com> wrote:
>>>
>>> hi everyone, thanks for ur help.
>>>
>>> i tried what itforums suggested, but nothing worked.
>>> cleaned the log, make a new run, i have found what u say david, "otopi_net_host" but i cant find something that helps me to fix it. i have attached the logs if u can help with this, will be greatly appreciated.
>>
>>
>> In your ovirt-hosted-engine-setup-20220802093048-j34sz6.log.txt, there is this error:
>>
>> 2022-08-02 09:31:17,677-0300 DEBUG otopi.context context._executeMethod:145 method exception
>> Traceback (most recent call last):
>>   File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-common/network/bridge.py", line 156, in _customization
>>     'otopi_host_net'
>> KeyError: 'otopi_host_net'
>>
>> And indeed, you can't find 'otopi_host_net' in ovirt-hosted-engine-setup-ansible-get_network_interfaces-20220802093113-agfg7e.log.txt. In fact, the last tasks there are 'Collect Team devices', then 'Filter team devices', then 'Fail if only team devices are available', and that's it - which is very weird, as these are in filter_team_devices.yml, which is imported in the middle of 001_validate_network_interfaces.yml - right after that, it imports filter_unsupported_vlan_devices.yml, but nothing from there is in the log. The next task you should have seen is 'Search VLAN devices', as I can see in my own log (for example).
>>
>> Please check:
>>
>> - rpm -q rpm -q ovirt-ansible-collection
>> - rpm -V ovirt-ansible-collection
>> - Perhaps some more logs, such as /var/log/messages, journalctl, etc., that might include relevant errors from ansible. Weird.
>>
>>
>>>
>>>
>>> if u run the deploy from cockpit, no logs are created but if i do it from cli, the logs are created.
>>
>>
>> The cockpit deployment is deprecated. Not sure we ever announced this officially for oVirt.
>>
>> We did remove the cockpit-based installation guide from the documentation section on the website.
>>
>> It had too many problems and quite little use.
>>
>> So please use the CLI. Thanks.
>>
>> Best regards,
>>
>>>
>>>
>>>
>>> El mar, 2 ago 2022 a la(s) 02:49, <itforums51@gmail.com> escribió:
>>>>
>>>> Hi, your issue is probably related to this https://www.mail-archive.com/users@ovirt.org/msg70657.html ....
>>>>
>>>> I also have 3x servers (using bond for storage network) and was able to successfully deploy the engine, but using the workaround suggested by 'Dax Kelson's thread above' and also later by editing a vars file on an ansible role: https://github.com/oVirt/ovirt-engine/issues/520
>>>>
>>>> I'd say give it a try and let us know the outcome.
>>>> _______________________________________________
>>>> Users mailing list -- users@ovirt.org
>>>> To unsubscribe send an email to users-leave@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/647W6ROQFCDVKREHIZMCQ474MV3TFBNR/
>>>
>>> _______________________________________________
>>> Users mailing list -- users@ovirt.org
>>> To unsubscribe send an email to users-leave@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/QD65NZ5TFLZINJXAJNKF4VZHUS4P7CVG/
>>
>>
>>
>> --
>> Didi



--
Didi