Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 794BC11206 for ; Tue, 16 Sep 2014 06:44:53 +0000 (UTC) Received: (qmail 19324 invoked by uid 500); 16 Sep 2014 06:44:53 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 19276 invoked by uid 500); 16 Sep 2014 06:44:53 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 19260 invoked by uid 99); 16 Sep 2014 06:44:52 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Sep 2014 06:44:52 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id DD23D1D2F35; Tue, 16 Sep 2014 06:44:50 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============7157821588106006225==" MIME-Version: 1.0 Subject: Re: Review Request 25647: enabling the rootdisksize variable for vm creation wrt managed storage From: "punith s" To: "amit kumar das" , "Mike Tutkowski" Cc: "cloudstack" , "punith s" Date: Tue, 16 Sep 2014 06:44:50 -0000 Message-ID: <20140916064450.7800.34239@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "punith s" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/25647/ X-Sender: "punith s" References: <20140915141145.7801.42052@reviews.apache.org> In-Reply-To: <20140915141145.7801.42052@reviews.apache.org> Reply-To: "punith s" X-ReviewRequest-Repository: cloudstack-git --===============7157821588106006225== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25647/#review53488 ----------------------------------------------------------- engine/orchestration/src/org/apache/cloudstack/engine/orchestration/CloudOrchestrator.java yes mike, when you create a compute offering with a specified min and max iops on contrary to the custom iops, iops was setting null for the root disk, since a new rootdiskoffering object is being created, predefined iops were not being set. and yes, this issue is not related to this S3 bug, but i thought it to be a minor one, so i clubbed it with this review. - punith s On Sept. 15, 2014, 7:41 p.m., punith s wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/25647/ > ----------------------------------------------------------- > > (Updated Sept. 15, 2014, 7:41 p.m.) > > > Review request for cloudstack, amit kumar das and Mike Tutkowski. > > > Bugs: 7406 > https://issues.apache.org/jira/browse/7406 > > > Repository: cloudstack-git > > > Description > ------- > > since cloudstack is not able to process the S3 or Switf templates for its virtual size(root disk size), admin is facing issues while creating a vm using third party storage plugins like cloudbyte and solidfire etc. > this patch enables the resize of root disk, on passing a variable ismanagedstorage = true in deployVmCmd as a detail. > hence template root disksize is overriden by the given rootdisk size by the admin > > this patch also fixes the iops null issue. > > for more ref > https://issues.apache.org/jira/browse/CLOUDSTACK-7406 > > > Diffs > ----- > > engine/orchestration/src/org/apache/cloudstack/engine/orchestration/CloudOrchestrator.java 2b49954 > server/src/com/cloud/vm/UserVmManagerImpl.java 0ea2a89 > > Diff: https://reviews.apache.org/r/25647/diff/ > > > Testing > ------- > > dry run only. > > > Thanks, > > punith s > > --===============7157821588106006225==--