log.info("Repo is destroyed successfully.. ");
PersistenceManager.updateSubscriptionState(subscription.getSubscriptionId(), "UNSUBSCRIBED");
new DNSManager().removeSubDomain(subscription.getHostName());
registryManager.removeDomainMappingFromRegistry(subscription.getHostName());
TopologyManagementService topologyMgtService = DataHolder.getTopologyMgtService();
String[] ips = topologyMgtService.getActiveIPs(subscription.getCartridge(),
subscription.getClusterDomain(), subscription.getClusterSubdomain());
PersistenceManager.updateInstanceState("INACTIVE", ips, subscription.getClusterDomain(), subscription.getClusterSubdomain(), subscription.getCartridge());
} catch (ADCException e) {
log.error(e.getMessage(), e);