Bug 1183015

Summary: ipv6.method shared prevents connection from being upped
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: NetworkManagerAssignee: Lubomir Rintel <lrintel>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 7.2CC: danw, dcbw, jklimes, lrintel, rkhan, thaller, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The connection activation code has been improved. Activations succeed in more cases, failures are handled gracefully, and logging is more concise.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 10:59:36 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:
Attachments:
Description Flags
Suggested fix none

Description Vladimir Benes 2015-01-16 12:40:17 UTC
Description of problem:
I've set ipv6.method to shared to connection operating over existing ethernet device and I cannot up it anymore.

Error: Connection activation failed: Active connection removed before it was initialized

Version-Release number of selected component (if applicable):
NetworkManager-1.0.0-8.git20150107.1ea95cd3.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.nmcli connection add type ethernet con-name ethie ifname eth1
2.nmcli connection edit id ethie
3.set ipv6.method shared
4.save
5.quit
6.nmcli connection up id ethie 

Actual results:
Error: Connection activation failed: Active connection removed before it was initialized

Comment 1 Dan Winship 2015-01-16 13:40:14 UTC
"shared" is not yet supported for IPv6, so this isn't entirely a bug. We should probably return an error immediately when you try to activate it though, rather than allowing activation to start and then failing afterward.

Comment 2 Lubomir Rintel 2015-01-19 14:25:24 UTC
Created attachment 981529 [details]
Suggested fix

Comment 3 Dan Williams 2015-01-20 23:04:36 UTC
Sure, LGTM

Comment 4 Lubomir Rintel 2015-01-25 20:33:23 UTC
Added to master:

477033b manager: don't attempt to activate ipv6.method=shared connections

Comment 6 Lubomir Rintel 2015-06-09 17:04:12 UTC
In nm-1-0:

ade0c9e manager: don't attempt to activate ipv6.method=shared connections

Comment 8 Vladimir Benes 2015-09-04 23:15:33 UTC
Sharing IPv6 connections is not supported yet is shown.

Comment 9 errata-xmlrpc 2015-11-19 10:59:36 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