apache / apache/cloudstack

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

未關閉
#11,739 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
status:needs-functional-definition type:improvement
主要語言
Java
星號
3.1k
分支
1.4k
平均合併
6 天 19 小時
30 天內合併 PR
32

描述

### 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.

貢獻指南

開啟貢獻指南

研究方向

先比較現有的 Migrate volume 流程(該流程會提示輸入 disk offering)與 issue 中描述的 Migrate VM with volumes 流程。重現從本機儲存空間遷移至 NFS 的過程,並確認完成後的行為是否能在檢查後指派適合的 disk offering,或在沒有 pool 類型不相符的情況下自動指派它們。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java
領域
backend, cloud, infrastructure
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。