From f1ea4d0c197a8be9f1509ae6e91a34d0a224073b Mon Sep 17 00:00:00 2001 From: Chiradeep Vittal Date: Wed, 11 May 2011 12:04:12 -0700 Subject: [PATCH] bug 9809: resume iso download (broken by multihypervisor) status 9809: resolved fixed --- server/src/com/cloud/storage/download/DownloadMonitorImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/com/cloud/storage/download/DownloadMonitorImpl.java b/server/src/com/cloud/storage/download/DownloadMonitorImpl.java index eaf3ae58934..29fce31f63c 100755 --- a/server/src/com/cloud/storage/download/DownloadMonitorImpl.java +++ b/server/src/com/cloud/storage/download/DownloadMonitorImpl.java @@ -549,6 +549,7 @@ public class DownloadMonitorImpl implements DownloadMonitor { List availHypers = _clusterDao.getAvailableHypervisorInZone(sserver.getDataCenterId()); /* Baremetal need not to download any template */ availHypers.remove(HypervisorType.BareMetal); + availHypers.add(HypervisorType.None); //bug 9809: resume ISO download. for (VMTemplateVO tmplt: toBeDownloaded) { if (tmplt.getUrl() == null){ // If url is null we cant initiate the download so mark it as an error.