GitHub user verendrakalsi added a comment to the discussion: Issue while
migrating window or ubuntu VM from VMware vcenter
Today, again i tried and got this error and the migration failed
2025-04-01 15:57:38,042 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:[]) (logid:a5187f7a) Trying to fetch storage pool
67c1ba98-ecd6-3776-977d-97b72618122b from libvirt
2025-04-01 15:57:38,070 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:[]) (logid:a5187f7a) Attempting to create volume
cf275a99-a2d1-475a-b535-38bbcaa7d652 (NetworkFilesystem) in pool
67c1ba98-ecd6-3776-977d-97b72618122b with size (51.00 GB) 54760833024
2025-04-01 15:58:34,691 INFO
[resource.wrapper.LibvirtConvertInstanceCommandWrapper]
(agentRequest-Handler-5:[]) (logid:a5187f7a) Cleaning up temporary disk
b60aba0b-2e14-47cc-b11f-176139fb7fbe-sda after conversion from temporary
location
2025-04-01 15:58:34,692 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:[]) (logid:a5187f7a) Attempting to remove volume
b60aba0b-2e14-47cc-b11f-176139fb7fbe-sda from pool
c4b7aab4-b56d-349c-89d9-8c612bb0731d
2025-04-01 15:58:34,701 ERROR
[resource.wrapper.LibvirtConvertInstanceCommandWrapper]
(agentRequest-Handler-5:[]) (logid:a5187f7a) Error converting instance
ubuntu2204-main-cloudstack from VMware, due to: org.libvirt.LibvirtException:
cannot unlink file
'/mnt/c4b7aab4-b56d-349c-89d9-8c612bb0731d/b60aba0b-2e14-47cc-b11f-176139fb7fbe-sda':
Permission denied com.cloud.utils.exception.CloudRuntimeException:
org.libvirt.LibvirtException: cannot unlink file
'/mnt/c4b7aab4-b56d-349c-89d9-8c612bb0731d/b60aba0b-2e14-47cc-b11f-176139fb7fbe-sda':
Permission denied
at
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.deletePhysicalDisk(LibvirtStorageAdaptor.java:1143)
at
com.cloud.hypervisor.kvm.storage.LibvirtStoragePool.deletePhysicalDisk(LibvirtStoragePool.java:181)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.cleanupDisksAndDomainFromTemporaryLocation(LibvirtConvertInstanceCommandWrapper.java:255)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.execute(LibvirtConvertInstanceCommandWrapper.java:152)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.execute(LibvirtConvertInstanceCommandWrapper.java:61)
at
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1945)
at com.cloud.agent.Agent.processRequest(Agent.java:686)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1109)
at com.cloud.utils.nio.Task.call(Task.java:83)
at com.cloud.utils.nio.Task.call(Task.java:29)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:840)
2025-04-01 15:58:34,865 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:[]) (logid:a5187f7a) Attempting to remove storage pool
c4b7aab4-b56d-349c-89d9-8c612bb0731d from libvirt
2025-04-01 15:58:34,885 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:[]) (logid:a5187f7a) Storage pool
c4b7aab4-b56d-349c-89d9-8c612bb0731d has no corresponding secret. Not removing
any secret.
2025-04-01 15:58:34,897 ERROR [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:[]) (logid:a5187f7a) deleteStoragePool removed pool
from libvirt, but libvirt had trouble unmounting the pool. Trying umount
location /mnt/c4b7aab4-b56d-349c-89d9-8c612bb0731d again in a few seconds
2025-04-01 15:58:39,907 WARN [utils.script.Script] (agentRequest-Handler-5:[])
(logid:a5187f7a) Execution of process [10952] for command [/bin/bash -c sleep 5
&& umount /mnt/c4b7aab4-b56d-349c-89d9-8c612bb0731d ] failed.
2025-04-01 15:58:39,907 WARN [utils.script.Script] (agentRequest-Handler-5:[])
(logid:a5187f7a) Process [10952] for command [/bin/bash -c sleep 5 && umount
/mnt/c4b7aab4-b56d-349c-89d9-8c612bb0731d ] encountered the error:
[umount.nfs4: /mnt/c4b7aab4-b56d-349c-89d9-8c612bb0731d: device is busy].
2025-04-01 15:58:39,907 INFO [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:[]) (logid:a5187f7a) Succeeded in unmounting
/mnt/c4b7aab4-b56d-349c-89d9-8c612bb0731d
2025-04-01 15:58:39,916 ERROR [kvm.storage.LibvirtStorageAdaptor]
(agentRequest-Handler-5:[]) (logid:a5187f7a) Failed to destroy libvirt pool
c4b7aab4-b56d-349c-89d9-8c612bb0731d: org.libvirt.LibvirtException: internal
error: Child process (/usr/bin/umount
/mnt/c4b7aab4-b56d-349c-89d9-8c612bb0731d) unexpected exit status 16:
umount.nfs4: /mnt/c4b7aab4-b56d-349c-89d9-8c612bb0731d: device is busy
GitHub link:
https://github.com/apache/cloudstack/discussions/10620#discussioncomment-12691721
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]