Remi Bergsma created CLOUDSTACK-8316:
----------------------------------------
Summary: VolumeOrchestrator checks StorageHAMigrationEnabled
setting where it should not
Key: CLOUDSTACK-8316
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8316
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Volumes
Affects Versions: 4.4.2
Reporter: Remi Bergsma
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)