Re: [I] migration of VMware Windows VMs fail [cloudstack]

2025-09-19 Thread via GitHub


ingox commented on issue #11561:
URL: https://github.com/apache/cloudstack/issues/11561#issuecomment-3266478414

   **Installed a EL9 now, but same error:** _The virt-v2v conversion for the 
OVF 1688250f-6d4d-4f49-8cd9-aac038e053bf failed. Please check the agent logs 
for the virt-v2v output. Please try on a different kvm host which has a 
different virt-v2v version._
   
   Here are my versions:
   **OS:**
   _5.14.0-362.18.1.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 24 23:11:18 UTC 
2024 x86_64 x86_64 x86_64 GNU/Linux_
   
   **Virt-v2v:**
   _virt-v2v 2.7.1rhel=9,release=10.el9_6_
   
   **Ovftool:**
   _VMware ovftool 5.0.0 (build-24781994)_
   
   
   Linux works. I'm having issues with Windows guests only.
   
   
   2025-09-08 13:35:08,354 WARN  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-2:[]) (logid:) Exception [Stream closed] occurred when 
attempting to run command [virt-v2v --root first -i ova 
/mnt/8132f3c3-13b6-370b-a00b-2f2e69a323e0/1688250f-6d4d-4f49-8cd9-aac038e053bf/i-2-20-VM/
 -o local -os /mnt/8132f3c3-13b6-370b-a00b-2f2e69a323e0 -of qcow2 -on 
4e631218-18d6-4e21-afcd-3b010c4d7052 ]. java.io.IOException: Stream closed
   at 
java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:168)
   at 
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:334)
   at 
java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:287)
   at 
java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:330)
   at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:190)
   at 
java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)
   at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)
   at java.base/java.io.BufferedReader.readLine(BufferedReader.java:329)
   at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396)
   at 
com.cloud.utils.script.OutputInterpreter.processError(OutputInterpreter.java:41)
   at com.cloud.utils.script.Script.execute(Script.java:305)
   at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.performInstanceConversion(LibvirtConvertInstanceCommandWrapper.java:410)
   at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.execute(LibvirtConvertInstanceCommandWrapper.java:134)
   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:1958)
   at com.cloud.agent.Agent.processRequest(Agent.java:779)
   at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1194)
   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-09-08 13:35:08,355 ERROR 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-2:[]) (logid:) The virt-v2v conversion for the OVF 
1688250f-6d4d-4f49-8cd9-aac038e053bf failed. Please check the agent logs for 
the virt-v2v output. Please try on a different kvm host which has a different 
virt-v2v version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] migration of VMware Windows VMs fail [cloudstack]

2025-09-03 Thread via GitHub


