Hey Chris, I've been having to hard code this in my sandbox to something large enough (like 2000).
private long _maxVolumeSizeInGb = 2000; Has anyone ever figured out why this value is not initialized in master? Thanks! On Wed, Aug 21, 2013 at 1:12 PM, SuichII, Christopher < [email protected]> wrote: > It looks like in 4.2 it is set in VolumeApiServiceImpl.configure(), but > that method does not exist in master (and the history only goes back 8 > days). > > On Aug 21, 2013, at 3:08 PM, "SuichII, Christopher" < > [email protected]> wrote: > > > Yeah, I'm on master. That setting is set to 2000 (as found through the > UI). > > > > On Aug 21, 2013, at 2:12 PM, Koushik Das <[email protected]> > > wrote: > > > >> In 4.2 branch it gets initialized from config property > "storage.max.volume.size". > >> Storage DEFAULT management-server storage.max.volume.size > 2000 The maximum size for a volume (in GB). > >> > >> Which branch are you in? Master. Maybe some missing commit in master. > >> > >>> -----Original Message----- > >>> From: SuichII, Christopher [mailto:[email protected]] > >>> Sent: Wednesday, August 21, 2013 11:28 PM > >>> To: <[email protected]> > >>> Subject: Unable to create volume - volume size xxxx, but the maximum > size > >>> allowed is 0 Gb. > >>> > >>> I get the error message: 'volume size xxxx, but the maximum size > allowed is 0 > >>> Gb.' when I attempt to create a new volume. It is thrown from > >>> VolumeApiServiceImpl.validateVolumeSizeRange(int size). > >>> > >>> Unless I'm missing something, it looks like '_maxVolumeSizeInGb' is > never > >>> initialized in VolumeApiServiceImpl.java. Am I missing the > initialization > >>> somewhere? > >>> > >>> -Chris > > > > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: [email protected] o: 303.746.7302 Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play> *™*
