bonded interface not starting automatically

Bug #1502635 reported by Mike Loebl on 2015-10-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Revati S Hiremath

Bug Description

Upgraded over 15.04 to 15.10 Final Beta. Have a LACP bonded interface with two NICs. Using NetworkManager to handle the NIC bonding. After upgrading to 15.10, the bond0 interface no long auto starts when the system comes up. If I manually do a ifconfig bond0 up, it will start. As a workaround I added this to rc.local, but not sure where to look to see why it's failing in 15.10.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: network-manager 1.0.4-0ubuntu4
ProcVersionSignature: Ubuntu 4.2.0-12.14-generic 4.2.1
Uname: Linux 4.2.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Oct 4 10:43:06 2015
InstallationDate: Installed on 2012-12-18 (1019 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
 No journal files were found.
 -- No entries --
 Error: command ['udevadm', 'info', '--query=all', '--path', '/sys/class/net/bonding_masters'] failed with exit code 2: syspath not found

 X: INTERFACE_MAC=Error: command ['cat', '/sys/class/net/bonding_masters/address'] failed with exit code 1: cat: /sys/class/net/bonding_masters/address: Not a directory
SourcePackage: network-manager
UpgradeStatus: Upgraded to wily on 2015-10-03 (0 days ago)

mtime.conffile..etc.NetworkManager.NetworkManager.conf: 2015-10-03T20:26:36.767583
nmcli-nm: Error: command ['nmcli', '-f', 'all', 'nm'] failed with exit code 2: Error: Object 'nm' is unknown, try 'nmcli help'.

Mike Loebl (mloebl) wrote :
Mike Loebl (mloebl) wrote :

Looking at the error above... I think I see one issue... in /sys/class/net/, bonding_masters is a file, not a folder.

Changed in network-manager (Ubuntu):
assignee: nobody → Revati S Hiremath (rhiremath45)
Changed in network-manager (Ubuntu):
status: New → In Progress
Revati S Hiremath (rhiremath45) wrote :

The patch for the above solution is attached.

The attachment "bugs.txt" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Mike Loebl (mloebl) wrote :

I must be missing it; I see the bugs.txt which looks like output, but I don't see a patch attached? Thanks!

Changed in network-manager (Ubuntu):
status: In Progress → Confirmed
Changed in network-manager (Ubuntu):
status: Confirmed → In Progress
Revati S Hiremath (rhiremath45) wrote :
Revati S Hiremath (rhiremath45) wrote :
Revati S Hiremath (rhiremath45) wrote :
Changed in network-manager (Ubuntu):
importance: Undecided → Medium
To post a comment you must log in.