ingox commented on issue #11561:
URL: https://github.com/apache/cloudstack/issues/11561#issuecomment-3248016276

   @NuxRo I have been following this documentation.
   Here are the logs. 
   agent.log:
   
   ```
   2025-09-03 07:13:33,154 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-5:[]) (logid:) 
(virt-v2v ovf source: 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/64beae76-59f2-4b30-a82c-48d7fd3869cb/i-2-20-VM/
 progress) libguestfs: closing guestfs handle 0x59cfcf2d9380 (state 0)
   2025-09-03 07:13:33,158 WARN  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-3:[]) (logid:) Execution of process [147579] for command 
[virt-v2v --root first -i ova 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/64beae76-59f2-4b30-a82c-48d7fd3869cb/i-2-20-VM/
 -o local -os /mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296 -of qcow2 -on 
dafb4cb1-8caa-4fe9-990b-605aeb615f96 -v ] failed.
   2025-09-03 07:13:33,158 DEBUG 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-3:[]) (logid:) Exit value of process [147579] for command 
[virt-v2v --root first -i ova 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/64beae76-59f2-4b30-a82c-48d7fd3869cb/i-2-20-VM/
 -o local -os /mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296 -of qcow2 -on 
dafb4cb1-8caa-4fe9-990b-605aeb615f96 -v ] is [1].
   2025-09-03 07:13:33,159 WARN  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-3:[]) (logid:) Exception [Stream closed] occurred when 
attempting to run command [virt-v2v --root first -i ova 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/64beae76-59f2-4b30-a82c-48d7fd3869cb/i-2-20-VM/
 -o local -os /mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296 -of qcow2 -on 
dafb4cb1-8caa-4fe9-990b-605aeb615f96 -v ]. java.io.IOException: Stream closed
   at 
java.base/java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:168)
   at 
java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:334)
   at 
java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:287)
   at 
java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:330)
   at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:190)
   at 
java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)
   at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)
   at java.base/java.io.BufferedReader.readLine(BufferedReader.java:329)
   at java.base/java.io.BufferedReader.readLine(BufferedReader.java:396)
   at 
com.cloud.utils.script.OutputInterpreter.processError(OutputInterpreter.java:41)
   at com.cloud.utils.script.Script.execute(Script.java:305)
   at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.performInstanceConversion(LibvirtConvertInstanceCommandWrapper.java:410)
   at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtConvertInstanceCommandWrapper.execute(LibvirtConvertInstanceCommandWrapper.java:134)
   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:1958)
   at com.cloud.agent.Agent.processRequest(Agent.java:779)
   at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1194)
   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-09-03 07:13:33,159 ERROR 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-3:[]) (logid:) The virt-v2v conversion for the OVF 
64beae76-59f2-4b30-a82c-48d7fd3869cb failed. Please check the agent logs for 
the virt-v2v output. Please try on a different kvm host which has a different 
virt-v2v version.
   2025-09-03 07:13:33,159 DEBUG 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-3:[]) (logid:) Cleaning up exported OVA at dir 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/64beae76-59f2-4b30-a82c-48d7fd3869cb
   2025-09-03 07:13:34,556 DEBUG [cloud.utils.FileUtil] 
(AgentRequest-Handler-3:[]) (logid:) Deleted path: 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/64beae76-59f2-4b30-a82c-48d7fd3869cb
   2025-09-03 07:13:34,560 DEBUG [cloud.agent.Agent] 
(AgentRequest-Handler-3:[]) (logid:) Seq 1-6541196983778934803:  { Ans: , 
MgmtId: 32988905606098, via: 1, Ver: v1, Flags: 10, 

Re: [I] migration of VMware Windows VMs fail [cloudstack]

2025-09-02 Thread via GitHub


sureshanaparti commented on issue #11561:
URL: https://github.com/apache/cloudstack/issues/11561#issuecomment-3245021867

   @ingox Have you noticed any conversion issues with virt-v2v in the agent log 
(to enable virt-v2v logs, set `virtv2v.verbose.enabled=true` in 
_/etc/cloudstack/agent/agent.properties_ and restart agent, try import Windows 
VM again).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] migration of VMware Windows VMs fail [cloudstack]

2025-09-02 Thread via GitHub


NuxRo commented on issue #11561:
URL: https://github.com/apache/cloudstack/issues/11561#issuecomment-3246532657

   @ingox please follow 
https://www.shapeblue.com/cloudstack-vmware-to-kvm-migration-tool/
   
   Also please enable DEBUG log in your installation, it looks like we're 
missing some context here.
   https://www.nux.ro/How_to_enable_DEBUG_mode_in_Cloudstack/


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [I] migration of VMware Windows VMs fail [cloudstack]

2025-09-02 Thread via GitHub


ingox commented on issue #11561:
URL: https://github.com/apache/cloudstack/issues/11561#issuecomment-3245228244

   @sureshanaparti virtv2v.verbose.enabled=true was already set. These are all 
errors and warnings with virt-v2v.
   
   2025-09-02 07:05:34,422 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-2:[]) (logid:) 
(virt-v2v ovf source: 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/b507fcf9-928a-483b-9cc8-e12b23c57a83/i-2-20-VM/
 progress) [0.283398] Speculative Return Stack Overflow: WARNING: See 
https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation 
options.
   2025-09-02 07:05:57,485 ERROR 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-1:[]) (logid:) The virt-v2v conversion for the OVF 
b507fcf9-928a-483b-9cc8-e12b23c57a83 failed. Please check the agent logs for 
the virt-v2v output. Please try on a different kvm host which has a different 
virt-v2v version.
   2025-09-02 07:49:21,363 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-8:[]) (logid:) 
(virt-v2v ovf source: 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/80606be1-73d0-44be-9f04-022f927d936e/i-2-20-VM/
 progress) [0.261584] Speculative Return Stack Overflow: WARNING: See 
https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation 
options.
   2025-09-02 07:49:37,724 ERROR 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-2:[]) (logid:) The virt-v2v conversion for the OVF 
80606be1-73d0-44be-9f04-022f927d936e failed. Please check the agent logs for 
the virt-v2v output. Please try on a different kvm host which has a different 
virt-v2v version.
   2025-09-02 09:16:06,553 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-5:[]) (logid:) 
(virt-v2v ovf source: 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/96e39639-b917-4d39-a732-c3a89d9c6f37/i-2-7-VM/
 progress) [0.232246] Speculative Return Stack Overflow: WARNING: See 
https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation 
options.
   2025-09-02 09:49:38,703 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-4:[]) (logid:) 
(virt-v2v ovf source: 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/527dc334-e4a0-4718-8320-4079d3d04d13/i-2-22-VM/
 progress) [0.222303] Speculative Return Stack Overflow: WARNING: See 
https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation 
options.
   2025-09-02 10:23:33,799 INFO  
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] (Script-3:[]) (logid:) 
(virt-v2v ovf source: 
/mnt/f16f10e2-5272-3087-b0e3-bf664ec5b296/12aca5b3-739a-44f4-b9af-50d67007007f/i-2-20-VM/
 progress) [0.336133] Speculative Return Stack Overflow: WARNING: See 
https://kernel.org/doc/html/latest/admin-guide/hw-vuln/srso.html for mitigation 
options.
   2025-09-02 10:23:50,393 ERROR 
[resource.wrapper.LibvirtConvertInstanceCommandWrapper] 
(AgentRequest-Handler-2:[]) (logid:) The virt-v2v conversion for the OVF 
12aca5b3-739a-44f4-b9af-50d67007007f failed. Please check the agent logs for 
the virt-v2v output. Please try on a different kvm host which has a different 
virt-v2v version.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]