Skip to content

Commit e9bca76

Browse files
committed
set local storage as up
1 parent a18baf8 commit e9bca76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎server/src/com/cloud/storage/LocalStoragePoolListener.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ public void processConnect(HostVO host, StartupCommand cmd, boolean forRebalance
117117
host.getPodId(), pInfo.getAvailableBytes(), pInfo.getCapacityBytes(), pInfo.getHost(), 0,
118118
pInfo.getHostPath());
119119
pool.setClusterId(host.getClusterId());
120+
pool.setStatus(StoragePoolStatus.Up);
120121
_storagePoolDao.persist(pool, pInfo.getDetails());
121122
StoragePoolHostVO poolHost = new StoragePoolHostVO(pool.getId(), host.getId(), pInfo.getLocalPath());
122123
_storagePoolHostDao.persist(poolHost);

0 commit comments

Comments
 (0)