mirror of https://github.com/apache/cloudstack.git
Merge remote-tracking branch 'origin/4.15' into main
This commit is contained in:
commit
16d0795130
|
|
@ -85,6 +85,15 @@ public class KVMInvestigator extends AdapterBase implements Investigator {
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!hasNfs) {
|
||||
List<StoragePoolVO> zonePools = _storagePoolDao.findZoneWideStoragePoolsByHypervisor(agent.getDataCenterId(), agent.getHypervisorType());
|
||||
for (StoragePoolVO pool : zonePools) {
|
||||
if (pool.getPoolType() == StoragePoolType.NetworkFilesystem) {
|
||||
hasNfs = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!hasNfs) {
|
||||
s_logger.warn(
|
||||
"Agent investigation was requested on host " + agent + ", but host does not support investigation because it has no NFS storage. Skipping investigation.");
|
||||
|
|
|
|||
Loading…
Reference in New Issue