`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.
More on Cloud, AWX, Windows and Molecule
`Failed to import the required Python library (botocore and boto3) on web01's Python /usr/bin/python3.`Beginner`[WARNING]: * Failed to parse inventory/aws.yml with auto plugin: inventory source 'inventory/aws.yml' could not be verified by inventory plugin 'amazon.aws.aws_ec2'`IntermediateThe `aws_ec2` inventory parses without errors but returns zero hostsIntermediate`Failed to describe instances: An error occurred (UnauthorizedOperation) when calling the DescribeInstances operation` or `(ExpiredToken)`IntermediateDynamic inventory finds the instances, but every host is `UNREACHABLE`IntermediateUsing the SSM connection plugin fails with `SessionManagerPlugin is not found` or hangs on file transferAdvanced