Interview Prep/Ansible/Cloud, AWX, Windows and Molecule

`kerberos: authGSSClientStep() failed: (('Unspecified GSS failure. Minor code may provide more information', 851968), ('Server not found in Kerberos database', -1765328377))`

AdvancedTroubleshootingCloud, AWX, Windows and Molecule
Answer

Likely causes → Kerberos needs the service principal HTTP/<fqdn>. Connecting by IP address or short name, a broken reverse DNS entry, or a host in a different realm means the KDC cannot find the principal.

Diagnose →

kinit [email protected] && klist
kvno HTTP/win01.corp.example.com
host win01.corp.example.com; host <its IP>

Fix → Set ansible_host to the FQDN. Fix DNS (forward and reverse). Make sure /etc/krb5.conf has the realm in uppercase, with correct kdc and domain_realm mappings.

Prevent → Use the FQDN in inventory for Windows hosts, and add a CI test that runs kinit and a win_ping against one known host.

All Ansible questions Roadmap: Ansible

More on Cloud, AWX, Windows and Molecule