class AutonomiccsSystemVmDeploymentService implements InitializingBean {

    public HostVO searchForRandomHostInCloudToDeployAutonomiccsSystemVm() {
        List<DataCenterVO> allZonesEnabled = zoneService.listAllZonesEnabled();
        Collections.shuffle(allZonesEnabled);
        for (DataCenterVO dataCenterVO : allZonesEnabled) {
            HostVO host = searchForRandomHostInZoneToDeployAutonomiccsSystemVm(dataCenterVO);
            if (host != null) {
                return host;
            }
        }
        logger.info("Could not find any suitable hosts to deploy the system VM into Cloud environment");
        return null;
    }

}