network-console presents a random IP address from all that are available

Bug #1683540 reported by John George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
netcfg (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

While installing a Z LPAR with 17.04 (Zesty), non-auto network configuration is selected and when prompted for the system IP address an IPv4 address is provided by the user. Once the installation process reaches the 'Continue installation remotely using SSH' phase, an IPv6 address is presented to the user.

User input: 10.245.208.8/20
Menu output: ssh installer@fe80::ff:feb5:d11d

expected: installer@10.245.208.8

The expected value works and the installation process can continue but the ipv6 value is unexpected.

Please see the attached log.

Revision history for this message
John George (jog) wrote :
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

if you read the full message including the first sentence, both ipv4 and ipv6 addresses are offered. From your log:

"To continue the installation, please use an SSH client to connect to the IP
address fe80::ff:feb5:d11d 10.245.208.8 fe80::ff:feb5:d11d and log in as the
"installer" user. For example:"

Note that 10.245.208.8 is listed...

duplicate ipv6 addresses for tagged/untagged vlans are not filtered out, there is not `uniq` tool available in d-i.

sorting link-local address after all other addresses would be nice, but I am not sure how to achieve that in minimal shell that is available in d-i.

Changed in netcfg (Ubuntu):
status: New → Incomplete
tags: removed: s390x
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

This is architecture independent issue.

summary: - Z LPAR installation presents ipv6 address, when user provides ipv4
+ network-console presents a random IP address from all that are available
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

However, busybox sort -u does work using busybox-udeb. Checking this further, maybe I can make network-console depend on busybox-udeb to solve this.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

actually busybox-udeb is preinstalled, and is usable to execute sort -u. This will put numeric ip addressed ahead letter ones. this should make ipv6 link local addresses last, however it will still only show one/first address in the example line which may be either ipv4 or ipv6 address depending on the prefix used.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for netcfg (Ubuntu) because there has been no activity for 60 days.]

Changed in netcfg (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.