Red Hat Bugzilla – Bug 1255735
Dialog run by nm-connection-editor --create --type=vlan doesn't offer connections (eg bond) as parents
Last modified: 2015-11-19 06:03:15 EST
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.
Created attachment 1065563 [details]
screenshot of nm-c-e - connections are available
When adding the connection in nm-connection-editor, connections are available.
This issue is blocking Anaconda's bug 1112674.
Also it might be considered as duplicate of bug 1112672.
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:
Looks good to me.
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).
Created attachment 1079185 [details]
screenshot of the fixed situation
Fixed in nm-connection-editor-1.0.6-1.el7.x86_64
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.