You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Nikita Gubenko <ni...@gmail.com> on 2013/04/23 01:59:30 UTC

can't change max.project.cpus

Hi
Im using 4.1 snapshot build and can't change max.project.cpus
2013-04-23 03:58:00,707 ERROR
[cloud.configuration.ConfigurationManagerImpl] (catalina-exec-18:null)
Missing configuration variable max.project.cpus in configuration table
2013-04-23 03:58:00,707 ERROR
[cloud.configuration.ConfigurationManagerImpl] (catalina-exec-18:null)
Invalid configuration option, name: max.project.cpus, value:100
2013-04-23 03:58:00,713 INFO  [cloud.api.ApiServer] (catalina-exec-18:null)
Invalid configuration variable.

Is it a bug?
Thanks

-- 
Best Regards, Nikita Gubenko

Re: can't change max.project.cpus

Posted by Alena Prokharchyk <Al...@citrix.com>.
On 4/23/13 10:30 AM, "Chip Childers" <ch...@sungard.com> wrote:

>On Tue, Apr 23, 2013 at 10:23:38AM -0700, Alena Prokharchyk wrote:
>> If the feature got shifted to 4.2, the global config updates should be
>> moved out from 4.0-4.1 upgrade path to 4.1-4.2
>
>Can you confirm that 799d906ac99cc739929dc64874b03acd66d68772 (in 4.1)
>resolves this for 4.1?
>
>
>


Yes, the commit should resolve the problem.


Re: can't change max.project.cpus

Posted by Chip Childers <ch...@sungard.com>.
On Tue, Apr 23, 2013 at 10:23:38AM -0700, Alena Prokharchyk wrote:
> If the feature got shifted to 4.2, the global config updates should be
> moved out from 4.0-4.1 upgrade path to 4.1-4.2

Can you confirm that 799d906ac99cc739929dc64874b03acd66d68772 (in 4.1)
resolves this for 4.1?



Re: can't change max.project.cpus

Posted by Alena Prokharchyk <Al...@citrix.com>.
If the feature got shifted to 4.2, the global config updates should be
moved out from 4.0-4.1 upgrade path to 4.1-4.2


On 4/23/13 2:07 AM, "Sanjay Tripathi" <sa...@citrix.com> wrote:

>This feature to limit CPU and Memory later got shifted for 4.2 but the
>entries are still there in account_view table and that is causing this
>issue. I will file a bug for the same and send a patch request for 4.1
>branch to the community.
>
>--Sanjay
>
>> -----Original Message-----
>> From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
>> Sent: Tuesday, April 23, 2013 9:38 AM
>> To: users@cloudstack.apache.org
>> Subject: RE: can't change max.project.cpus
>> 
>> Hi,
>> 
>> max.project.cpus  global config introduced as part of the feature
>>describe
>> here :
>> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Limit+Resources
>> +to+domains+and+accounts .
>> 
>> This is planned to be delivered in 4.2
>> :https://issues.apache.org/jira/browse/CLOUDSTACK-713 .
>> 
>> Sanjay,
>> 
>> Can you please confirm if this feature is partially committed to 4.1?
>> 
>> Thanks,
>> Sailaja.M
>> 
>> 
>> -----Original Message-----
>> From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
>> Sent: Tuesday, April 23, 2013 5:56 AM
>> To: users@cloudstack.apache.org
>> Subject: Re: can't change max.project.cpus
>> 
>> Looks like max.project.cpus global config is missing in your
>>cloud.config DB
>> table. It either comes with fresh 4.1 install, or gets inserted  as a
>>part of 4.0-
>> 4.1 DB upgrade by "schema-40to410.sql" .
>> 
>> I'm not sure how the code handles intermediate DB upgrades within the
>> same branch (4.1 in your case); and if it does at all. You might double
>>check
>> schema-40to410.sql and see what else is missing in your setup.
>> 
>> -Alena.
>> 
>> 
>> On 4/22/13 5:03 PM, "Nikita Gubenko" <ni...@gmail.com> wrote:
>> 
>> >It was 4.1 originally, but I've upgraded it several times to fresh 4.1
>> >snapshot
>> >
>> >
>> >On Tue, Apr 23, 2013 at 4:02 AM, Alena Prokharchyk <
>> >Alena.Prokharchyk@citrix.com> wrote:
>> >
>> >> Nikita, is it a freshly installed 4.1, or the upgraded version?
>> >>
>> >> On 4/22/13 4:59 PM, "Nikita Gubenko" <ni...@gmail.com>
>> wrote:
>> >>
>> >> >Hi
>> >> >Im using 4.1 snapshot build and can't change max.project.cpus
>> >> >2013-04-23 03:58:00,707 ERROR
>> >> >[cloud.configuration.ConfigurationManagerImpl]
>> >> >(catalina-exec-18:null) Missing configuration variable
>> >> >max.project.cpus in configuration table
>> >> >2013-04-23 03:58:00,707 ERROR
>> >> >[cloud.configuration.ConfigurationManagerImpl]
>> >> >(catalina-exec-18:null) Invalid configuration option, name:
>> >> >max.project.cpus, value:100
>> >> >2013-04-23 03:58:00,713 INFO  [cloud.api.ApiServer]
>> >> >(catalina-exec-18:null)
>> >> >Invalid configuration variable.
>> >> >
>> >> >Is it a bug?
>> >> >Thanks
>> >> >
>> >> >--
>> >> >Best Regards, Nikita Gubenko
>> >> >
>> >>
>> >>
>> >>
>> >
>> >
>> >--
>> >Best Regards, Nikita Gubenko
>> >
>> 
>
>



