def decommission_nodes(self, cluster, instances): deploy.decommission_hosts(cluster, instances) deploy.remove_services_from_hosts(cluster, instances) deploy.restart_nns_and_rms(cluster) deploy.cleanup_config_groups(cluster, instances)