apache / apache/cloudstack

Provision to assign disk offering(s) for volumes(s) when migrate VM with volumes

Offen
#11,739 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
status:needs-functional-definition type:improvement
Vorherrschende Sprache
Java
Sterne
3.1k
Forks
1.4k
Ø Merge
6 T. 19 Std.
Gemergte PRs (30 T.)
32

Beschreibung

### problem

Currently, Migrate VM with volume(s) bypasses the service and disk offerings of the volumes, as the target pools for migration are specified and volumes can be moved between shared to local and local to shared pools without any offering change. The subsequent operations on these volumes were impacted due to disk offering and pool type mismatch.

There should be provision to admin/operation, to assign disk offering(s) for volumes(s) with proper checks, when migrate VM with volumes (mainly when change in pool type - shared to local, local to shared). Similar provision was already there for Migrate volume, and it prompts to change the disk offering.

### versions

ACS 4.20.x , KVM Hypervisor, NFS / Local Storage.

### The steps to reproduce the bug

1. Deploy a VM with ROOT and DATA volumes on Local storage.
2. Migrate VM with volumes to NFS (Shared) storage - the Disk Offerings still point to Local storage offering.

### What to do about it?

Allow operator to assign disk offering(s) for volumes(s) when migrate VM with volumes, or auto assign the suitable offering.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, den bestehenden Migrate-volume-Ablauf, der nach einem disk offering fragt, mit dem im Issue beschriebenen Migrate-VM-with-volumes-Ablauf zu vergleichen. Führe eine Migration vom lokalen Speicher zu NFS durch und überprüfe, dass das abgeschlossene Verhalten entweder die Zuweisung geeigneter disk offerings mit Prüfungen erlaubt oder sie automatisch zuweist, ohne dass es zu einer Nichtübereinstimmung des Pool-Typs kommt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
backend, cloud, infrastructure
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
38/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.