RE: can't change max.project.cpus

Posted by Sanjay Tripathi <sa...@citrix.com>.
This feature to limit CPU and Memory later got shifted for 4.2 but the entries are still there in account_view table and that is causing this issue. I will file a bug for the same and send a patch request for 4.1 branch to the community.

--Sanjay

> -----Original Message-----
> From: Sailaja Mada [mailto:sailaja.mada@citrix.com]
> Sent: Tuesday, April 23, 2013 9:38 AM
> To: users@cloudstack.apache.org
> Subject: RE: can't change max.project.cpus
> 
> Hi,
> 
> max.project.cpus  global config introduced as part of the feature describe
> here :
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Limit+Resources
> +to+domains+and+accounts .
> 
> This is planned to be delivered in 4.2
> :https://issues.apache.org/jira/browse/CLOUDSTACK-713 .
> 
> Sanjay,
> 
> Can you please confirm if this feature is partially committed to 4.1?
> 
> Thanks,
> Sailaja.M
> 
> 
> -----Original Message-----
> From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com]
> Sent: Tuesday, April 23, 2013 5:56 AM
> To: users@cloudstack.apache.org
> Subject: Re: can't change max.project.cpus
> 
> Looks like max.project.cpus global config is missing in your cloud.config DB
> table. It either comes with fresh 4.1 install, or gets inserted  as a part of 4.0-
> 4.1 DB upgrade by "schema-40to410.sql" .
> 
> I'm not sure how the code handles intermediate DB upgrades within the
> same branch (4.1 in your case); and if it does at all. You might double check
> schema-40to410.sql and see what else is missing in your setup.
> 
> -Alena.
> 
> 
> On 4/22/13 5:03 PM, "Nikita Gubenko" <ni...@gmail.com> wrote:
> 
> >It was 4.1 originally, but I've upgraded it several times to fresh 4.1
> >snapshot
> >
> >
> >On Tue, Apr 23, 2013 at 4:02 AM, Alena Prokharchyk <
> >Alena.Prokharchyk@citrix.com> wrote:
> >
> >> Nikita, is it a freshly installed 4.1, or the upgraded version?
> >>
> >> On 4/22/13 4:59 PM, "Nikita Gubenko" <ni...@gmail.com>
> wrote:
> >>
> >> >Hi
> >> >Im using 4.1 snapshot build and can't change max.project.cpus
> >> >2013-04-23 03:58:00,707 ERROR
> >> >[cloud.configuration.ConfigurationManagerImpl]
> >> >(catalina-exec-18:null) Missing configuration variable
> >> >max.project.cpus in configuration table
> >> >2013-04-23 03:58:00,707 ERROR
> >> >[cloud.configuration.ConfigurationManagerImpl]
> >> >(catalina-exec-18:null) Invalid configuration option, name:
> >> >max.project.cpus, value:100
> >> >2013-04-23 03:58:00,713 INFO  [cloud.api.ApiServer]
> >> >(catalina-exec-18:null)
> >> >Invalid configuration variable.
> >> >
> >> >Is it a bug?
> >> >Thanks
> >> >
> >> >--
> >> >Best Regards, Nikita Gubenko
> >> >
> >>
> >>
> >>
> >
> >
> >--
> >Best Regards, Nikita Gubenko
> >
> 


