host-add must support both version of the IP address family. Currently, it fails for valid IPv6 addresses:
# ipa host-add server.example.com --ip-address=fe80::2 ipa: ERROR: invalid 'ip_address': invalid IP address
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=783276
I found out that the command is right, it just gave a confusing error message. Address fe80::2 is link-local and thus couldn't be as a host address.
fe80::2
Address 2001::beef:1 worked fine.
2001::beef:1
attachment freeipa-mkosek-201-improve-host-add-error-message.patch
master: ae2e49a[[BR]] ipa-2-2: 64cf8a4
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/01
Login to comment on this ticket.