clusterDef.getCurrentReport().setProgress(
ProgressSplit.BOOTSTRAP_HOSTS.getProgress());
}
reportStatus(clusterDef.getCurrentReport(), reportQueue);
ApiBootstrap apiBootstrapRequest =
apiManager.createBootstrap(clusterDef.toApiBootStrap(addedHosts));
HostBootstrapPoller poller =
new HostBootstrapPoller(apiManager, apiBootstrapRequest,
clusterDef.getCurrentReport(), reportQueue,
ProgressSplit.CREATE_BLUEPRINT.getProgress());
poller.waitForComplete();
logger.debug("Bootstrap request id: " + apiBootstrapRequest.getRequestId());
boolean success = false;
boolean allHostsBootstrapped = true;
ApiBootstrapStatus apiBootstrapStatus =
apiManager.getBootstrapStatus(apiBootstrapRequest.getRequestId());
BootstrapStatus bootstrapStatus =
BootstrapStatus.valueOf(apiBootstrapStatus.getStatus());
logger.debug("Bootstrap status " + bootstrapStatus);
if (!bootstrapStatus.isFailedState()) {
success = true;