TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
NAME=eth2
DEVICE=eth2
IPADDR=192.168.0.8
PREFIX=24
NETMASK=255.255.255.0
ONBOOT=yes
The logs say the selected bridge interface does not exist…
Indeed, but that's not your problem.
2021-05-20 06:46:34,377-0400 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 otopi_host_net: {u'failed': False, u'changed': False, u'ansible_facts': {u'otopi_host_net': [u'eth0', u'eth2', u'eth1']}}
2021-05-20 06:46:34,577-0400 INFO otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:109 TASK [ovirt.hosted_engine_setup : Validate selected bridge interface if management bridge does not exists]
2021-05-20 06:46:34,979-0400 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 {u'msg': u'The selected network interface is not valid', u'changed': False, u'_ansible_no_log': False}
2021-05-20 06:46:35,080-0400 ERROR otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:107 fatal: [localhost]: FAILED! => {"changed": false, "msg": "The selected network interface is not valid"}
This is your problem, as you already understood.
The code emitting this is:
https://github.com/oVirt/ovirt-ansible-collection/blob/master/roles/hosted_engine_setup/tasks/pre_checks/001_validate_network_interfaces.yml
You can try to follow both code and logs in parallel and understand
why it decided it's not valid.
Or you can share the logs with the list and hopefully someone will be
able to understand...
Best regards,
2021-05-20 06:46:35,281-0400 DEBUG otopi.ovirt_hosted_engine_setup.ansible_utils ansible_utils._process_output:103 PLAY RECAP [localhost] : ok: 21 changed: 0 unreachable: 0 skipped: 1 failed: 1
Sent: Thursday, May 20, 2021 7:38 AM
Subject: [EXTERNAL] Re: [ovirt-users] I am trying to setup ovirt hosted engine.
I select eth2 as the default interface for the management network for the VM network.
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The selected network interface is not valid"}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
It appears to be expecting a bridge interface to be setup…
No, it expects a plain nic. There must be some other reason.
You might be able to understand by checking the logs.
Best regards,
--
Didi
CONFIDENTIALITY NOTICE: This email and any attachments are for the sole use of the intended recipient and may contain material that is proprietary, confidential, privileged or otherwise legally protected or restricted under applicable government laws. Any review, disclosure, distributing or other use without expressed permission of the sender is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies without reading, printing, or saving.
--
Didi
_______________________________________________
Users mailing list -- ***@ovirt.org
To unsubscribe send an email to users-***@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/***@ovirt.org/message/VSRGB5LX