weizhouapache commented on issue #11764:
URL: https://github.com/apache/cloudstack/issues/11764#issuecomment-3360831866

   > thanks, [@weizhouapache](https://github.com/weizhouapache), I think this 
should fix part of the issue. If the agent is restarted during pool 
maintenance, the cancel maintenance will still fail. I think here
   > 
   > 
[cloudstack/server/src/main/java/com/cloud/storage/StoragePoolAutomationImpl.java](https://github.com/apache/cloudstack/blob/cd12fa584825889692d88d909132d684b6c6c778/server/src/main/java/com/cloud/storage/StoragePoolAutomationImpl.java#L366)
   > 
   > Line 366 in 
[cd12fa5](/apache/cloudstack/commit/cd12fa584825889692d88d909132d684b6c6c778)
   > 
   >  if (pool.getPoolType() == Storage.StoragePoolType.DatastoreCluster) { 
   > we should include a check if there is a record in the 
storage_pool_host_ref DB table and if not to add such for the pool with the host
   
   make sense.
   
   added a commit :
   
https://github.com/apache/cloudstack/pull/11773/files#diff-2ae1a642d4b460abaeaed7f34f604fa1026e4c4232b0df899bfda216d9742186


-- 
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