RE: can't change max.project.cpus

Posted by Sailaja Mada <sa...@citrix.com>.
Hi,

max.project.cpus  global config introduced as part of the feature describe here :  https://cwiki.apache.org/confluence/display/CLOUDSTACK/Limit+Resources+to+domains+and+accounts .

This is planned to be delivered in 4.2 :https://issues.apache.org/jira/browse/CLOUDSTACK-713 . 

Sanjay,

Can you please confirm if this feature is partially committed to 4.1?

Thanks,
Sailaja.M


-----Original Message-----
From: Alena Prokharchyk [mailto:Alena.Prokharchyk@citrix.com] 
Sent: Tuesday, April 23, 2013 5:56 AM
To: users@cloudstack.apache.org
Subject: Re: can't change max.project.cpus

Looks like max.project.cpus global config is missing in your cloud.config DB table. It either comes with fresh 4.1 install, or gets inserted  as a part of 4.0-4.1 DB upgrade by "schema-40to410.sql" .

I'm not sure how the code handles intermediate DB upgrades within the same branch (4.1 in your case); and if it does at all. You might double check schema-40to410.sql and see what else is missing in your setup.

-Alena.


On 4/22/13 5:03 PM, "Nikita Gubenko" <ni...@gmail.com> wrote:

>It was 4.1 originally, but I've upgraded it several times to fresh 4.1 
>snapshot
>
>
>On Tue, Apr 23, 2013 at 4:02 AM, Alena Prokharchyk < 
>Alena.Prokharchyk@citrix.com> wrote:
>
>> Nikita, is it a freshly installed 4.1, or the upgraded version?
>>
>> On 4/22/13 4:59 PM, "Nikita Gubenko" <ni...@gmail.com> wrote:
>>
>> >Hi
>> >Im using 4.1 snapshot build and can't change max.project.cpus
>> >2013-04-23 03:58:00,707 ERROR
>> >[cloud.configuration.ConfigurationManagerImpl] 
>> >(catalina-exec-18:null) Missing configuration variable 
>> >max.project.cpus in configuration table
>> >2013-04-23 03:58:00,707 ERROR
>> >[cloud.configuration.ConfigurationManagerImpl] 
>> >(catalina-exec-18:null) Invalid configuration option, name: 
>> >max.project.cpus, value:100
>> >2013-04-23 03:58:00,713 INFO  [cloud.api.ApiServer]
>> >(catalina-exec-18:null)
>> >Invalid configuration variable.
>> >
>> >Is it a bug?
>> >Thanks
>> >
>> >--
>> >Best Regards, Nikita Gubenko
>> >
>>
>>
>>
>
>
>--
>Best Regards, Nikita Gubenko
>



Re: can't change max.project.cpus

Posted by Alena Prokharchyk <Al...@citrix.com>.
Looks like max.project.cpus global config is missing in your cloud.config
DB table. It either comes with fresh 4.1 install, or gets inserted  as a
part of 4.0-4.1 DB upgrade by "schema-40to410.sql" .

