Bug 1462155

Summary: [python-netifaces] Incompatible change in netmask representation of IPv6 address
Product: [Fedora] Fedora Reporter: Martin Bašti <mbasti>
Component: freeipaAssignee: Martin Bašti <mbasti>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: abokovoy, apevec, ipa-maint, jcholast, jhrozek, jonathan.underwood, mbabinsk, pvoborni, rcritten, ry, ssorce, tkrizek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: freeipa-4.4.4-4.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-13 14:50:32 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
Parch for ipa-4-4 mbabinsk: review+

Description Martin Bašti 2017-06-16 10:38:40 UTC
Description of problem:

New version of python netifaces shows netmask in different format for IPv6

output from `netifaces.ifaddresses(INTF)`

python-netifaces-0.10.4-5.fc25.x86_64
{'addr': '2620:52:0:xxxx:xxxx:xxxx:xxxx:2c62',
       'netmask': 'ffff:ffff:ffff:ffff::'},


python2-netifaces-0.10.5-5.fc26.x86_64
{'addr': '2620:52:0:xxxx:xxxx:xxxx:xxxx:169a',
   'netmask': 'ffff:ffff:ffff:ffff::/64'},  <---- see extra "/64" in netmask

FreeIPA installation is failing due this in F26 https://pagure.io/freeipa/issue/7021

Version-Release number of selected component (if applicable):
python2-netifaces-0.10.5-5.fc26.x86_64


How reproducible:
Always

Steps to Reproduce:
See above

Actual results:
Got extra suffix "/64" in netmask

Expected results:
No "/64" suffix in netmask

Additional info:
Prefix could be stored under separate "prefix" key in result dict.

Comment 2 Martin Bašti 2017-06-16 11:35:02 UTC
This was closed as a planned change upstream. We have to fix this in FreeIPA then.

Comment 3 Martin Bašti 2017-06-16 11:51:47 UTC
Created attachment 1288335 [details]
Parch for ipa-4-4

Comment 5 Martin Babinsky 2017-06-22 14:12:23 UTC
ACK.

Comment 6 Fedora Update System 2017-06-29 09:25:49 UTC
freeipa-4.4.4-3.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1dabaf8ee1

Comment 7 Fedora Update System 2017-06-29 16:54:10 UTC
freeipa-4.4.4-4.fc26 softhsm-2.2.0-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-12359c53e8

Comment 8 Fedora Update System 2017-06-29 16:54:34 UTC
freeipa-4.4.4-4.fc26 softhsm-2.2.0-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-12359c53e8

Comment 9 Fedora Update System 2017-06-30 20:25:06 UTC
freeipa-4.4.4-4.fc26, softhsm-2.2.0-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-12359c53e8

Comment 10 Fedora Update System 2017-07-13 14:50:32 UTC
freeipa-4.4.4-4.fc26, softhsm-2.2.0-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.