Ui : Improve the error log message
@saurabhkushwaha438 đang làm issue này rồi.
Từ ngày 26/5/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 1.4k
- Merge trung bình
- 7 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 28
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của apache/cloudstack
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
apache/cloudstack#14222 ·
-
create-kubernetes-binaries-iso.sh builds the ISO without setting a volume ID on EL8 based os's Đang mởbug component:kubernetes
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
apache/cloudstack#14180 ·
-
bug component:projects component:UI
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
apache/cloudstack#14070 · 5 bình luận ·
-
component:backup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
apache/cloudstack#14013 ·
-
KVM agent fails to connect to Ceph RBD storage pool after upgrading Ceph client to Tentacle 20.2.4 Đang mởbug component:ceph
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
apache/cloudstack#13989 · 3 bình luận ·
Tất cả issue của apache/cloudstack
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
opensearch-project/k-NN#3597 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100