vs.setState(vol.getState()); vs.setDownloadPercent(vol.getDownloadPercent()); vs.setDownloadState(vol.getDownloadState()); vs.setSize(vol.getSize()); vs.setPhysicalSize(vol.getPhysicalSize());
toBeDownloaded.remove(volumeStore); s_logger.info("Volume Sync found " + volume.getUuid() + " already in the volume image store table"); if (volumeStore.getDownloadState() != Status.DOWNLOADED) { volumeStore.setErrorString(""); if (volumeStore.getDownloadState() != Status.DOWNLOADED) { s_logger.info("Volume Sync did not find " + volume.getName() + " ready on image store " + storeId + ", will request download to start/resume shortly"); if (volumeHost.getDownloadState() == VMTemplateStorageResourceAssoc.Status.DOWNLOADED && volumeHost.getInstallPath() == null) { s_logger.info("Skip sync volume for migration of previous NFS to object store"); continue;
if (volumeStore.getDownloadState() == VMTemplateStorageResourceAssoc.Status.DOWNLOAD_IN_PROGRESS) { s_logger.debug("Volume: " + volume.getName() + " is currently being uploaded; cant' delete it."); future.complete(result);
dl.setCurrState(volumeHost.getDownloadState());
if (volumeStore.getDownloadState() == VMTemplateStorageResourceAssoc.Status.DOWNLOAD_IN_PROGRESS) { throw new InvalidParameterValueException("Please specify a volume that is not uploading");
if (volStoreVO.getDownloadState() == VMTemplateStorageResourceAssoc.Status.DOWNLOADED) { if (s_logger.isDebugEnabled()) { s_logger.debug("Volume is already in DOWNLOADED state, ignore further incoming DownloadAnswer");