mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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…
x
Reference in New Issue
Block a user