KVM: VMs with a data volume already on a reserved device id still cannot start after the upgrade to the device id fix
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 48/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- java
研究方向
Start by tracing the KVM VM start path that assigns device IDs to data volumes, CD-ROMs, and the config drive ISO; the issue does not name source files or tests. Compare how existing volumes with reserved IDs are handled during startup with the detach and reattach behavior described here. Done when affected q35 VMs start after upgrade without manual volume reattachment.
由索引模型根據 Issue 內容生成。
描述
Problem
The device id fixes on 4.22 and main reserve the device ids of the CD-ROMs and the config drive ISO for new data volumes. Volumes that already use one of these device ids (created on an earlier version) are not changed, as noted in both fixes. On q35 these VMs still fail to start with XML error: target '...' duplicated after the upgrade, until the volume is detached and attached again. These VMs could not start before the upgrade either (on 4.23.0.0 a config drive VM with a data volume on 5 also fails with vm.iso.max.count=2), so this is not a regression of the fixes.
Versions
The versions of ACS, hypervisors, storage, network etc..The VMs already fail on the old version (4.22.1.0, 4.23.0.0). They still fail after the upgrade to a build that includes the fix:
- 4.22.1.0 upgraded to the 4.22 build with the device id fix (4.22.2.0-SNAPSHOT): q35 config drive VM with a data volume on deviceid 4 (
target 'sde' duplicated). - 4.23.0.0 upgraded to main (24.0.0-SNAPSHOT): q35 VMs with a data volume on deviceid 4, with and without config drive (
target 'sde' duplicated). A q35 config drive VM with a data volume on deviceid 5 starts with vm.iso.max.count=1 and fails with vm.iso.max.count=2 (target 'sdf' duplicated).
Environment:
KVM on Oracle Linux 9, qemu-kvm 7.2.0, libvirt 9.0.0, machine type pc-q35-rhel9.2.0 (template settings rootDiskController=scsi, kvm.guest.os.machine.type=pc-q35-rhel9.2.0, UEFI=LEGACY), host.cdrom.max.count 2. NFS primary storage.
The steps to reproduce the bug
- On the earlier version (4.22.1.0 or 4.23.0.0), create an L2 network with DefaultL2NetworkOfferingConfigDrive.
- Deploy a q35 scsi VM on it (stopped) and attach 3 data volumes. The 3rd gets deviceid 4.
- Upgrade the management server and the KVM agents to the version with the fix.
- Start the VM. It fails with 530 "Unable to orchestrate the start of VM instance", and the management server log has "Unable to start VM on Host ... XML error: target 'sde' duplicated" for each host.
- Detach the volume on deviceid 4 and attach it again: it gets 5 (4.22) or 6 (main), and the VM starts.
What to do about it?
Expected: after the upgrade, VMs with data volumes on the reserved device ids start without a manual detach and attach.
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 7 天 16 小時
- 30 天內合併 PR
- 15
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
apache/cloudstack 的其他 Issue
-
resizeVolume of a running system VM's volume is accepted but the VM never sees the new size可能已有人在做 @bhouse-nexthop 於 4 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
apache/cloudstack#14645 · 1 則留言 ·
維護者通常 1 天內回覆
-
VR reports a load balancer change as applied when haproxy.cfg cannot be replaced可能已有人在做 @bhouse-nexthop 於 4 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
apache/cloudstack#14633 · 1 則留言 ·
維護者通常 1 天內回覆
-
restartNetwork reports a ResourceUnavailableException as an unexpected error (530), unlike restartVPC (534)可能已有人在做 @bhouse-nexthop 於 4 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
apache/cloudstack#14631 · 1 則留言 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
apache/cloudstack#14625 · 1 則留言 ·
維護者通常 1 天內回覆
-
Remote access VPN users are disconnected on every LB, ACL, port forward or firewall change (xl2tpd restarted on every iptables pass)可能已有人在做 @willbennett-devops 於 12 天前認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
apache/cloudstack#14545 · 1 則留言 ·
維護者通常 1 天內回覆
查看 apache/cloudstack 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 75/100
ls1intum/thesis-management#1473 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
LunaDeerMC/Dominion#301 · 1 則留言 ·
-
[FEATURE] Expose external refresh, node-level translog and warmer stats可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉untriaged
難度 2/5 1-3 小時 新手友好度 68/100
opensearch-project/opensearch-prometheus-exporter#680 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
-
難度 2/5 1-3 小時 新手友好度 66/100
維護者通常 2 天內回覆