Article ID: 129183, created on Jul 29, 2016, last review on Jul 29, 2016

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5

Symptoms

Trying to delete a host registered as a nameserver in OA fails with the following error:

Service #xxx with name 'bind9' controlled by service controller #yyy is used on host 'ns1.domain.tld'.

Cause

During the host removal OA checks whether any services are using this host. In case the nameserver is used by any domain, the removal will fail.

Resolution

In order to proceed with removal, it is required to identify which instances use the DNS server that is being removed, and switch them to another nameserver:

  1. In OA Provider Panel go to Services > Domains > DNS > Nameservers and find ID of respective server.

  2. Access OA database and execute the following query:

    SELECT * FROM dns_reverse_zones WHERE xxx IN (ns1, ns2, ns3);
    

    Replace xxx with real ID of the nameserver from step 1.

  3. In case any value is returned, it means that this nameserver is used to host respective reverse DNS zones. In OA UI go to Services > Domains > DNS > Reverse DNS Zones > Zone > Zone Info, click "Edit" and remove or replace required name server.

  4. Run the following query to identify whether there are domain zones using this nameserver:

    SELECT * FROM dns_hostings h JOIN dns_zones z ON (z.hosting_id = h.hosting_id) WHERE xxx IN (h.ns1, h.ns2, h.ns3);
    

    Replace xxx with real ID of the nameserver from step 1.

  5. If any results are returned, please contact Odin technical support to fix the issue.

Search Words

controlled by service controller

ns node removal

Error deleting hardware node

can't delete node

remove nameserver

Service #xxx with name 'bind9' controlled by service controller #yyy is used on host 'ns1.domain.tld'.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF