An alternative, you install it without bonding, you install the manager on eth0, you install the HE and you add the host and there you create the bonding and the corresponding vlans of each host

El mié., 9 de febrero de 2022 12:40 p. m., Timothy J. Wielgos via Users <users@ovirt.org> escribió:
That did it!

I changed bonding mode from 0 to 2 (XOR) and it installs!

I think that error message needs to be a bit more descriptive, and documentation should be updated to reflect that bonding mode 0 is not supported.

Thanks all for your help!

On Tuesday, February 8, 2022, 05:19:58 PM CST, Gianluca Cecchi <gianluca.cecchi@gmail.com> wrote:


On Tue, Feb 8, 2022 at 10:41 PM Tim W. via Users <users@ovirt.org> wrote:
I think I found the problem.  The regex in 001_validate_network_interfaces.yml really wants there to be a number after the 'bond' identifier, i.e. bond0.  However, the regex is as follows:

  bond_valid_name="{{ iface_item | regex_search('(^bond[0-9]+)') }}"

which will not return a good value if just 'bond' is passed to it (the output of nmcli -g GENERAL.TYPE device show).

However, I am not an ansible expert, nor am I an expert on how these scripts are called.  I humbly request someone else's expert opinion on this.

Thanks again.


I think the main failure reason is about the current bonding mode: balance-rr that is not supported:


Actually here below in hosted engine installation guide:

is stated:
"
If the ovirtmgmt network is not used by virtual machines, the network may use any supported bonding mode.
"

But in 001_validate_network_interfaces.yml there is:

  - name: Set variable for supported bond modes
    set_fact:
      acceptable_bond_modes: ['active-backup', 'balance-xor', 'broadcast', '802.3ad']

and then a when condition with

hostvars[inventory_hostname]['ansible_' + iface_item]['mode'] in acceptable_bond_modes

so that the balance-rr interface is filtered out.
Not digged about the "false" positive regarding messages about only team devices detected...

HIH,
Gianluca


_______________________________________________
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/M5URESC32W4MQ2HVB2HMSXAKCSCQTKFX/