mirror of https://github.com/apache/cloudstack.git
More changes for Bug 9438 - [Cloud Stack Upgrade - 2.1.8 to 2.2.4] Secondary Storage VM could not start after stopping it.
Added log statement to indicate that a pool is not chosen because the vm template has no entry in template_host_ref table.
This commit is contained in:
parent
3ad19c633f
commit
1a3483ac4f
|
|
@ -233,6 +233,7 @@ public abstract class AbstractStoragePoolAllocator extends AdapterBase implement
|
|||
} else {
|
||||
VMTemplateHostVO templateHostVO = _templateHostDao.findByHostTemplate(secondaryStorageHost.getId(), template.getId());
|
||||
if (templateHostVO == null) {
|
||||
s_logger.debug("Cannot allocate this pool " + pool.getId() + " since no entry found in template_host_ref, hostId: " + secondaryStorageHost.getId() + " and templateId: "+template.getId());
|
||||
return false;
|
||||
} else {
|
||||
s_logger.debug("For template: " + template.getName() + ", using template size multiplier: " + 2);
|
||||
|
|
|
|||
Loading…
Reference in New Issue