Hi Ruben, 212 is indeed that kvm-default-vm-import-dummy-template.
mine are coming from KVM, not vmware. So seems like a bug? Is there a way to change the template it uses manually? The one I tried to migrate is Debian 12 for example. -- Jimmy Van: Ruben Bosch <ruben.bo...@cldin.eu> Datum: maandag, 25 maart 2024 om 05:28 Aan: users@cloudstack.apache.org <users@cloudstack.apache.org> Onderwerp: Re: Migrate migrated instance to another host Hm I've not seen this template name before but in the code I see it's to do with instances coming from vmware. To determine what the template is you can execute this on the mysql server: select * from vm_template where id = 212; On Sun, Mar 24, 2024 at 10:25 PM Jimmy Huybrechts <ji...@linservers.com> wrote: > Hi Ruben, > > I did not, seems like that is because of how migrated vm’s work, they all > get the template named “kvm-default-vm-import-dummy-template”, I haven’t > removed any templates. > > Not sure how I can see what template 212 is but I guess it’s that dummy > template, which I guess does not exist since it’s called dummy? > > -- > Jimmy > > Van: Ruben Bosch <ruben.bo...@cldin.eu> > Datum: zondag, 24 maart 2024 om 20:24 > Aan: users@cloudstack.apache.org <users@cloudstack.apache.org> > Onderwerp: Re: Migrate migrated instance to another host > Did you delete the template? "template 212 is not in store:2" > > On Sun, Mar 24, 2024 at 12:47 AM Jimmy Huybrechts <ji...@linservers.com> > wrote: > > > Hi Wei, > > > > > > > > See attached error log from when trying to migrate a vm that was migrated > > before from the standalone host. > > > > > > > > -- > > > > Jimmy > > > > > > > > *Van: *Wei ZHOU <ustcweiz...@gmail.com> > > *Datum: *zaterdag, 23 maart 2024 om 10:14 > > *Aan: *users@cloudstack.apache.org <users@cloudstack.apache.org> > > *Onderwerp: *Re: Migrate migrated instance to another host > > > > Hi, > > > > /var/log/cloudstack/management/management-server.log > > please note the log file is rotated everyday. > > > > -Wei > > > > On Sat, Mar 23, 2024 at 9:34 AM Jimmy Huybrechts <ji...@linservers.com> > > wrote: > > > > > > Hi Wei, > > > > > > I can, if you tell me where to look as I couldn’t find anything on them > > in the logs. > > > > > > -- > > > Jimmy > > > > > > Van: Wei ZHOU <ustcweiz...@gmail.com> > > > Datum: vrijdag, 22 maart 2024 om 16:15 > > > Aan: users@cloudstack.apache.org <users@cloudstack.apache.org> > > > Onderwerp: Re: Migrate migrated instance to another host > > > Can you share the logs of vm migration and vm import ? > > > > > > > > > On Fri, Mar 22, 2024 at 3:55 PM Jimmy Huybrechts <ji...@linservers.com > > > > wrote: > > > > > > > > I’ve migrated vm’s from a remote KVM host which worked fine and they > > run on Cloudstack now. > > > > > > > > However, I just tried migrating one from one cloudstack host to > > another, just like with instances made from a cloudstack host and it’s > not > > moving but ending up with an error. > > > > > > > > This is displayed in the webgui: > > > > Failed to migrate VM [VM instance > > > {"id":109,"instanceName":"i-8-108-VM","type":"User","uuid":"2fbb0d84-7ea2-4092-aa5d-25a53eb3cda2"}] > > along with its volumes due to [java.lang.NullPointerException]. > > > > > > > > Now I’m trying to see in what log the complete error would be but I’m > > coming up blank on which log I need. > > > > > > > > Instances created natively in Cloudstack are migrating just fine, > it’s > > only the ones that came from the remote KVM host before. > > > > > > > > -- > > > > Jimmy > > >