Description of problem: Attempting to run ipa-server-install on a system with both an IPv4 and an IPv6 address associated with the system's hostname throws an error stating that with more than one IP address, the --ip-address option must be provide. From conversations on IRC, it seems that the primary reasons for this are to support adding the entry to DNS and to avoid dealing with multihomed machines, but this isn't really multi-homed. Version-Release number of selected component (if applicable): freeipa-4.0.1-1.fc21 How reproducible: Every time Steps to Reproduce: 1. Set up a system with both IPv4 and IPv6 addresses (the latter can be link-local; it will still demonstrate the error) 2. Set the hostname of the system 3. Add 'myhostname' to the hosts: line in /etc/nsswitch.com 4. Attempt to run 'ipa-server-install -U --setup-dns <arguments>' Actual results: Unattended installation fails, asking for the user to specify a single IP address. Expected results: The installer should proceed to completion. Additional info: The fix here should probably also filter out link-local addresses from the list.
This issue was already reported in https://fedorahosted.org/freeipa/ticket/3575 I am moving to needs triage so that we can re-prioritize and expedite the fix.
Fixed upstream master: https://fedorahosted.org/freeipa/changeset/947c7398edbcae29d74acea3b00968871bd4ce98 ipa-4-1: * 579b614e3f0501138d3fbb669cf6ae85adb3ac56 Detect and configure all usable IP addresses.
freeipa-4.1.0-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/freeipa-4.1.0-2.fc21
Package freeipa-4.1.0-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing freeipa-4.1.0-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-13547/freeipa-4.1.0-2.fc21 then log in and leave karma (feedback).
freeipa-4.1.1-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/freeipa-4.1.1-2.fc21
freeipa-4.1.1-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.