Skip to content

Commit f44be74

Browse files
committed
CLOUDSTACK-7447: Send modify storage pool command on host connect to LXC hosts
1 parent 94ab397 commit f44be74

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎server/src/com/cloud/storage/listener/StoragePoolMonitor.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ public void processConnect(Host host, StartupCommand cmd, boolean forRebalance)
7676
StartupRoutingCommand scCmd = (StartupRoutingCommand)cmd;
7777
if (scCmd.getHypervisorType() == HypervisorType.XenServer || scCmd.getHypervisorType() == HypervisorType.KVM ||
7878
scCmd.getHypervisorType() == HypervisorType.VMware || scCmd.getHypervisorType() == HypervisorType.Simulator ||
79-
scCmd.getHypervisorType() == HypervisorType.Ovm || scCmd.getHypervisorType() == HypervisorType.Hyperv) {
79+
scCmd.getHypervisorType() == HypervisorType.Ovm || scCmd.getHypervisorType() == HypervisorType.Hyperv ||
80+
scCmd.getHypervisorType() == HypervisorType.LXC ) {
8081
List<StoragePoolVO> pools = _poolDao.listBy(host.getDataCenterId(), host.getPodId(), host.getClusterId(), ScopeType.CLUSTER);
8182
List<StoragePoolVO> zoneStoragePoolsByTags = _poolDao.findZoneWideStoragePoolsByTags(host.getDataCenterId(), null);
8283
List<StoragePoolVO> zoneStoragePoolsByHypervisor = _poolDao.findZoneWideStoragePoolsByHypervisor(host.getDataCenterId(), scCmd.getHypervisorType());

0 commit comments

Comments
 (0)