apache / apache/cloudstack

Cannot migrate vm with local storage datadisk whe using automatic assign

Đang mở
#10,907 1 bình luận 0 reaction 1 người được giao Được @vishesh92 nhận Xem trên GitHub
component:local-storage component:migration
Ngôn ngữ chính
Java
Star
3.1k
Fork
1.4k
Merge trung bình
6 ngày 19 giờ
Pull request đã merge (30 ngày)
32

Mô tả

### problem

A vm that has a local storage data disk cannot be migrated without specifying a specific host and results in the message below:
```
Migration failed.
Unable to find suitable destination to migrate VM i-2-6-VM
```
When selecting a specific host the same vm can be migrated.

This also affects maintenance mode as a host that has a vm with local storage datadisk present cannot migrate that vm, see #9887.

### versions

CS 4.20 (build from 4.20 branch on commit 5444261902a3e6482038e391afc5476deab4ad06)
Hypervisor kvm
Local storage and HA nfs
Advanced network setup on mbx mbxt-kvm-el8

### The steps to reproduce the bug

1. Allow local storage on the zone
2. Create a vm with any root disk and a local datadisk
3. Migrate vm and select `Automatically assign`

OR

3. Set `host.maintenance.local.storage.strategy` to `Migration`
4. Set host with vm created in step 2 in maintenance mode

### What to do about it?

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.