weizhouapache commented on PR #8502:
URL: https://github.com/apache/cloudstack/pull/8502#issuecomment-1889210565

   @vishesh92 
   I also suggest to add the following change
   ```
   diff --git 
a/engine/storage/volume/src/main/java/org/apache/cloudstack/storage/datastore/provider/DefaultHostListener.java
 
b/engine/storage/volume/src/main/java/org/apache/cloudstack/storage/datastore/provider/DefaultHostListener.java
   index e344a87831d..90e8742c84d 100644
   --- 
a/engine/storage/volume/src/main/java/org/apache/cloudstack/storage/datastore/provider/DefaultHostListener.java
   +++ 
b/engine/storage/volume/src/main/java/org/apache/cloudstack/storage/datastore/provider/DefaultHostListener.java
   @@ -121,6 +121,7 @@ public class DefaultHostListener implements 
HypervisorHostListener {
        public boolean hostConnect(long hostId, long poolId) throws 
StorageConflictException {
            StoragePool pool = (StoragePool) 
this.dataStoreMgr.getDataStore(poolId, DataStoreRole.Primary);
            ModifyStoragePoolCommand cmd = new ModifyStoragePoolCommand(true, 
pool);
   +        cmd.setWait(60);
            final Answer answer = agentMgr.easySend(hostId, cmd);
    
            if (answer == null) {
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to