apache / apache/cloudstack

VMs configured with VMHA should be migrated to another storage and kept running when the primary storage is put on maintenance.

Open
#12,423 1 comment 1 reaction 0 assignees View on GitHub
type:new-feature
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

### The required feature described as a wish

When a primary storage is put on maintenance, the systemVMs are migrated to another primary storage and all user VMs are stopped. The user VMs are migrated on demand when they are manually started.

This might not be the intended behaviour for Instances on which VMHA is enabled and which are expected to by highly available. We might add a global config which will control if the Instances configured with VMHA are automatically migrated and are kept running.

Creating this issue to discuss and track this feature request.

-----

Discussed on https://github.com/apache/cloudstack/issues/12215
From the documentation https://docs.cloudstack.apache.org/en/4.22.0.0/adminguide/storage.html#maintenance-mode-for-primary-storage
`it will stop all guests that have any volume on that storage device.`

Contributor guide

Open the contributing guide

Research direction

Begin with the linked primary-storage maintenance documentation and issue #12215; the payload names no implementation files or tests. Clarify the global configuration and expected behavior for VMHA instances, including migration and keeping VMs running, then define tests or documentation that demonstrate the agreed result.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.