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

VolumeOrchestrator checks StorageHAMigrationEnabled setting where it should not

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4.2
    • 4.4.3
    • Volumes
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Scenario:
      enable.ha.storage.migration = false

      Attach a volume to a disk that is on another storage pool than the vm you are attaching to.

      Error: Cannot migrate volumes. Volume Migration is disabled

      Cause:
      file: engine/orchestration/src/org/apache/cloudstack/engine/orchestration/VolumeOrchestrator.java

      ....
      if (StorageHAMigrationEnabled.value()) {
      ....

      It checks the HA setting, but this is not an HA event!

      Proposed solution:
      Option A: add setting: enable.storage.migration and check that instead
      Option B: remove the check altogether as it does not provide much value

      Attachments

        Activity

          People

            dahn Daan
            remibergsma Remi Bergsma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: