Symptoms

Task named 'Unprovisoning siteWithHosting for APS Application Web Business Builder' NOT triggered by customer's removal action from WBB on UX1 or CCPv1.

This cause the customer's site to be removed from WBB and the corresponding hosted domain of the site detached from its Webhosting (apache or IIS).


Cause

The affected site corresponding domain DNS hosting was converted from Internal DNS hosting to external one using OSS public OpenAPI method pem.removeDNSHosting.

This method can be invoked through XML-RPC call from a remote machine (host) which has access to invoke said OpenAPI method on the CB Management Server remotely.

Or, it also can be invoked on the CB Management Server locally.


This is only true for cases whereby from the core log there is evidence that this has occurred few minutes before the WBB un-provisioning task was triggered.


Example of XML-RPC call made from remote host:

Jan 22 15:26:22.343 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.s.x.HostRulesFilter checking that remote host: 10.120.104.124 is allowed to perform OpenAPI calls

Jan 22 15:26:22.344 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.tracer entrycom.parallels.pa.service.xmlrpc.mgmt.ejb.OpenApiHostFilteringManagerBean.getAllRules() correlationId openapi:1521

Jan 22 15:26:22.345 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.s.x.m.e.OpenApiHostFilteringManagerBean loading all hosts filtering rules

Jan 22 15:26:22.346 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.s.x.m.e.OpenApiHostFilteringManagerBean 45 host filtering rules found

Jan 22 15:26:22.347 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.tracer exitcom.parallels.pa.service.xmlrpc.mgmt.ejb.OpenApiHostFilteringManagerBean.getAllRules returning [OpenAPI remote host filtering rule# 1 ip: 10.74.0.51 netmask: 255.255.255.255, OpenAPI remote host filtering rule# 2 ip: 091.183.079.151 netmask: 255.255.255.255, OpenAPI remote host filtering rule# 12 ip: 010.115.203.044 netmask: 255.255.255.255, OpenAPI remote host filtering rule# 4 ip: 045.219.002.040 netmask: 255.255.255.255, OpenAPI remote host filtering rule# 5 ip: 045.219.002.041 netmask: 255.255.255.255, OpenAPI remote host filtering rule# 6 ip: 045.219.002.042 netmask: 255.255.255.255, OpenAPI remote host filtering rule# 7 ip: 195.238.002.110 netmask: 255.255.255.255, OpenAPI remote host filtering rule# 8 ip: 195.238.002.111

Jan 22 15:26:22.349 :  netmask: 255.255.255.255] correlationId openapi:1521

Jan 22 15:26:22.350 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.s.x.c.OpenApiServer resolving OpenAPI invocation handler with prefixpem

Jan 22 15:26:22.351 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.s.x.c.OpenApiServer resolved OpenAPI invocation handler with prefixpem

Jan 22 15:26:22.352 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.s.x.c.DynamicMethodHandler handling XML-RPC invocation. prefix: pem. method: removeDNSHosting

Jan 22 15:26:22.353 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.s.x.c.CorbaMethodInvokerImpl skipping CORBA operation return type initialization cause it returns void

Jan 22 15:26:22.354 : DBG [openapi:1521 remoting-task-3:265 pau]: c.p.p.s.x.c.CorbaMethodInvokerImpl calling CORBA operationremoveDNSHosting({domain_id=90833})

Jan 22 15:26:22.355 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:573 pau]: c.p.p.s.d.e.DomainManagerBean Invoking getDomain, domainId: 90833

Jan 22 15:26:22.356 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:573 pau]: c.p.p.c.ServiceInvoker Service invocation for service DomainManager$$$view104 took 2 ms

Jan 22 15:26:22.357 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:573 pau]: c.p.p.s.d.e.DomainManagerBean checking DNS zone #84426 sync status

Jan 22 15:26:22.358 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:573 pau]: c.p.p.s.d.e.DnsZoneChangesQueueBean checking that queue has pending changes for DNS zone #84426

Jan 22 15:26:22.359 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:573 pau]: c.p.p.s.d.e.DnsZoneChangesQueueBean changes queue has not pending changes for DNS zone #84426

Jan 22 15:26:22.360 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:573 pau]: c.p.p.s.d.e.DomainManagerBean DNS zone #84426 sync status: true

Jan 22 15:26:22.361 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:573 pau]: c.p.p.c.ServiceInvoker Service invocation for service DomainManager$$$view104 took 0 ms

Jan 22 15:26:22.362 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:1219 pau]: c.p.p.s.s.e.AuthenticationManagerBean loading user by id 2

Jan 22 15:26:22.363 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:1219 pau]: c.p.p.c.ServiceInvoker Service invocation for service AuthenticationManager$$$view481 took 1 ms

Jan 22 15:26:22.366 : DBG [openapi:1521 p:-default-threadpool;-w:-Idle:1217 pau]: c.p.p.s.d.e.DnsZoneMutatorBean Entered removeDnsHosting for domain id: 90833


Resolution

Host which is allowed to invoke request through the public OpenAPI method to your CB Management Server means it is known to your infrastructure.

Regardless of the fact that such request was invoked locally or remotely. The purpose of invoking the request can only be known by inquiring the implementer of such request.