Symptoms

Sales order for domains fails with the following error after stuck in "Provisioning in Progress" for some time:

Service Creation Timeout Exceeded Service Creation Started


On the Sales Order's Provisioning Order service Props, domain status is "Acquiring Name Server" and Last Operation Status is "Name Server not acquired".


On OA side, there is an update nameserver task that is in failed status with the following error in the execution log:

2022-11-04 07:51:38,525 DEBUG [task:4517048:50 task:4517048:50 Thread-49-(ActiveMQ-client-global-threads)] c.p.p.s.d.e.DnsPluginManagerBean got success zone update result: DnsZoneChangeResult{changeType=ADD, changeId='1666180798546:0000000173', zoneId=11250, nameservers=null, status=SUCCESS, resultMessage='null'} 2022-11-04 07:51:38,527 ERROR [task:4517048:50 task:4517048:50 Thread-49-(ActiveMQ-client-global-threads)] c.p.p.s.j.a.JobBase task 4517048 completed with exception:  javax.ejb.EJBException: java.lang.IllegalStateException: Failed to update nameservers for newly added zone using returned data from DNS service #19: null

Checking the related domain in the error log, it will show that the related domain is currently on External Hosting:


Cause

Bug #OA-29286 where DNS update failing after DNS hosting was switched to External just after creation


Resolution

For workaround, please change the affected domain's Hosting type to Internal, then re-run the failed update nameserver task. Wait for the task to complete before changing the Hosting type back to External.