Bug 1316592

Summary: AvailableConnections remains empty for bond
Product: [Fedora] Fedora Reporter: Marius Vollmer <mvollmer>
Component: NetworkManagerAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: bgalvani, dcbw, lkundrak, psimerda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-15 17:02:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Vollmer 2016-03-10 14:47:24 UTC
(Probably related to bug 1316488.)
 
Description of problem:
After creating a new bond, the AvailableConnections property of the new device remains empty.  This means that Cockpit does not find the slave connections for the bridge, and doesn't show the slave interfaces correctly.

AvailableConnections seems to have the wrong value a lot, and that causes trouble in general for Cockpit.  If AvailableConnections is not reliable, we would have to match connections with devices ourselves, which would suck of course.

Version-Release number of selected component (if applicable):
NetworkManager-1.2.0-0.6.beta2.fc24.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Get to a clean setup with one extra network interface

# nmcli device 
DEVICE  TYPE      STATE         CONNECTION         
ens3    ethernet  connected     Wired connection 1 
ens9    ethernet  disconnected  --                 
lo      loopback  unmanaged     --                

# nmcli connection 
NAME                UUID                                  TYPE            DEVICE 
Wired connection 1  5845fe78-e280-43be-9839-9a0c76317aa0  802-3-ethernet  ens3   


2.  Create a bond by creating two new connection settings

# nmcli connection add type bond con-name BOND
# nmcli connection add type bond-slave con-name ens9 master BOND ifname ens9

# nmcli device show nm-bond

3. Check the AvailableConnections property

# gdbus introspect -y -d org.freedesktop.NetworkManager -o /org/freedesktop/NetworkManager/Devices/3

Actual results:
      readonly ao AvailableConnections = [];


Expected results:
      readonly ao AvailableConnections = [ path-to-BOND-connection-settings ];

Comment 1 Beniamino Galvani 2016-03-15 17:02:59 UTC

*** This bug has been marked as a duplicate of bug 1316488 ***