bond0: interface 'eth0' is not defined when config error was in the bond type

Bug #1900479 reported by Adam Dyess
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Netplan
New
Undecided
Unassigned

Bug Description

network:
    bonds:
        bond0:
            interfaces:
            - eth0
            - eth1
            macaddress: 00:11:22:33:44:55
            mtu: 9000
            parameters:
                down-delay: 0
                lacp-rate: fast
                mii-monitor-interval: 100
                mode: active-standby # CONFIG MISTAKE HERE
                transmit-hash-policy: layer3+4
                up-delay: 0

$ netplan apply
** (generate:376929): DEBUG: 18:16:33.168: Processing input file /etc/netplan/50-cloud-init.yaml..
** (generate:376929): DEBUG: 18:16:33.169: starting new processing pass
** (generate:376929): DEBUG: 18:16:33.169: recording missing yaml_node_t eth0
** (generate:376929): DEBUG: 18:16:33.169: recording missing yaml_node_t eth1
/etc/netplan/50-cloud-init.yaml:10:15: Error in network definition: bond0: interface 'eth0' is not defined
            - eth0
              ^

Revision history for this message
Adam Dyess (addyess) wrote :

the config should have been active-backup because I mistyped. However netplan apply pointed me at a different part of the yaml config path for the error. Please adjust the netplan error

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.