Hello Shahaan, or anyone else affected,

Accepted netplan.io into bionic-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/netplan.io/0.99-0ubuntu3~18.04.4 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

-- 
You received this bug notification because you are a member of STS
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1817651

Title:
  Primary slave on the bond not getting set.

Status in netplan.io package in Ubuntu:
  Fix Released
Status in netplan.io source package in Bionic:
  Fix Committed
Status in netplan.io source package in Focal:
  Fix Released

Bug description:
  [Impact]

  primary slave fails to get set in netplan bonding configuration

  
  [Test Case]

  0. created vm with 3 nics ( ens33, ens38, ens39 )
  1. setup netplan as below
  - https://pastebin.ubuntu.com/p/JGqhYXYY6r/
  - ens38, ens39 is virtual nic, and dummy2 is not.
  2. netplan apply
  3. shows error

  [Where problems could occur]
  As this patch is related to bond, bond may have issue if there is problem.

  
  [Others]

  original description

  
  The primary slave fails to get set in netplan bonding configuration:

  network:
      version: 2
      ethernets:
          e1p1:
              addresses:
              - x.x.x.x/x
              gateway4: x.x.x.x
              match:
                  macaddress: xyz
              mtu: 9000
              nameservers:
                  addresses:
                  - x.x.x.x
              set-name: e1p1
          p1p1:
              match:
                  macaddress: xx
              mtu: 1500
              set-name: p1p1
          p1p2:
              match:
                  macaddress: xx
              mtu: 1500
              set-name: p1p2

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

  ~$ sudo netplan --debug apply
  sudo netplan --debug apply
  ** (generate:7353): DEBUG: 13:22:31.480: Processing input file 
/etc/netplan/50-cloud-init.yaml..
  ** (generate:7353): DEBUG: 13:22:31.480: starting new processing pass
  ** (generate:7353): DEBUG: 13:22:31.480: Processing input file 
/etc/netplan/60-puppet-netplan.yaml..
  ** (generate:7353): DEBUG: 13:22:31.480: starting new processing pass
  ** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
  ** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
  ** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
  ** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
  ** (generate:7353): DEBUG: 13:22:31.480: recording missing yaml_node_t bond0
  ** (generate:7353): DEBUG: 13:22:31.480: starting new processing pass
  Error in network definition /etc/netplan/60-puppet-netplan.yaml line 68 
column 17: bond0: bond already has a primary slave: p1p2

  What's wrong here??

  #apt-cache policy netplan.io
  netplan.io:
    Installed: 0.40.1~18.04.4
    Candidate: 0.40.1~18.04.4
    Version table:
   *** 0.40.1~18.04.4 500
          500 http://mirrors.rc.nectar.org.au/ubuntu bionic-security/main amd64 
Packages
          500 http://mirrors.rc.nectar.org.au/ubuntu bionic-updates/main amd64 
Packages
          100 /var/lib/dpkg/status
       0.36.1 500
          500 http://mirrors.rc.nectar.org.au/ubuntu bionic/main amd64 Packages

  #cat /etc/lsb-release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=18.04
  DISTRIB_CODENAME=bionic
  DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"

  regards,

  Shahaan

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1817651/+subscriptions

-- 
Mailing list: https://launchpad.net/~sts-sponsors
Post to     : sts-sponsors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sts-sponsors
More help   : https://help.launchpad.net/ListHelp

Reply via email to