What are the exact contents of /etc/netplan/50-cloud-init.yaml and
/etc/netplan/60-puppet-netplan.yaml? Do both define bond0?

I have used the config provided (after setting dummy IPs and MAC that
pass validation) and made sure indentation was correct, and it seems to
parse and generate config just fine:

netplan.generate:54: DEBUG: running ['./generate', '--root-dir', '../testing/']
(generate:16592): netplan.generate-DEBUG: 13:48:46.639: Processing input file 
../testing//etc/netplan/netplan.yaml..
(generate:16592): netplan.parse-DEBUG: 13:48:46.639: starting new processing 
pass
(generate:16592): netplan.generate-DEBUG: 13:48:46.639: Generating output 
files..
(generate:16592): netplan.generate.nm-DEBUG: 13:48:46.640: NetworkManager: 
definition e1p1 is not for us (backend 1)
(generate:16592): netplan.generate.nm-DEBUG: 13:48:46.640: NetworkManager: 
definition p1p1 is not for us (backend 1)
(generate:16592): netplan.generate.nm-DEBUG: 13:48:46.640: NetworkManager: 
definition p1p2 is not for us (backend 1)
(generate:16592): netplan.generate.nm-DEBUG: 13:48:46.640: NetworkManager: 
definition bond0 is not for us (backend 1)
(generate:16592): GLib-DEBUG: 13:48:46.640: posix_spawn avoided (fd close 
requested) 


I've used exactly this:
network:
    version: 2
    ethernets:
        e1p1:
            addresses:
            - 1.1.1.1/24
            gateway4: 1.1.1.24
            match:
                macaddress: 00:00:00:0a:ab:cd
            mtu: 9000
            nameservers:
                addresses:
                - 8.8.8.8
            set-name: e1p1
        p1p1:
            match:
                macaddress: 01:00:00:0a:ab:cd
            mtu: 1500
            set-name: p1p1
        p1p2:
            match:
                macaddress: 02:00:00:0a:ab:cd
            mtu: 1500
            set-name: p1p2

    bonds:
        bond0:
            mtu: 9000
            interfaces: [p1p1, p1p2]
            parameters:
                mode: active-backup
                mii-monitor-interval: 100
                primary: p1p2


Is there any additional information you can provide that would help us
in identifying what might be the issue here?

Thanks!

** Also affects: netplan.io (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: netplan.io (Ubuntu)
       Status: New => Incomplete

** Changed in: netplan
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1817650

Title:
  Primary slave on the bond not getting set.

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1817650/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to