#2299 FreeIPA installer should ignore IPv6 link-local addresses if there are alternatives available
Closed: Duplicate None Opened 12 years ago by abbra.

# ipa-server-install --setup-dns -r IPA.LOCAL -n ipa.local -a XXXXX -p XXXXX --hostname master.ipa.local --forwarder=192.168.111.1 --ip-address=192.168.111.137 --no-host-dns -U

The log file for this installation can be found in /var/log/ipaserver-install.log
==============================================================================
This program will set up the FreeIPA Server.

This includes:
  * Configure a stand-alone CA (dogtag) for certificate management
  * Configure the Network Time Daemon (ntpd)
  * Create and configure an instance of Directory Server
  * Create and configure a Kerberos Key Distribution Center (KDC)
  * Configure Apache (httpd)
  * Configure DNS (bind)

To accept the default shown in brackets, press the Enter key.

Warning: skipping DNS resolution of host master.ipa.local
Unexpected error - see ipaserver-install.log for details:
 failed to detect a valid IP address from 'fe80::5054:ff:fe5d:9c75%eth0'

# python
Python 2.7.2 (default, Oct 27 2011, 01:40:22) 
[GCC 4.6.1 20111003 (Red Hat 4.6.1-10)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ipaserver.install.installutils import *
>>> resolve_host("master.ipa.local")
'fe80::5054:ff:fe5d:9c75%eth0'
>>> import socket
>>> host_name="master.ipa.local"
>>> addrinfos = socket.getaddrinfo(host_name, None,
...                                        socket.AF_UNSPEC, socket.SOCK_STREAM)
>>> 
>>> print addrinfos
[(10, 1, 6, '', ('fe80::5054:ff:fe5d:9c75%eth0', 0, 0, 2)), (2, 1, 6, '', ('192.168.111.137', 0))]
>>>

This happens on a fresh Fedora 16 install, updated to whatever is in updates-testing right now.

Metadata Update from @abbra:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/01

7 years ago

Login to comment on this ticket.

Metadata