I'm not sure how the code handles intermediate DB upgrades within the same
branch (4.1 in your case); and if it does at all. You might double check
schema-40to410.sql and see what else is missing in your setup.

-Alena.


On 4/22/13 5:03 PM, "Nikita Gubenko" <ni...@gmail.com> wrote:

>It was 4.1 originally, but I've upgraded it several times to fresh 4.1
>snapshot
>
>
>On Tue, Apr 23, 2013 at 4:02 AM, Alena Prokharchyk <
>Alena.Prokharchyk@citrix.com> wrote:
>
>> Nikita, is it a freshly installed 4.1, or the upgraded version?
>>
>> On 4/22/13 4:59 PM, "Nikita Gubenko" <ni...@gmail.com> wrote:
>>
>> >Hi
>> >Im using 4.1 snapshot build and can't change max.project.cpus
>> >2013-04-23 03:58:00,707 ERROR
>> >[cloud.configuration.ConfigurationManagerImpl] (catalina-exec-18:null)
>> >Missing configuration variable max.project.cpus in configuration table
>> >2013-04-23 03:58:00,707 ERROR
>> >[cloud.configuration.ConfigurationManagerImpl] (catalina-exec-18:null)
>> >Invalid configuration option, name: max.project.cpus, value:100
>> >2013-04-23 03:58:00,713 INFO  [cloud.api.ApiServer]
>> >(catalina-exec-18:null)
>> >Invalid configuration variable.
>> >
>> >Is it a bug?
>> >Thanks
>> >
>> >--
>> >Best Regards, Nikita Gubenko
>> >
>>
>>
>>
>
>
>-- 
>Best Regards, Nikita Gubenko
>



Re: can't change max.project.cpus

Posted by Nikita Gubenko <ni...@gmail.com>.
It was 4.1 originally, but I've upgraded it several times to fresh 4.1
snapshot


On Tue, Apr 23, 2013 at 4:02 AM, Alena Prokharchyk <
Alena.Prokharchyk@citrix.com> wrote:

> Nikita, is it a freshly installed 4.1, or the upgraded version?
>
> On 4/22/13 4:59 PM, "Nikita Gubenko" <ni...@gmail.com> wrote:
>
> >Hi
> >Im using 4.1 snapshot build and can't change max.project.cpus
> >2013-04-23 03:58:00,707 ERROR
> >[cloud.configuration.ConfigurationManagerImpl] (catalina-exec-18:null)
> >Missing configuration variable max.project.cpus in configuration table
> >2013-04-23 03:58:00,707 ERROR
> >[cloud.configuration.ConfigurationManagerImpl] (catalina-exec-18:null)
> >Invalid configuration option, name: max.project.cpus, value:100
> >2013-04-23 03:58:00,713 INFO  [cloud.api.ApiServer]
> >(catalina-exec-18:null)
> >Invalid configuration variable.
> >
> >Is it a bug?
> >Thanks
> >
> >--
> >Best Regards, Nikita Gubenko
> >
>
>
>


-- 
Best Regards, Nikita Gubenko

Re: can't change max.project.cpus

Posted by Alena Prokharchyk <Al...@citrix.com>.
Nikita, is it a freshly installed 4.1, or the upgraded version?

On 4/22/13 4:59 PM, "Nikita Gubenko" <ni...@gmail.com> wrote:

>Hi
>Im using 4.1 snapshot build and can't change max.project.cpus
>2013-04-23 03:58:00,707 ERROR
>[cloud.configuration.ConfigurationManagerImpl] (catalina-exec-18:null)
>Missing configuration variable max.project.cpus in configuration table
>2013-04-23 03:58:00,707 ERROR
>[cloud.configuration.ConfigurationManagerImpl] (catalina-exec-18:null)
>Invalid configuration option, name: max.project.cpus, value:100
>2013-04-23 03:58:00,713 INFO  [cloud.api.ApiServer]
>(catalina-exec-18:null)
>Invalid configuration variable.
>
>Is it a bug?
>Thanks
>
>-- 
>Best Regards, Nikita Gubenko
>