mirror of https://github.com/apache/cloudstack.git
set local storage as up
This commit is contained in:
parent
a18baf8c83
commit
e9bca76a32
|
|
@ -117,6 +117,7 @@ public class LocalStoragePoolListener implements Listener {
|
|||
host.getPodId(), pInfo.getAvailableBytes(), pInfo.getCapacityBytes(), pInfo.getHost(), 0,
|
||||
pInfo.getHostPath());
|
||||
pool.setClusterId(host.getClusterId());
|
||||
pool.setStatus(StoragePoolStatus.Up);
|
||||
_storagePoolDao.persist(pool, pInfo.getDetails());
|
||||
StoragePoolHostVO poolHost = new StoragePoolHostVO(pool.getId(), host.getId(), pInfo.getLocalPath());
|
||||
_storagePoolHostDao.persist(poolHost);
|
||||
|
|
|
|||
Loading…
Reference in New Issue