Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1835606

Summary: Installation of RHDS 11 fails on RHEL8 server with IPv6 disabled
Product: Red Hat Directory Server Reporter: Viktor Ashirov <vashirov>
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: unspecified Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: unspecified    
Version: 11.0CC: bsmejkal, pasik, spichugi, tbordaz
Target Milestone: ---   
Target Release: dirsrv-11.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-ds-11-8020020200604214543.51c5a973 Doc Type: Bug Fix
Doc Text:
Cause: Attempting to install RHDS on a system where IPv6 is completely disabled. Consequence: The installation of the server fails Fix: Do not use IPv6 specific functions in the installer tool Result: RHDS can be installed on a system where IPv6 is completely disabled.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-07-28 06:55:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Viktor Ashirov 2020-05-14 07:40:38 UTC
This bug was initially created as a copy of Bug #1829071

Description of problem:

If we disable the ipv6 from grub rhds install fails with below error


[root@rhds ~]# 
[root@rhds ~]# dscreate  from-file install.inf 
Starting installation...
Error: [Errno 97] Address family not supported by protocol
[root@rhds ~]#


Actual results:

> Installation failure

Expected results:

> Successful installation

Comment 4 bsmejkal 2020-07-07 13:55:56 UTC
Build tested:
cockpit-389-ds-1.4.2.12-3.module+el8dsrv+6923+6ab1d5c5.noarch
389-ds-base-1.4.2.12-3.module+el8dsrv+6923+6ab1d5c5.x86_64


# grep -i ipv6 /etc/default/grub
GRUB_CMDLINE_LINUX="console=ttyS0 console=ttyS0,115200n8 no_timer_check net.ifnames=0 crashkernel=auto ipv6.disable=1"

# grub2-mkconfig -o /boot/grub2/grub.cfg 
Generating grub configuration file ...
done

# grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
Generating grub configuration file ...
done

# reboot
# dscreate -v from-file ip_test.inf 
DEBUG: The 389 Directory Server Creation Tool
DEBUG: Inspired by works of: ITS, The University of Adelaide
DEBUG: Called with: Namespace(dryrun=False, file='ip_test.inf', func=<function instance_create at 0x7f2635513620>, json=False, verbose=True)
DEBUG: Running setup with verbose
DEBUG: Using inf from ip_test.inf
....
....
DEBUG: FINISH: Completed installation for localhost

Marking as VERIFIED.

Comment 6 errata-xmlrpc 2020-07-28 06:55:14 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-2020:3171