Ui : Improve the error log message
@saurabhkushwaha438 已經在處理了。
開始於 2026年5月26日。
評估
這個 Issue 還沒有評估資料。
描述
The required feature described as a wish
As a Admin /Operator I would like to see the correct error message if the instance conversion from vmware to kvm fails
Steps to reproduce the issue
- Select a kvm host which does not have the virt-v2v installed
The following exception is thrown in the UI > this not clear to the end user
- On checking the logs
2026-04-13 06:32:30,120 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-85:[ctx-de7abe65, job-145, ctx-d94fe1bb]) (logid:03b36fd8) The host Host {"id":2,"name":"ref-trl-6210-k-Mr9-kiran-chavala-kvm2","type":"Routing","uuid":"ee80e6e2-2e52-4dce-b554-6af6027303c6"} doesn't support conversion of instance i-2-14-VM from VMware to KVM due to: Cannot convert the instance from VMware using VDDK on host 10.1.34.207. Please make sure virt-v2v, nbdkit-vddk and a valid VDDK library directory are available on the host.
2026-04-13 06:32:30,120 ERROR [o.a.c.v.UnmanagedVMsManagerImpl] (API-Job-Executor-85:[ctx-de7abe65, job-145, ctx-d94fe1bb]) (logid:03b36fd8) Error importing VM: The host Host {"id":2,"name":"ref-trl-6210-k-Mr9-kiran-chavala-kvm2","type":"Routing","uuid":"ee80e6e2-2e52-4dce-b554-6af6027303c6"} doesn't support conversion of instance i-2-14-VM from VMware to KVM due to: Cannot convert the instance from VMware using VDDK on host 10.1.34.207. Please make sure virt-v2v, nbdkit-vddk and a valid VDDK library directory are available on the host. com.cloud.utils.exception.CloudRuntimeException: The host Host {"id":2,"name":"ref-trl-6210-k-Mr9-kiran-chavala-kvm2","type":"Routing","uuid":"ee80e6e2-2e52-4dce-b554-6af6027303c6"} doesn't support conversion of instance i-2-14-VM from VMware to KVM due to: Cannot convert the instance from VMware using VDDK on host 10.1.34.207. Please make sure virt-v2v, nbdkit-vddk and a valid VDDK library directory are available on the host.
at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.checkConversionSupportOnHost(UnmanagedVMsManagerImpl.java:2110)
at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importUnmanagedInstanceFromVmwareToKvm(UnmanagedVMsManagerImpl.java:1704)
at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.baseImportInstance(UnmanagedVMsManagerImpl.java:1366)
at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importVm(UnmanagedVMsManagerImpl.java:1517)
2026-04-13 06:32:30,130 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-85:[ctx-de7abe65, job-145]) (logid:03b36fd8) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.ImportVmCmd java.lang.NullPointerException: Cannot invoke "com.cloud.vm.ImportVMTaskVO.setUpdated(java.util.Date)" because "importVMTaskVO" is null
at org.apache.cloudstack.vm.ImportVmTasksManagerImpl.updateImportVMTaskErrorState(ImportVmTasksManagerImpl.java:166)
at org.apache.cloudstack.vm.UnmanagedVMsManagerImpl.importUnmanagedInstanceFromVmwareToKvm(UnmanagedVMsManagerImpl.java:1768)''
Expected behaviour
The following error message should be shown in the ui
Cannot convert the instance from VMware using VDDK on host 10.1.34.207. Please make sure virt-v2v, nbdkit-vddk and a valid VDDK library directory are available on the host.
- 主要語言
- Java
- 星號
- 3.1k
- 分支
- 1.4k
- 平均合併
- 7 天 5 小時
- 30 天內合併 PR
- 28
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
apache/cloudstack 的其他 Issue
-
bug
難度 1/5 1 小時以內 新手友好度 90/100
apache/cloudstack#14222 ·
-
bug component:kubernetes
難度 1/5 1 小時以內 新手友好度 88/100
apache/cloudstack#14180 ·
-
bug component:projects component:UI
難度 1/5 1 小時以內 新手友好度 88/100
apache/cloudstack#14070 · 5 則留言 ·
-
component:backup
難度 2/5 1-3 小時 新手友好度 76/100
apache/cloudstack#14013 ·
-
KVM agent fails to connect to Ceph RBD storage pool after upgrading Ceph client to Tentacle 20.2.4 未關閉bug component:ceph
難度 2/5 1-3 小時 新手友好度 78/100
apache/cloudstack#13989 · 3 則留言 ·
查看 apache/cloudstack 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 88/100
-
1.0.0-alpha2 Type/Improvement
難度 2/5 1-3 小時 新手友好度 68/100
wso2/dpdp-accelerator#272 ·
-
bug
難度 2/5 1-3 小時 新手友好度 88/100
apache/rocketmq-dashboard#4860 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 82/100
infinispan/infinispan#18150 ·
-
難度 2/5 1-3 小時 新手友好度 68/100
puj-course/FIS_2630_1204_G1#294 ·