diff --git a/server/src/com/cloud/storage/download/DownloadMonitorImpl.java b/server/src/com/cloud/storage/download/DownloadMonitorImpl.java index 8e3a20afcf4..b5ef7301073 100755 --- a/server/src/com/cloud/storage/download/DownloadMonitorImpl.java +++ b/server/src/com/cloud/storage/download/DownloadMonitorImpl.java @@ -522,6 +522,8 @@ public class DownloadMonitorImpl implements DownloadMonitor { } /*Only download templates whose hypervirsor type is in the zone*/ List availHypers = _clusterDao.getAvailableHypervisorInZone(sserver.getDataCenterId()); + /* Baremetal need not to download any template */ + availHypers.remove(HypervisorType.BareMetal); for (VMTemplateVO tmplt: toBeDownloaded) { if (tmplt.getUrl() == null){ // If url is null we cant initiate the download so mark it as an error.