Bug 1255735

Summary: Dialog run by nm-connection-editor --create --type=vlan doesn't offer connections (eg bond) as parents
Product: Red Hat Enterprise Linux 7 Reporter: Radek Vykydal <rvykydal>
Component: network-manager-appletAssignee: Jirka Klimes <jklimes>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: bgalvani, dcbw, jklimes, lrintel, mcepl, rkhan, thaller, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The nm-connection-editor makes it possible to create software devices on top of other software devices.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 11:03:15 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:
Bug Depends On:    
Bug Blocks: 1112674    
Attachments:
Description Flags
screenshot of g-c-c network - connections are missing
none
screenshot of nm-c-e - connections are available
none
screenshot of the fixed situation none

Description Radek Vykydal 2015-08-21 12:19:59 UTC
Created attachment 1065562 [details]
screenshot of g-c-c network - connections are missing

RHEL 7.2 Beta 1.0

When trying to add VLAN connection in gnome-control-center network or Anaconda installer, ie with nm-connection-editor --create --type=vlan, connections are not offered in the list of available parents. Which means it is not possible to create vlan over bond this way.

Comment 1 Radek Vykydal 2015-08-21 12:21:23 UTC
Created attachment 1065563 [details]
screenshot of nm-c-e - connections are available

When adding the connection in nm-connection-editor, connections are available.

Comment 2 Radek Vykydal 2015-08-21 12:25:50 UTC
This issue is blocking Anaconda's bug 1112674.
Also it might be considered as duplicate of bug 1112672.

Comment 4 Jirka Klimes 2015-08-26 12:33:04 UTC
When creating a connection with "--create" (e.g. nm-connection-editor --create --type=vlan), the list of connection was not yet fetched and thus the connections didn't appear in "Parent interface" list. When editing an existing connection, the "Parent interface" is populated.

We need to wait for the connections even when creating a new connection.

A fix is available in upstream branch of network-manager-applet repository:
jk/editor-create-connection-rh1255735

Comment 5 Lubomir Rintel 2015-08-27 07:01:51 UTC
Looks good to me.

Comment 6 Jirka Klimes 2015-08-27 07:39:30 UTC
Committed to upstream nma-1-0:
8d5e165 editor: read all connections even when we create a new connection (rh #1255735)

(Upstream master branch does not have the problem, because it uses new libnm. And nm_client_get_connections() ensures that all connections are returned).

Comment 8 Matěj Cepl 2015-10-01 15:01:50 UTC
Created attachment 1079185 [details]
screenshot of the fixed situation

Fixed in nm-connection-editor-1.0.6-1.el7.x86_64

Comment 9 errata-xmlrpc 2015-11-19 11:03:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-2315.html