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

   thanks, @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
   
https://github.com/apache/cloudstack/blob/cd12fa584825889692d88d909132d684b6c6c778/server/src/main/java/com/cloud/storage/StoragePoolAutomationImpl.java#L366
   
   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


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