Bug 1402736 - shorthand ipv6 address is transformed error via cockpit
Summary: shorthand ipv6 address is transformed error via cockpit
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: cockpit
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: pre-dev-freeze
: ---
Assignee: Marius Vollmer
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-08 09:44 UTC by Huijuan Zhao
Modified: 2017-10-13 10:19 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-13 10:19:03 UTC
Target Upstream Version:


Attachments (Terms of Use)
All logs and All files in /etc/sysconfig/network-scripts/ (8.18 MB, application/x-gzip)
2016-12-08 09:44 UTC, Huijuan Zhao
no flags Details
screenshot of ipv6 settings (138.61 KB, image/png)
2016-12-08 09:46 UTC, Huijuan Zhao
no flags Details

Description Huijuan Zhao 2016-12-08 09:44:14 UTC
Created attachment 1229406 [details]
All logs and All files in /etc/sysconfig/network-scripts/

Description of problem:
Shorthand ipv6 address is transformed error via cockpit.
For example, if input 2001::1, it is transformed to 2001:0:1:0:0:0:0:0, it should be 2001:0:0:0:0:0:0:1.

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.0-20161206.0
cockpit-ws-122-3.el7.x86_64
NetworkManager-1.4.0-13.el7_3.x86_64

How reproducible:
100%


Steps to Reproduce:
1. Install RHVH 4.0.6 via anaconda.
2. Reboot RHVH and login cockpit, enter Networking page in cockpit
3. Select one NIC em1, enter configure page, set up IPV6 as Manual mode
4. Input IPv6 address 2001::1, and click "Apply"

Actual results:
After step4, the ipv6 address 2001::1 is transformed to 2001:0:1:0:0:0:0:0

Expected results:
After step4, the ipv6 address 2001::1 should be transformed to 2001:0:0:0:0:0:0:1


Additional info:

Comment 1 Huijuan Zhao 2016-12-08 09:46:55 UTC
Created attachment 1229407 [details]
screenshot of ipv6 settings

Comment 3 Marius Vollmer 2017-01-02 11:31:32 UTC
Fixed via https://github.com/cockpit-project/cockpit/pull/5598

Comment 4 Martin Pitt 2017-10-13 10:19:03 UTC
This was fixed in Cockpit 127. Current RHEL 7.4 has Cockpit 138, so this bug is fixed there. Closing.


Note You need to log in before you can comment on or make changes to this bug.