> On Oct. 17, 2014, 5:41 p.m., Nitin Mehta wrote: > > tools/appliance/build.sh, line 253 > > <https://reviews.apache.org/r/26871/diff/1/?file=724288#file724288line253> > > > > Why should version be optional at all ? > > 1. I think it should be mandatory. > > 2. I would like you to do a more harder check on version making sure it > > is in correct format as per expectations say it should be > 1.0 and less > > than say 10.0 < it should be an integer etc.
Why it should be mandatory? if it has a default value. This value represents, in which version the template is released and is used to check if router upgrade is needed. I think the parameter is made optional, so that at any point of time during template build, we can make the template refer to that particular version if we want to. The current template build jobs are based on the default value. It is good to have harder check, I'll create a ticket for that. - Harikrishna ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/26871/#review57173 ----------------------------------------------------------- On Oct. 17, 2014, 5:30 p.m., Harikrishna Patnala wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/26871/ > ----------------------------------------------------------- > > (Updated Oct. 17, 2014, 5:30 p.m.) > > > Review request for cloudstack, Kishan Kavala and SrikanteswaraRao Talluri. > > > Bugs: CLOUDSTACK-7748 > https://issues.apache.org/jira/browse/CLOUDSTACK-7748 > > > Repository: cloudstack-git > > > Description > ------- > > CLOUDSTACK-7748: Cloudstack version number is missing in system vm template. > /etc/cloudstack-release in system vm does not have version number which > leads in vm deployment failure while checking router version > > > During the system vm build, arguments can be passed to build.sh script > where 'version' argument is one of the optional arguments. The bug is even if > version argument is not passed defalut value(CLOUDSTACK_RELEASE=4.4.0) is > overridden by the null value (since argument is not passed). > > > Diffs > ----- > > tools/appliance/build.sh 8bf78b1 > > Diff: https://reviews.apache.org/r/26871/diff/ > > > Testing > ------- > > > Thanks, > > Harikrishna Patnala > >