Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
4.4.0
-
Security Level: Public (Anyone can view this level - this is the default.)
-
None
Description
Steps to reproduce:
1) Have one storage pool in a zone.
2) Start regular user vm and the VR
3) Enable storage maintenance. All vms get stopped automatically, and records for them are added to storage_pool_work table with stopped_for_maintenance flag set to 1.
4) Cancel storage maintenance. All the vms that were stopped as a part of maintenance, should be restarted now. But it doesn't happen as StoragePoolAutomationImpl.java, cancelMaintain method when loop through pendingWorks, the result is returned right after the first pendingWork is completed successfully.
for (StoragePoolWorkVO work : pendingWork) {