Re: Adding OS Type

2021-09-23 Thread Hean Seng
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 
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  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  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  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 
> wrote:
> > > >
> > > >> Thanks for this info.  Overlook on this API.
> > > >>
> > > >> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland <
> > daan.hoogl...@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 
> > 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

2021-09-23 Thread Andrija Panic
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  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  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  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  wrote:
> > >
> > >> Thanks for this info.  Overlook on this API.
> > >>
> > >> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland <
> daan.hoogl...@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 
> 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

2021-09-22 Thread Wei ZHOU
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  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  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  wrote:
> >
> >> Thanks for this info.  Overlook on this API.
> >>
> >> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland 
> >> 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  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

2021-09-22 Thread Hean Seng
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  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  wrote:
>
>> Thanks for this info.  Overlook on this API.
>>
>> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland 
>> 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  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

2021-09-20 Thread Hean Seng
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  wrote:

> Thanks for this info.  Overlook on this API.
>
> On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland 
> 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  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

2021-09-20 Thread Hean Seng
Thanks for this info.  Overlook on this API.

On Mon, Sep 20, 2021 at 2:13 PM Daan Hoogland 
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  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

2021-09-20 Thread Daan Hoogland
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  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


Adding OS Type

2021-09-19 Thread Hean Seng
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