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:[email protected]] > Sent: Tuesday, April 23, 2013 9:38 AM > To: [email protected] > 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:[email protected]] > Sent: Tuesday, April 23, 2013 5:56 AM > To: [email protected] > 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" <[email protected]> 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 < > >[email protected]> wrote: > > > >> Nikita, is it a freshly installed 4.1, or the upgraded version? > >> > >> On 4/22/13 4:59 PM, "Nikita Gubenko" <[email protected]> > 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 > > >
