You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Piotr Pisz <pi...@piszki.pl> on 2023/01/14 18:39:10 UTC
sysvm live migration 4.17.2
Hi,
After upgrading CS from 4.17.0 to 4.17.2 I have a strange symptom, live migration system vm is not working. It ends with the message:
Exception during migrate: org.libvirt.LibvirtException: Cannot access storage file '/usr/share/cloudstack-common/vms/systemvm.iso': No such file or directory
In the directory it looks like this:
[root@psc1 vms]# ls -l
razem 281080
-rw-r--r-- 1 root root 98871867 12-14 06:55 agent.zip
-rw-r--r-- 1 root root 136442 12-14 06:55 cloud-scripts.tgz
-rw-r--r-- 1 root root 4452 12-14 06:55 patch-sysvms.sh
-rw-r--r-- 1 root root 94400512 2021-11-24 systemvm.iso.bak
-rw-r--r-- 1 root root 94404608 2021-11-21 systemvm.iso.bak~
Other than that, everything works as expected, I managed to path the system vm version from 4.16 to 4.17 without any problems.
Any suggestions? 😊
Best regards,
Piotr
RE: sysvm live migration 4.17.2
Posted by Piotr Pisz <pi...@piszki.pl>.
Hey,
That's right, recreating systemvm fixed the problem.
Regards,
Piotr
-----Original Message-----
From: Rohit Yadav <ro...@shapeblue.com>
Sent: Tuesday, January 17, 2023 8:59 AM
To: users@cloudstack.apache.org
Subject: Re: sysvm live migration 4.17.2
Hi Piotr,
You've hit a bug, wherein somehow the systemvm.iso wasn't ejected for the 4.17.0.0 systemvm. You can either do it manually on the KVM host (virsh change-media <domain name> <path such as hdb> --eject) or you can restart the network with cleanup=true or in case of systemvms just destroy them.
Regards.
________________________________
From: Wei ZHOU <us...@gmail.com>
Sent: Sunday, January 15, 2023 04:09
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: sysvm live migration 4.17.2
Looks like a bug.
systemvm.iso does not exist on 4.17+, it should be ejected when you patched the system vms.
Can you retry after ejecting iso by "virsh change-media" ?
-Wei
On Saturday, 14 January 2023, Piotr Pisz <pi...@piszki.pl> wrote:
> Hi,
>
> After upgrading CS from 4.17.0 to 4.17.2 I have a strange symptom,
> live migration system vm is not working. It ends with the message:
>
> Exception during migrate: org.libvirt.LibvirtException: Cannot access
> storage file '/usr/share/cloudstack-common/vms/systemvm.iso': No such
> file or directory
>
> In the directory it looks like this:
>
> [root@psc1 vms]# ls -l
> razem 281080
> -rw-r--r-- 1 root root 98871867 12-14 06:55 agent.zip
> -rw-r--r-- 1 root root 136442 12-14 06:55 cloud-scripts.tgz
> -rw-r--r-- 1 root root 4452 12-14 06:55 patch-sysvms.sh
> -rw-r--r-- 1 root root 94400512 2021-11-24 systemvm.iso.bak
> -rw-r--r-- 1 root root 94404608 2021-11-21 systemvm.iso.bak~
>
> Other than that, everything works as expected, I managed to path the
> system vm version from 4.16 to 4.17 without any problems.
>
> Any suggestions? 😊
>
> Best regards,
> Piotr
>
>
Re: sysvm live migration 4.17.2
Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Piotr,
You've hit a bug, wherein somehow the systemvm.iso wasn't ejected for the 4.17.0.0 systemvm. You can either do it manually on the KVM host (virsh change-media <domain name> <path such as hdb> --eject) or you can restart the network with cleanup=true or in case of systemvms just destroy them.
Regards.
________________________________
From: Wei ZHOU <us...@gmail.com>
Sent: Sunday, January 15, 2023 04:09
To: users@cloudstack.apache.org <us...@cloudstack.apache.org>
Subject: Re: sysvm live migration 4.17.2
Looks like a bug.
systemvm.iso does not exist on 4.17+, it should be ejected when you
patched the system vms.
Can you retry after ejecting iso by "virsh change-media" ?
-Wei
On Saturday, 14 January 2023, Piotr Pisz <pi...@piszki.pl> wrote:
> Hi,
>
> After upgrading CS from 4.17.0 to 4.17.2 I have a strange symptom, live
> migration system vm is not working. It ends with the message:
>
> Exception during migrate: org.libvirt.LibvirtException: Cannot access
> storage file '/usr/share/cloudstack-common/vms/systemvm.iso': No such
> file or directory
>
> In the directory it looks like this:
>
> [root@psc1 vms]# ls -l
> razem 281080
> -rw-r--r-- 1 root root 98871867 12-14 06:55 agent.zip
> -rw-r--r-- 1 root root 136442 12-14 06:55 cloud-scripts.tgz
> -rw-r--r-- 1 root root 4452 12-14 06:55 patch-sysvms.sh
> -rw-r--r-- 1 root root 94400512 2021-11-24 systemvm.iso.bak
> -rw-r--r-- 1 root root 94404608 2021-11-21 systemvm.iso.bak~
>
> Other than that, everything works as expected, I managed to path the
> system vm version from 4.16 to 4.17 without any problems.
>
> Any suggestions? 😊
>
> Best regards,
> Piotr
>
>
Re: sysvm live migration 4.17.2
Posted by Wei ZHOU <us...@gmail.com>.
Looks like a bug.
systemvm.iso does not exist on 4.17+, it should be ejected when you
patched the system vms.
Can you retry after ejecting iso by "virsh change-media" ?
-Wei
On Saturday, 14 January 2023, Piotr Pisz <pi...@piszki.pl> wrote:
> Hi,
>
> After upgrading CS from 4.17.0 to 4.17.2 I have a strange symptom, live
> migration system vm is not working. It ends with the message:
>
> Exception during migrate: org.libvirt.LibvirtException: Cannot access
> storage file '/usr/share/cloudstack-common/vms/systemvm.iso': No such
> file or directory
>
> In the directory it looks like this:
>
> [root@psc1 vms]# ls -l
> razem 281080
> -rw-r--r-- 1 root root 98871867 12-14 06:55 agent.zip
> -rw-r--r-- 1 root root 136442 12-14 06:55 cloud-scripts.tgz
> -rw-r--r-- 1 root root 4452 12-14 06:55 patch-sysvms.sh
> -rw-r--r-- 1 root root 94400512 2021-11-24 systemvm.iso.bak
> -rw-r--r-- 1 root root 94404608 2021-11-21 systemvm.iso.bak~
>
> Other than that, everything works as expected, I managed to path the
> system vm version from 4.16 to 4.17 without any problems.
>
> Any suggestions? 😊
>
> Best regards,
> Piotr
>
>