bond0 is the name of the bond.  However, the output of the query to network 
manager that is coming up is just 'bond'

[root@mustafar ~]# ip addr sho bond06: bond0: 
<BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group 
default qlen 1000    link/ether [redacted] brd ff:ff:ff:ff:ff:ff    inet 
192.168.5.83/24 brd 192.168.5.255 scope global noprefixroute bond0       
valid_lft forever preferred_lft forever    inet6 [redacted]/64 scope global 
dynamic noprefixroute        valid_lft 29sec preferred_lft 19sec    inet6 
fe80::7766:8381:983a:9198/64 scope link noprefixroute        valid_lft forever 
preferred_lft forever

    On Tuesday, February 8, 2022, 05:06:58 PM CST, Strahil Nikolov 
<[email protected]> wrote:  
 
 What is your bond name ?

 
 
  On Tue, Feb 8, 2022 at 23:41, Tim W. via Users<[email protected]> 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.
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/6AYCPB63G6INUDEFIQP2KI6SU2UFS6XF/
  
  
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/E6ETDK6FM5BVUS32RJG2IAP6DWUVCC74/

Reply via email to