Yes, this logic won’t work, scoped configuration parameters logic moved to ConfigDepot. We have to use ConfigKey class to enable scope level parameters [ https://cwiki.apache.org/confluence/display/CLOUDSTACK/Configuration]
Thanks, Harikrishna On 02-Mar-2015, at 5:45 pm, Koushik Das <koushik....@citrix.com> wrote: > I wasn't able to see system.vm.use.local.storage as a zone config in the UI > based on your fix. Did it work for you? The configuration code is supposed to > work based on [1] and [2]. > > [1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/Configuration > [2] > https://cwiki.apache.org/confluence/display/CLOUDSTACK/Adding+a+global+config+-+configurable+at+different+scopes > > > > On 02-Mar-2015, at 5:14 PM, Wilder Rodrigues <wrodrig...@schubergphilis.com> > wrote: > >> Hi guys, >> >> I was talking about this one: >> https://issues.apache.org/jira/browse/CLOUDSTACK-6139 >> >> Based on the description, it seems to be the same thing mentioned by Koushik. >> >> And that’s the commit: >> https://github.com/apache/cloudstack/commit/b3f18e7d74a0f09db9977554a6c7648b7edbc33d >> >> If I have to modify some other things to get it better, please do not >> hesitate to let me know. >> >> Cheers, >> Wilder >> >> On 02 Mar 2015, at 06:49, Koushik Das >> <koushik....@citrix.com<mailto:koushik....@citrix.com>> wrote: >> >> >> On 01-Mar-2015, at 12:59 AM, Paul Angus >> <paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com>> wrote: >> >> Hi Wilder, >> >> The guys are talking about enabling system VMs to use local storage on a >> zone by zone basis. The zone based 'use local storage' doesn't affect >> system VMs >> >> @Koushik - I wonder if you could look at the local storage with a view to >> enabling more than one local storage pool per host? I few times I've seen >> clients have more than one storage pool or storage type within their hosts. >> >> >> Are you suggesting at the time of adding host in CS, all available local >> storage pools get discovered? >> >> >> Regards >> >> Paul Angus >> Cloud Architect >> S: +44 20 3603 0540 | M: +447711418784 | T: CloudyAngus >> paul.an...@shapeblue.com<mailto:paul.an...@shapeblue.com> >> >> -----Original Message----- >> From: Wilder Rodrigues [mailto:wrodrig...@schubergphilis.com] >> Sent: 27 February 2015 18:59 >> To: <dev@cloudstack.apache.org> >> Cc: int-cloud >> Subject: Re: [DISCUSS] Allow configuring system VMs to use local storage at >> zone level >> >> Hi there, >> >> I have to have a look at the code, but I think it's already possible. >> >> And why? I myself did some changes on that some time ago. Perhaps it's not >> really clear due to the message we get when we select the local storage >> option, but it works. >> >> If when creating a zone you select local storage but on the global settings >> local storage is false, it will respect the selection per zone. >> >> So, it is already implemented. >> >> Please give me 12 hours to send a code snippet... I'm replying from my phone >> now. >> >> Cheers, >> Wilder >> >> Sent from my iPhone >> >> On 27 Feb 2015, at 14:21, Rohit Yadav <rohit.ya...@shapeblue.com> wrote: >> >> Sounds good, go for it! >> >> On 27-Feb-2015, at 4:55 pm, Koushik Das <koushik....@citrix.com> wrote: >> >> Currently it is not possible to configure system VMs to use local storage on >> a per zone basis. Since it is a global config (system.vm.use.local.storage), >> either it is enabled for all zones or none. The idea is to make it a zone >> level config. >> The current zone level setting of 'enabling local storage for user VMs' >> won't be impacted. Now there will be an additional setting for system VMs as >> well. >> >> I will create a tracking bug and FS for this. >> >> Comments? >> >> Thanks, >> Koushik >> >> Regards, >> Rohit Yadav >> Software Architect, ShapeBlue >> M. +91 88 262 30892 | rohit.ya...@shapeblue.com >> Blog: bhaisaab.org | Twitter: @_bhaisaab >> >> >> >> Find out more about ShapeBlue and our range of CloudStack related services >> >> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> >> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> >> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> >> CloudStack Software >> Engineering<http://shapeblue.com/cloudstack-software-engineering/> >> CloudStack Infrastructure >> Support<http://shapeblue.com/cloudstack-infrastructure-support/> >> CloudStack Bootcamp Training >> Courses<http://shapeblue.com/cloudstack-training/> >> >> This email and any attachments to it may be confidential and are intended >> solely for the use of the individual to whom it is addressed. Any views or >> opinions expressed are solely those of the author and do not necessarily >> represent those of Shape Blue Ltd or related companies. If you are not the >> intended recipient of this email, you must neither take any action based >> upon its contents, nor copy or show it to anyone. Please contact the sender >> if you believe you have received this email in error. Shape Blue Ltd is a >> company incorporated in England & Wales. ShapeBlue Services India LLP is a >> company incorporated in India and is operated under license from Shape Blue >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil >> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a >> company registered by The Republic of South Africa and is traded under >> license from Shape Blue Ltd. ShapeBlue is a registered trademark. >> Find out more about ShapeBlue and our range of CloudStack related services >> >> IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//> >> CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/> >> CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/> >> CloudStack Software >> Engineering<http://shapeblue.com/cloudstack-software-engineering/> >> CloudStack Infrastructure >> Support<http://shapeblue.com/cloudstack-infrastructure-support/> >> CloudStack Bootcamp Training >> Courses<http://shapeblue.com/cloudstack-training/> >> >> This email and any attachments to it may be confidential and are intended >> solely for the use of the individual to whom it is addressed. Any views or >> opinions expressed are solely those of the author and do not necessarily >> represent those of Shape Blue Ltd or related companies. If you are not the >> intended recipient of this email, you must neither take any action based >> upon its contents, nor copy or show it to anyone. Please contact the sender >> if you believe you have received this email in error. Shape Blue Ltd is a >> company incorporated in England & Wales. ShapeBlue Services India LLP is a >> company incorporated in India and is operated under license from Shape Blue >> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil >> and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a >> company registered by The Republic of South Africa and is traded under >> license from Shape Blue Ltd. ShapeBlue is a registered trademark. >> >> >