Hi there,
I'm facing some issues deploying Windows Server 2019 Datacenter.
Our VMs are deployed through automation tools (Ansible Tower) which execute all steps of the deployment (VM creation, copy of a template, etc.).
We already used this way to deploy Windows Server 2016 without any trouble, but with 2019, randomly, the step which consists to add the VM to our domain fails with these errors (I have modified sensitive information) :
06/01/2022 16:12:41:746 NetpGetComputerObjectDn: Cracking DNS domain name xxx.domain.fr/ into Netbios on \\server.domain.fr
06/01/2022 16:12:41:761 NetpGetComputerObjectDn: Crack results: name = DOMAIN\
06/01/2022 16:12:41:761 NetpGetComputerObjectDn: Cracking account name DOMAIN\WQNB0524$ on \\server.domain.fr
06/01/2022 16:12:41:761 NetpGetComputerObjectDn: Crack results: Account does not exist
06/01/2022 16:12:41:761 NetpGetComputerObjectDn: Got DN CN=WQNB0524,OU=OUM-A-SRD-T,OU=OUM-A-SRD,OU=OUM-A,OU=OUM,DC=domain,DC=fr from the passed OU
06/01/2022 16:12:06:393 NetpModifyComputerObjectInDs: Initial attribute values:
06/01/2022 16:12:06:393 objectClass = Computer
06/01/2022 16:12:06:393 SamAccountName = WQNB0524$
06/01/2022 16:12:06:393 userAccountControl = 0x1000
06/01/2022 16:12:06:393 DnsHostName = wqnb0524.
06/01/2022 16:12:06:393 ServicePrincipalName = HOST/wqnb0524. RestrictedKrbHost/wqnb0524. HOST/WQNB0524 RestrictedKrbHost/WQNB0524
06/01/2022 16:12:06:393 unicodePwd = <SomePassword>
06/01/2022 16:12:06:408 NetpModifyComputerObjectInDs: Computer Object does not exist in OU
06/01/2022 16:12:06:408 NetpModifyComputerObjectInDs: Attribute values to set:
06/01/2022 16:12:06:408 objectClass = Computer
06/01/2022 16:12:06:408 SamAccountName = WQNB0524$
06/01/2022 16:12:06:408 userAccountControl = 0x1000
06/01/2022 16:12:06:408 DnsHostName = wqnb0524.
06/01/2022 16:12:06:408 ServicePrincipalName = HOST/wqnb0524. RestrictedKrbHost/wqnb0524. HOST/WQNB0524 RestrictedKrbHost/WQNB0524
06/01/2022 16:12:06:408 unicodePwd = <SomePassword>
06/01/2022 16:12:06:408 NetpMapGetLdapExtendedError: Parsed [0x200b] from server extended error string: 0000200B: AtrErr: DSID-033E0EF5, #1:
0: 0000200B: DSID-033E0EF5, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 9026b (dNSHostName)
06/01/2022 16:12:06:408 NetpModifyComputerObjectInDs: ldap_add_s failed: 0x13 0x57
06/01/2022 16:12:06:408 NetpCreateComputerObjectInDs: NetpModifyComputerObjectInDs failed: 0x57
06/01/2022 16:12:06:408 NetpProvisionComputerAccount: LDAP creation failed: 0x57
06/01/2022 16:12:06:408 NetpProvisionComputerAccount: Cannot retry downlevel, specifying OU is not supported
06/01/2022 16:12:06:408 ldap_unbind status: 0x0
06/01/2022 16:12:06:408 NetpJoinCreatePackagePart: status:0x57.
06/01/2022 16:12:06:408 NetpJoinDomainOnDs: Function exits with status of: 0x57
06/01/2022 16:12:06:408 NetpJoinDomainOnDs: status of disconnecting from '\\xxx.domain.fr': 0x0
06/01/2022 16:12:06:424 NetpResetIDNEncoding: DnsDisableIdnEncoding(RESETALL) on 'xxx.domain.fr' returned 0x0
06/01/2022 16:12:06:424 NetpJoinDomainOnDs: NetpResetIDNEncoding on 'xxx.domain.fr': 0x0
06/01/2022 16:12:06:424 NetpDoDomainJoin: status: 0x57
As I said, this issue occurs very randomly but very often (around 8 on 10 times), and sometimes if I run the job again on the same host, everything works fine.
We already checked every step before this one on automation workflow and everything is correct.
Any idea about what could be the origin of this issue ?
Regards.
Aurélien