Search Engine: Elastic

Article ID: 131711, created on Nov 3, 2017, last review on Nov 3, 2017

  • Applies to:
  • Operations Automation 7.0
  • Operations Automation 7.1
  • Operations Automation 7.2

Symptoms

After pressing Add new IPv4 address button in CCP for a VPS subscription, the generated order fails.

There is a change_environment_network task in the Task Manager with the output of:

APS Application Error:
500 Internal Server Error
[ApplicationUnknownError] [APS] {
"source": "APS",
"message": "[APS] {\n\t\"error\": \"Plesk.ErrorHandling.dns.DuplicateDNSRecord\",\n\t\"message\": \"Can not create DNS Record for '__host__'.\\t\\tThere is an existing __rr_type__ record (__host__ __data__, #__rr_id__) already.\",

As a result of the task run, an extra IP was added to the VE and became visible at Services > Cloud Infrastructure > Servers > your server page, but not displayed in CCP.

Prohibit duplicate DNS records system property is enabled at System > Settings > System Properties.

Cause

The behavior is acknowledged as a software issue CCU-17319: Overusage of IPs if 'Prohibit duplicate dns records' is enabled..

Resolution

The permanent solution is planned to be included into one of the product updates.

The workaround:

  1. Remove the IPs with drop-ip OACI API request, example:

    [root@osscore ~]# cat reconfigure.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <reconfigure-ve>
      <reconfigure-ipv4>
        <drop-ip ip="203.0.113.2"/>
      </reconfigure-ipv4>
    </reconfigure-ve>
    
    [root@osscore ~]# curl -u'admin:***' -X PUT -d@reconfigure.xml http://192.0.2.2:4465/paci/v1.0/of/1008409/ve/server-1015353-1 -H "Content-Type: application/xml"
    
  2. Disable Prohibit duplicate DNS records system property.
  3. Run the failed task, complete the failed order.
  4. Enable Prohibit duplicate DNS records system property back.

0871c0b47b3b86ae3b1af4c2942cd0ce caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 1941880841f714e458ae4dc3d9f3062d 31987597efff5a3a9ce779cc203bbe5e 8c199f0ee4305da1a577740620df4a51

Email subscription for changes to this article
Save as PDF