This error will most likely be caused when the ipa-server that originally issued the keytab is not reachable.
In my case, the server has been decommissioned so the way to go is fix-forward.
First, get a new keytab from one of your ipa-replicas:
[root@katello ~]# mv /etc/foreman-proxy/freeipa.keytab /etc/foreman-proxy/freeipa.keytab.old
[root@katello ~]# kinit admin
[root@katello ~]# ipa-getkeytab -s ipa02.archyslife.lan -p katello-realm@ARCHYSLIFE.LAN -k /etc/foreman-proxy/freeipa.keytab
With the keytab present, make sure the SELinux context is correct:
[root@katello ~]# restorecon -v /etc/foreman-proxy/freeipa.keytab
Now re-run the installer to ensure foreman's consistency:
[root@katello ~]# foreman-installer --scenario katello
Creating a host with the associated realm should now work.
Feel free to comment and / or suggest a topic.
Comments
Post a Comment