Closed yabhinav closed 6 years ago
Possible due to new Update on CentOS7 . Refer the following article to fix the CentOS7 Ansible Image
or find a way to disable ipv6 in IPAServer.
Alternatively add a task to ensure IPV6 is enabled before installing IPAServer
although there are other issues with centos7.5 this tickets is assumed to be closed.
TASK [role_under_test : Run the IPA Server installer] ** fatal: [localhost]: FAILED! => {"changed": true, "cmd": "ipa-server-install -U --realm EXAMPLE.COM --domain example.com -a Secret123 -p Secret123 --hostname=testlab.example.com --ip-address=172.17.0.2 --idstart=5000 ", "delta": "0:00:00.670820", "end": "2018-07-18 14:12:37.104935", "msg": "non-zero return code", "rc": 1, "start": "2018-07-18 14:12:36.434115", "stderr": "ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR IPv6 stack is enabled in the kernel but there is no interface that has ::1 address assigned. Add ::1 address resolution to 'lo' interface. You might need to enable IPv6 on the interface 'lo' in sysctl.conf.\nipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information", "stderr_lines": ["ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR IPv6 stack is enabled in the kernel but there is no interface that has ::1 address assigned. Add ::1 address resolution to 'lo' interface. You might need to enable IPv6 on the interface 'lo' in sysctl.conf.", "ipa.ipapython.install.cli.install_tool(CompatServerMasterInstall): ERROR The ipa-server-install command failed. See /var/log/ipaserver-install.log for more information"], "stdout": "", "stdout_lines": []}