You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Hean Seng <he...@gmail.com> on 2021/09/20 01:25:17 UTC
Adding OS Type
Hi
Is there any way to add OS Type in ACS template ? Currently using 4.15
We need to add in as new OS is coming out , eg Debian 11, Ubuntu 20 etc.
--
Regards,
Hean Seng
Re: Adding OS Type
Posted by Hean Seng <he...@gmail.com>.
So recommendation is choose , Debian 10 Os Type, but the OS is on Debian
11 ?
On Thu, Sep 23, 2021 at 4:35 PM Andrija Panic <an...@gmail.com>
wrote:
> When you add a new OS type to ACS - your upgrade to next ACS version will
> break (due to DB IDs being hardcoded in the upgrade paths/files)
>
> DO NOT add a new OS type, unless your hypervisor has introduced some major
> improvements in e.g. Ubuntu 20 vs Ubuntu 18 - just use the newest OS type
> (if really installing Ubuntu 20.04, then use e.g. 18.04)
>
> Consider yourself warned in regards to failure in future upgrades :)
>
> Best,
>
> On Wed, 22 Sept 2021 at 22:34, Wei ZHOU <us...@gmail.com> wrote:
>
> > Hi Hean,
> >
> > The details are not applicable for kvm. I do not know why it is required.
> > you can use the same details as other guest os
> >
> > xenserver.dynamicMin = 536870912
> > xenserver.dynamicMax = 137438953472
> >
> > I suggest you NOT add a new guest os if you use 4.15.0.0 or older
> versions,
> > because the upgrade sql from 4.15.0.0 to 4.15.1.0 have hardcoded id for
> > some guest os.
> > no issue with 4.15.1.0 or 4.15.2.0.
> >
> > -Wei
> >
> > On Wed, 22 Sept 2021 at 22:09, Hean Seng <he...@gmail.com> wrote:
> >
> > > Hi
> > >
> > > Do you know what is addGuestOS Details (*Map of (key/value pairs))**.
> > > *refer
> > > to?
> > >
> > > This compulsory field, and do not know what it means . I am using KVM
> ,
> > > the API doc did not explain on i t.
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On Mon, Sep 20, 2021 at 3:48 PM Hean Seng <he...@gmail.com> wrote:
> > >
> > > > How about is that possible to change the OSType for existing
> > > > Uploaed Template.
> > > >
> > > > Currently we upload Ubuntu 20 type Other Ubuntu , after added the
> New
> > > > OS, with to change to Proper OS Type
> > > >
> > > > On Mon, Sep 20, 2021 at 3:46 PM Hean Seng <he...@gmail.com>
> wrote:
> > > >
> > > >> Thanks for this info. Overlook on this API.
> > > >>
> > > >> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland <
> > daan.hoogland@gmail.com>
> > > >> wrote:
> > > >>
> > > >>> yes, there are some APIs to aid with that:
> > > >>> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOs.html
> > > >>>
> > >
> >
> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOsMapping.html
> > > >>>
> > > >>> On Mon, Sep 20, 2021 at 3:25 AM Hean Seng <he...@gmail.com>
> > wrote:
> > > >>>
> > > >>> > Hi
> > > >>> >
> > > >>> > Is there any way to add OS Type in ACS template ? Currently
> using
> > > >>> 4.15
> > > >>> >
> > > >>> > We need to add in as new OS is coming out , eg Debian 11,
> Ubuntu
> > 20
> > > >>> etc.
> > > >>> >
> > > >>> >
> > > >>> > --
> > > >>> > Regards,
> > > >>> > Hean Seng
> > > >>> >
> > > >>>
> > > >>>
> > > >>> --
> > > >>> Daan
> > > >>>
> > > >>
> > > >>
> > > >> --
> > > >> Regards,
> > > >> Hean Seng
> > > >>
> > > >
> > > >
> > > > --
> > > > Regards,
> > > > Hean Seng
> > > >
> > >
> > >
> > > --
> > > Regards,
> > > Hean Seng
> > >
> >
>
>
> --
>
> Andrija Panić
>
--
Regards,
Hean Seng
Re: Adding OS Type
Posted by Andrija Panic <an...@gmail.com>.
When you add a new OS type to ACS - your upgrade to next ACS version will
break (due to DB IDs being hardcoded in the upgrade paths/files)
DO NOT add a new OS type, unless your hypervisor has introduced some major
improvements in e.g. Ubuntu 20 vs Ubuntu 18 - just use the newest OS type
(if really installing Ubuntu 20.04, then use e.g. 18.04)
Consider yourself warned in regards to failure in future upgrades :)
Best,
On Wed, 22 Sept 2021 at 22:34, Wei ZHOU <us...@gmail.com> wrote:
> Hi Hean,
>
> The details are not applicable for kvm. I do not know why it is required.
> you can use the same details as other guest os
>
> xenserver.dynamicMin = 536870912
> xenserver.dynamicMax = 137438953472
>
> I suggest you NOT add a new guest os if you use 4.15.0.0 or older versions,
> because the upgrade sql from 4.15.0.0 to 4.15.1.0 have hardcoded id for
> some guest os.
> no issue with 4.15.1.0 or 4.15.2.0.
>
> -Wei
>
> On Wed, 22 Sept 2021 at 22:09, Hean Seng <he...@gmail.com> wrote:
>
> > Hi
> >
> > Do you know what is addGuestOS Details (*Map of (key/value pairs))**.
> > *refer
> > to?
> >
> > This compulsory field, and do not know what it means . I am using KVM ,
> > the API doc did not explain on i t.
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Sep 20, 2021 at 3:48 PM Hean Seng <he...@gmail.com> wrote:
> >
> > > How about is that possible to change the OSType for existing
> > > Uploaed Template.
> > >
> > > Currently we upload Ubuntu 20 type Other Ubuntu , after added the New
> > > OS, with to change to Proper OS Type
> > >
> > > On Mon, Sep 20, 2021 at 3:46 PM Hean Seng <he...@gmail.com> wrote:
> > >
> > >> Thanks for this info. Overlook on this API.
> > >>
> > >> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland <
> daan.hoogland@gmail.com>
> > >> wrote:
> > >>
> > >>> yes, there are some APIs to aid with that:
> > >>> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOs.html
> > >>>
> >
> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOsMapping.html
> > >>>
> > >>> On Mon, Sep 20, 2021 at 3:25 AM Hean Seng <he...@gmail.com>
> wrote:
> > >>>
> > >>> > Hi
> > >>> >
> > >>> > Is there any way to add OS Type in ACS template ? Currently using
> > >>> 4.15
> > >>> >
> > >>> > We need to add in as new OS is coming out , eg Debian 11, Ubuntu
> 20
> > >>> etc.
> > >>> >
> > >>> >
> > >>> > --
> > >>> > Regards,
> > >>> > Hean Seng
> > >>> >
> > >>>
> > >>>
> > >>> --
> > >>> Daan
> > >>>
> > >>
> > >>
> > >> --
> > >> Regards,
> > >> Hean Seng
> > >>
> > >
> > >
> > > --
> > > Regards,
> > > Hean Seng
> > >
> >
> >
> > --
> > Regards,
> > Hean Seng
> >
>
--
Andrija Panić
Re: Adding OS Type
Posted by Wei ZHOU <us...@gmail.com>.
Hi Hean,
The details are not applicable for kvm. I do not know why it is required.
you can use the same details as other guest os
xenserver.dynamicMin = 536870912
xenserver.dynamicMax = 137438953472
I suggest you NOT add a new guest os if you use 4.15.0.0 or older versions,
because the upgrade sql from 4.15.0.0 to 4.15.1.0 have hardcoded id for
some guest os.
no issue with 4.15.1.0 or 4.15.2.0.
-Wei
On Wed, 22 Sept 2021 at 22:09, Hean Seng <he...@gmail.com> wrote:
> Hi
>
> Do you know what is addGuestOS Details (*Map of (key/value pairs))**.
> *refer
> to?
>
> This compulsory field, and do not know what it means . I am using KVM ,
> the API doc did not explain on i t.
>
>
>
>
>
>
>
> On Mon, Sep 20, 2021 at 3:48 PM Hean Seng <he...@gmail.com> wrote:
>
> > How about is that possible to change the OSType for existing
> > Uploaed Template.
> >
> > Currently we upload Ubuntu 20 type Other Ubuntu , after added the New
> > OS, with to change to Proper OS Type
> >
> > On Mon, Sep 20, 2021 at 3:46 PM Hean Seng <he...@gmail.com> wrote:
> >
> >> Thanks for this info. Overlook on this API.
> >>
> >> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland <da...@gmail.com>
> >> wrote:
> >>
> >>> yes, there are some APIs to aid with that:
> >>> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOs.html
> >>>
> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOsMapping.html
> >>>
> >>> On Mon, Sep 20, 2021 at 3:25 AM Hean Seng <he...@gmail.com> wrote:
> >>>
> >>> > Hi
> >>> >
> >>> > Is there any way to add OS Type in ACS template ? Currently using
> >>> 4.15
> >>> >
> >>> > We need to add in as new OS is coming out , eg Debian 11, Ubuntu 20
> >>> etc.
> >>> >
> >>> >
> >>> > --
> >>> > Regards,
> >>> > Hean Seng
> >>> >
> >>>
> >>>
> >>> --
> >>> Daan
> >>>
> >>
> >>
> >> --
> >> Regards,
> >> Hean Seng
> >>
> >
> >
> > --
> > Regards,
> > Hean Seng
> >
>
>
> --
> Regards,
> Hean Seng
>
Re: Adding OS Type
Posted by Hean Seng <he...@gmail.com>.
Hi
Do you know what is addGuestOS Details (*Map of (key/value pairs))**. *refer
to?
This compulsory field, and do not know what it means . I am using KVM ,
the API doc did not explain on i t.
On Mon, Sep 20, 2021 at 3:48 PM Hean Seng <he...@gmail.com> wrote:
> How about is that possible to change the OSType for existing
> Uploaed Template.
>
> Currently we upload Ubuntu 20 type Other Ubuntu , after added the New
> OS, with to change to Proper OS Type
>
> On Mon, Sep 20, 2021 at 3:46 PM Hean Seng <he...@gmail.com> wrote:
>
>> Thanks for this info. Overlook on this API.
>>
>> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland <da...@gmail.com>
>> wrote:
>>
>>> yes, there are some APIs to aid with that:
>>> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOs.html
>>> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOsMapping.html
>>>
>>> On Mon, Sep 20, 2021 at 3:25 AM Hean Seng <he...@gmail.com> wrote:
>>>
>>> > Hi
>>> >
>>> > Is there any way to add OS Type in ACS template ? Currently using
>>> 4.15
>>> >
>>> > We need to add in as new OS is coming out , eg Debian 11, Ubuntu 20
>>> etc.
>>> >
>>> >
>>> > --
>>> > Regards,
>>> > Hean Seng
>>> >
>>>
>>>
>>> --
>>> Daan
>>>
>>
>>
>> --
>> Regards,
>> Hean Seng
>>
>
>
> --
> Regards,
> Hean Seng
>
--
Regards,
Hean Seng
Re: Adding OS Type
Posted by Hean Seng <he...@gmail.com>.
How about is that possible to change the OSType for existing
Uploaed Template.
Currently we upload Ubuntu 20 type Other Ubuntu , after added the New OS,
with to change to Proper OS Type
On Mon, Sep 20, 2021 at 3:46 PM Hean Seng <he...@gmail.com> wrote:
> Thanks for this info. Overlook on this API.
>
> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland <da...@gmail.com>
> wrote:
>
>> yes, there are some APIs to aid with that:
>> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOs.html
>> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOsMapping.html
>>
>> On Mon, Sep 20, 2021 at 3:25 AM Hean Seng <he...@gmail.com> wrote:
>>
>> > Hi
>> >
>> > Is there any way to add OS Type in ACS template ? Currently using 4.15
>> >
>> > We need to add in as new OS is coming out , eg Debian 11, Ubuntu 20
>> etc.
>> >
>> >
>> > --
>> > Regards,
>> > Hean Seng
>> >
>>
>>
>> --
>> Daan
>>
>
>
> --
> Regards,
> Hean Seng
>
--
Regards,
Hean Seng
Re: Adding OS Type
Posted by Hean Seng <he...@gmail.com>.
Thanks for this info. Overlook on this API.
On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland <da...@gmail.com>
wrote:
> yes, there are some APIs to aid with that:
> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOs.html
> http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOsMapping.html
>
> On Mon, Sep 20, 2021 at 3:25 AM Hean Seng <he...@gmail.com> wrote:
>
> > Hi
> >
> > Is there any way to add OS Type in ACS template ? Currently using 4.15
> >
> > We need to add in as new OS is coming out , eg Debian 11, Ubuntu 20
> etc.
> >
> >
> > --
> > Regards,
> > Hean Seng
> >
>
>
> --
> Daan
>
--
Regards,
Hean Seng
Re: Adding OS Type
Posted by Daan Hoogland <da...@gmail.com>.
yes, there are some APIs to aid with that:
http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOs.html
http://cloudstack.apache.org/api/apidocs-4.15/apis/addGuestOsMapping.html
On Mon, Sep 20, 2021 at 3:25 AM Hean Seng <he...@gmail.com> wrote:
> Hi
>
> Is there any way to add OS Type in ACS template ? Currently using 4.15
>
> We need to add in as new OS is coming out , eg Debian 11, Ubuntu 20 etc.
>
>
> --
> Regards,
> Hean Seng
>
--
Daan