RE: delete old SystemVM Templates

2024-03-04 Thread Gabriel Ortiga Fernandes
Hello Swen,

As mentioned, you can delete it by changing the type to USER. Additionally, 
this Pull Request: (https://github.com/apache/cloudstack/pull/8556) aims to add 
a new parameter to the 'deleteTemplate' API to allow these templates to be 
deletable without needing the extra step.

Kind regards, GaOrtiga.


AW: delete old SystemVM Templates

2024-02-28 Thread me
Thx again, Wei!

-Ursprüngliche Nachricht-
Von: Wei ZHOU  
Gesendet: Dienstag, 27. Februar 2024 20:39
An: users@cloudstack.apache.org
Betreff: Re: delete old SystemVM Templates

No, you are free to remove any template which is not used any more.
for SYSTEM templates, there is a check to guard the templates to be removed by 
mistake. so you need to change the type to USER then remove it.

-Wei

On Tue, Feb 27, 2024 at 5:04 PM  wrote:

> Thx! Is there any reason to keep old templates when no instance is 
> using it anymore?
>
> -Ursprüngliche Nachricht-
> Von: Wei ZHOU 
> Gesendet: Dienstag, 27. Februar 2024 16:58
> An: users@cloudstack.apache.org
> Betreff: Re: delete old SystemVM Templates
>
> if it is not needed, of course you can remove it
> - update template type to USER
> - delete the template from zones
>
>
> -Wei
>
> On Tue, Feb 27, 2024 at 4:56 PM  wrote:
>
> > Hello,
> >
> > is it possible to delete old, not used anymore, SystemVM Templates 
> > via
> UI?
> > And does it make sense to delete them?
> >
> > After upgrading from 4.18.1.0 to 4.19.0.0 we do have 2 systemvm 
> > templates registered (as expected) in our CS. The first one is 
> > called "SystemVM Template (KVM)" and the other one is called
> "systemvm-kvm-4.19.0".
> >
> > router.template.kvm points to the new systemvm-kvm-4.19.0 one.
> > SystemVM Template (KVM) is not being used by any instance and/or 
> > router. When I try to delete it via UI, I get: "Error The DomR 
> > template cannot be deleted." I did not try to force it.
> >
> > Should you cleaup your templates or do you just leave it there?
> >
> >
> >
> > Regards,
> >
> > Swen
> >
> >
>
>
>




Re: delete old SystemVM Templates

2024-02-27 Thread Wei ZHOU
No, you are free to remove any template which is not used any more.
for SYSTEM templates, there is a check to guard the templates to be removed
by mistake. so you need to change the type to USER then remove it.

-Wei

On Tue, Feb 27, 2024 at 5:04 PM  wrote:

> Thx! Is there any reason to keep old templates when no instance is using
> it anymore?
>
> -Ursprüngliche Nachricht-
> Von: Wei ZHOU 
> Gesendet: Dienstag, 27. Februar 2024 16:58
> An: users@cloudstack.apache.org
> Betreff: Re: delete old SystemVM Templates
>
> if it is not needed, of course you can remove it
> - update template type to USER
> - delete the template from zones
>
>
> -Wei
>
> On Tue, Feb 27, 2024 at 4:56 PM  wrote:
>
> > Hello,
> >
> > is it possible to delete old, not used anymore, SystemVM Templates via
> UI?
> > And does it make sense to delete them?
> >
> > After upgrading from 4.18.1.0 to 4.19.0.0 we do have 2 systemvm
> > templates registered (as expected) in our CS. The first one is called
> > "SystemVM Template (KVM)" and the other one is called
> "systemvm-kvm-4.19.0".
> >
> > router.template.kvm points to the new systemvm-kvm-4.19.0 one.
> > SystemVM Template (KVM) is not being used by any instance and/or
> > router. When I try to delete it via UI, I get: "Error The DomR
> > template cannot be deleted." I did not try to force it.
> >
> > Should you cleaup your templates or do you just leave it there?
> >
> >
> >
> > Regards,
> >
> > Swen
> >
> >
>
>
>


AW: delete old SystemVM Templates

2024-02-27 Thread me
Thx! Is there any reason to keep old templates when no instance is using it 
anymore?

-Ursprüngliche Nachricht-
Von: Wei ZHOU  
Gesendet: Dienstag, 27. Februar 2024 16:58
An: users@cloudstack.apache.org
Betreff: Re: delete old SystemVM Templates

if it is not needed, of course you can remove it
- update template type to USER
- delete the template from zones


-Wei

On Tue, Feb 27, 2024 at 4:56 PM  wrote:

> Hello,
>
> is it possible to delete old, not used anymore, SystemVM Templates via UI?
> And does it make sense to delete them?
>
> After upgrading from 4.18.1.0 to 4.19.0.0 we do have 2 systemvm 
> templates registered (as expected) in our CS. The first one is called 
> "SystemVM Template (KVM)" and the other one is called "systemvm-kvm-4.19.0".
>
> router.template.kvm points to the new systemvm-kvm-4.19.0 one. 
> SystemVM Template (KVM) is not being used by any instance and/or 
> router. When I try to delete it via UI, I get: "Error The DomR 
> template cannot be deleted." I did not try to force it.
>
> Should you cleaup your templates or do you just leave it there?
>
>
>
> Regards,
>
> Swen
>
>




Re: delete old SystemVM Templates

2024-02-27 Thread Wei ZHOU
if it is not needed, of course you can remove it
- update template type to USER
- delete the template from zones


-Wei

On Tue, Feb 27, 2024 at 4:56 PM  wrote:

> Hello,
>
> is it possible to delete old, not used anymore, SystemVM Templates via UI?
> And does it make sense to delete them?
>
> After upgrading from 4.18.1.0 to 4.19.0.0 we do have 2 systemvm templates
> registered (as expected) in our CS. The first one is called "SystemVM
> Template (KVM)" and the other one is called "systemvm-kvm-4.19.0".
>
> router.template.kvm points to the new systemvm-kvm-4.19.0 one. SystemVM
> Template (KVM) is not being used by any instance and/or router. When I try
> to delete it via UI, I get: "Error The DomR template cannot be deleted." I
> did not try to force it.
>
> Should you cleaup your templates or do you just leave it there?
>
>
>
> Regards,
>
> Swen
>
>


delete old SystemVM Templates

2024-02-27 Thread me
Hello,

is it possible to delete old, not used anymore, SystemVM Templates via UI?
And does it make sense to delete them?

After upgrading from 4.18.1.0 to 4.19.0.0 we do have 2 systemvm templates
registered (as expected) in our CS. The first one is called "SystemVM
Template (KVM)" and the other one is called "systemvm-kvm-4.19.0".

router.template.kvm points to the new systemvm-kvm-4.19.0 one. SystemVM
Template (KVM) is not being used by any instance and/or router. When I try
to delete it via UI, I get: "Error The DomR template cannot be deleted." I
did not try to force it.

Should you cleaup your templates or do you just leave it there?

 

Regards,

Swen