Symptoms

It is not possible to attach hosting to a domain or to modify DNS records. The error is displayed in CP:

An unforeseen error occurred

The error in /var/log/pa/core.log is:

Feb 16 21:36:59.898 : DBG [UI:6ed4f8ec:1488018:1487277428508 RequestProcessor-5964 pau 1167374745]: c.p.p.c.ServiceInvoker DnsZoneMutator invocation failedjavax.ejb.EJBTransactionRolledbackException: Could not persist APS entity "http://aps-standard.org/types/dns/record/1.0"

There is no APS resource found for the domain ID in question:

# curl -k -E /usr/local/pem/APS/certificates/poa.pem 'https://127.0.0.1:6308/aps/2/resources?implementing(http://parallels.com/aps/types/pa/dns/zone/1.1),eq(zoneId,12345)'
[]

However, searching for the domain name, gives us a valid APS resource with a different zoneId:

# curl -k -E /usr/local/pem/APS/certificates/poa.pem 'https://127.0.0.1:6308/aps/2/resources?implementing(http://parallels.com/aps/types/pa/dns/zone/1.1),eq(name,example.com)' -X GET
[
        {
                "aps":
                {
                        "type": "http://parallels.com/aps/types/pa/dns/zone/1.1",
                        "id": "5e6e31c5-a058-45d4-b231-0cdab1c5de9f",
...
"name": "example.com"
...
"zoneId": 10011
]

Cause

The cause of the error is a discrepancy between the domain and the zoneId value in domain's APS resource. The root cause behind such discrepancy has not been revealed yet.

Resolution

Contact your Technical Account Manager or Pooled Technical Associate Team (pta@odin.com) to discuss available workaround for this issue.

Internal content

Link on internal Article