mirror of https://github.com/apache/cloudstack.git
bug 10834: fix step 2. Sending command to pool now only picks hosts that are in UP state
This commit is contained in:
parent
ffd07621cc
commit
79cb5b7c19
|
|
@ -389,7 +389,7 @@ public class TemplateManagerImpl implements TemplateManager, Manager, TemplateSe
|
|||
templateStoragePoolRefId = templateStoragePoolRef.getId();
|
||||
}
|
||||
|
||||
List<StoragePoolHostVO> vos = _poolHostDao.listByPoolId(poolId);
|
||||
List<StoragePoolHostVO> vos = _poolHostDao.listByHostStatus(poolId, com.cloud.host.Status.Up);
|
||||
|
||||
templateStoragePoolRef = _tmpltPoolDao.acquireInLockTable(templateStoragePoolRefId, 1200);
|
||||
if (templateStoragePoolRef == null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue