RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1477339 - The installer can't initialize point-to-point networking device due to bogus duplicate address check
Summary: The installer can't initialize point-to-point networking device due to bogus ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dracut
Version: 7.3
Hardware: s390x
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-01 20:21 UTC by Mikuláš Patočka
Modified: 2018-04-10 18:10 UTC (History)
16 users (show)

Fixed In Version: dracut-033-520.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 18:07:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rdsosreport.txt (37.48 KB, text/plain)
2017-08-02 19:59 UTC, Mikuláš Patočka
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0964 0 None None None 2018-04-10 18:10:22 UTC

Description Mikuláš Patočka 2017-08-01 20:21:21 UTC
Description of problem:
When attempting to install RHEL 7 s390x in a Hercules emulator, point to point netowrking driver CTC is used. The installer can't initialize the network device because of bogus duplicate address check.

Version-Release number of selected component (if applicable):
RHEL 7.3

How reproducible:
Always

Steps to Reproduce:
Download the Hercules emulator from git://github.com/rbowler/spinhawk and install it.

Create the followin file rhel.cnf
CPUSERIAL 000069        # CPU serial number
CPUMODEL  9672          # CPU model number
MAINSIZE  2176          # Main storage size in megabytes
XPNDSIZE  0             # Expanded storage size in megabytes
CNSLPORT  3270          # TCP port number to which consoles connect
NUMCPU    12            # Number of CPUs
LOADPARM  0120....      # IPL parameter
OSTAILOR  LINUX         # OS tailoring
PANRATE   SLOW          # Panel refresh rate (SLOW, FAST)
ARCHMODE  z/Arch        # Architecture mode ESA/390 or ESAME
ECPSVM    NO
OSTAILOR  LINUX
# dasd
#0110    9336    ./dasd/9336.RHEL.0110
# network                               s390          realbox
0A00,0A01  CTCI -n /dev/net/tun -t 1500 192.168.193.6 192.168.193.5

Download the files kernel.img, initrd.img and initrd.addrsize from RHEL 7.3 s390x repository.

Create the following file rhel.prm:
ro ramdisk_size=40000 cio_ignore=all,!condev rd.dasd=0.0.0110 rd.znet=ctc,0.0.0a00,0.0.0a01,protocol=0 ip=192.168.193.6:192.168.193.5:192.168.193.5:32:z-rhel7.vm:slccw0.0.0a00:none nameserver=192.168.128.1 inst.repo=http://download.eng.brq.redhat.com/released/RHEL-7/7.3/Server/s390x/os/

Create the following file rhel.ins:
kernel.img 0x00000000
initrd.img 0x02000000
rhel.prm 0x00010480
initrd.addrsize 0x00010408

Run the emulator:
$ hercules -f rhel.cnf
ipl rhel.ins

Actual results:
The system won't initialize network and download the installer:
Warning: /dev/root does not exist
Generating "/run/initramfs/rdsosreport.txt"
Entering emergency mode. Exit the shell to continue.
Type "journalctl" to view system logs.
You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot
after mounting them and attach it to a bug report.

The file "/run/initramfs/rdsosreport.txt" contains these lines:
   298.305492! localhost kernel: net slccw0.0.0a00: Connected with remote side
   298.563430! localhost dracut-initqueue 729!: RTNETLINK answers: Network is unreachable                                                                       
   298.639811! localhost dracut-initqueue 729!: arping: Device slccw0.0.0a00 not available.                                                                     
   298.683340! localhost dracut-initqueue 729!: Warning: Duplicate address detected for 192.168.193.6 for interface slccw0.0.0a00.

The test for duplicate addresses doesn't make sense because the device slccw0.0.0a00 is a point-to-point device.

You can configure networking manually with these commands (you must type a dot before each command, so that the emulator passes the command to the system console):
./usr/sbin/ip link set slccw0.0.0a00 up
./usr/sbin/ip addr add 192.168.193.6 peer 192.168.193.5 dev slccw0.0.0a00
./usr/sbin/ip route add default via 192.168.193.5
.echo nameserver 192.168.128.1 >/etc/resolv.conf
When the networking is configured manually, it works (though, I don't know how to make it download the installer after manual configuration).

Expected results:
The installer should be able to configure networking on point-to-point interfaces.

Additional info:

Comment 2 Beniamino Galvani 2017-08-01 20:30:37 UTC
This does not belong to NetworkManager, reassigning to dracut.

Comment 3 Lukáš Nykrýn 2017-08-02 09:15:06 UTC
Can you please attach /run/initramfs/rdsosreport.txt from the machine?

Comment 4 Mikuláš Patočka 2017-08-02 19:59:25 UTC
Created attachment 1308450 [details]
rdsosreport.txt

Comment 5 Mikuláš Patočka 2017-08-02 20:02:30 UTC
Here I submit rdsosreport.txt. I tried it with the new RHEL 7.4, but the bug is still there.

Comment 9 Jon Masters 2017-12-18 07:24:57 UTC
Thank you! This has wasted hours of my time trying to figure it out until I just saw this! Definitely a candidate for a z-stream and a note for existing users.

Comment 13 Peter Kotvan 2018-01-30 08:08:58 UTC
Hi Mikulas,

could you please test this and check if the fix is working as expected?

Thank you.

Comment 17 errata-xmlrpc 2018-04-10 18:07:53 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://access.redhat.com/errata/RHBA-2018:0964


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