Ui : Improve the error log message
Maintainer antworten meist innerhalb von 1 Tag
@saurabhkushwaha438 arbeitet bereits daran.
Seit 26.5.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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.
- Vorherrschende Sprache
- Java
- Sterne
- 3.1k
- Forks
- 1.4k
- Ø Merge
- 5 T. 15 Std.
- Gemergte PRs (30 T.)
- 24
Entwicklungsumgebung
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus apache/cloudstack
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 80/100
apache/cloudstack#14248 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
apache/cloudstack#14244 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 90/100
apache/cloudstack#14222 ·
Maintainer antworten meist innerhalb von 1 Tag
-
create-kubernetes-binaries-iso.sh builds the ISO without setting a volume ID on EL8 based os'sOffenbug component:kubernetes
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
apache/cloudstack#14180 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug component:projects component:UI
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
apache/cloudstack#14070 · 5 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in apache/cloudstack
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
checkstyle/checkstyle#21755 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
Maintainer antworten meist innerhalb von 1 Tag
-
agentic-workflows
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
github/copilot-sdk#2782 ·
Maintainer antworten meist innerhalb von 1 Tag
-
documentation Good for newcomer quick win
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
CodeForPhilly/benefit-decision-toolkit#519 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area-deployment triage:bot-seen triage:needs-human
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
microsoft/aspire#20533 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag