Hi,

Doesn’t seem so though, was trying this out just now on a small one but it 
doesn’t give you any %, it will just say waiting for migration to finish when I 
do it on the agent log on the machine it goes out of.

tail -f /var/log/cloudstack/agent/agent.log
2024-02-13 15:22:25,935 INFO  [resource.wrapper.LibvirtMigrateCommandWrapper] 
(agentRequest-Handler-2:null) (logid:f56a1b2e) Waiting for migration of 
i-8-64-VM to complete, waited 5000ms
2024-02-13 15:22:26,937 INFO  [resource.wrapper.LibvirtMigrateCommandWrapper] 
(agentRequest-Handler-2:null) (logid:f56a1b2e) Waiting for migration of 
i-8-64-VM to complete, waited 6000ms
2024-02-13 15:22:27,938 INFO  [resource.wrapper.LibvirtMigrateCommandWrapper] 
(agentRequest-Handler-2:null) (logid:f56a1b2e) Waiting for migration of 
i-8-64-VM to complete, waited 7000ms
2024-02-13 15:22:28,940 INFO  [resource.wrapper.LibvirtMigrateCommandWrapper] 
(agentRequest-Handler-2:null) (logid:f56a1b2e) Waiting for migration of 
i-8-64-VM to complete, waited 8000ms
2024-02-13 15:22:29,942 INFO  [resource.wrapper.LibvirtMigrateCommandWrapper] 
(agentRequest-Handler-2:null) (logid:f56a1b2e) Waiting for migration of 
i-8-64-VM to complete, waited 9000ms

Or am I using the wrong one?

--
Jimmy

Van: Jimmy Huybrechts <ji...@linservers.com>
Datum: dinsdag, 13 februari 2024 om 15:20
Aan: users@cloudstack.apache.org <users@cloudstack.apache.org>
Onderwerp: Re: VM migration progress
I think you mean tail -f right?

Yeah like a progress bar on the webgui would be really nice but like you say 
that may not be so easy.

--
Jimmy

Van: Cloudstack Users <cloudstack-us...@answersingenesis.org.INVALID>
Datum: dinsdag, 13 februari 2024 om 14:52
Aan: users@cloudstack.apache.org <users@cloudstack.apache.org>
Onderwerp: Re: VM migration progress
You can see the progress by grepping the agent.log file for virt-v2v: tail -g 
agent.log | grep virt-v2v. This will give you an ouput of every % out of 100 
that it has completed. I think it would be nice if this was able to be put into 
a progress bar on the UI, but I am sure that would be harder to do than I think.



From: Jimmy Huybrechts <ji...@linservers.com>
Date: Tuesday, February 13, 2024 at 8:41 AM
To: users@cloudstack.apache.org <users@cloudstack.apache.org>
Subject: VM migration progress
Is there a way to see the progress of a VM migration?

I use local storage so of course this will take longer but I have a VM that has 
been migrating for over 1,5 hours, and the only thing I can see in the GUI is 
that it’s in progress and when it started.

--
Jimmy

Reply via email to