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 摘要。