Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-6918

CancelStorageMaintenance: Not all vms get restarted as a part of canceling maintenance mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.4.0
    • 4.5.0
    • Storage Controller
    • 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) {

      Attachments

        Activity

          People

            edison Disheng Su
            alena1108 Alena Prokharchyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: