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 3052E10FC1 for ; Mon, 23 Dec 2013 12:32:04 +0000 (UTC) Received: (qmail 43046 invoked by uid 500); 23 Dec 2013 12:31:09 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 42880 invoked by uid 500); 23 Dec 2013 12:30:58 -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 42832 invoked by uid 99); 23 Dec 2013 12:30:55 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 12:30:55 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 5149B1C036F; Mon, 23 Dec 2013 12:30:53 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============6581875740150536442==" MIME-Version: 1.0 Subject: Re: Review Request 16324: CLOUDSTACK-4780: Changes related to checking snapshot on NFS server From: "ASF Subversion and Git Services" To: "Girish Shilamkar" Cc: "Gaurav Aradhye" , "ASF Subversion and Git Services" , "cloudstack" Date: Mon, 23 Dec 2013 12:30:52 -0000 Message-ID: <20131223123052.27555.80617@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "ASF Subversion and Git Services" X-ReviewGroup: cloudstack X-ReviewRequest-URL: https://reviews.apache.org/r/16324/ X-Sender: "ASF Subversion and Git Services" References: <20131223114151.13835.18240@reviews.apache.org> In-Reply-To: <20131223114151.13835.18240@reviews.apache.org> Reply-To: "ASF Subversion and Git Services" X-ReviewRequest-Repository: cloudstack-git --===============6581875740150536442== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/16324/#review30814 ----------------------------------------------------------- Commit 80ab47c86945f8949612cbea0e169c4ca9e096bb in branch refs/heads/4.3 from Gaurav Aradhye [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=80ab47c ] CLOUDSTACK-4780: Changes related to checking snapshot path on NFS server, also made marvin import paths specific - ASF Subversion and Git Services On Dec. 23, 2013, 11:41 a.m., Gaurav Aradhye wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/16324/ > ----------------------------------------------------------- > > (Updated Dec. 23, 2013, 11:41 a.m.) > > > Review request for cloudstack and Girish Shilamkar. > > > Bugs: CLOUDSTACK-4780 > https://issues.apache.org/jira/browse/CLOUDSTACK-4780 > > > Repository: cloudstack-git > > > Description > ------- > > Changes: > > 1) Appended snapshot extension to the snapshot path coming from database. As discussed with Harikrishna, Product bug (5135) is invalid, snapshot path in database won't contain the extension of the snapshot. So changing the code so as to append the extension based on hypervisor type. > > 2) Code movement and cleanup - Moved function get_hypervisor_type from common to utils to avoid cyclic dependency of libraries. Also, cleaned up the imports. > > > Diffs > ----- > > test/integration/component/test_add_remove_network.py f1508e1 > test/integration/component/test_assign_vm.py cbdce73 > test/integration/component/test_cpu_domain_limits.py 4e8fc6d > test/integration/component/test_cpu_limits.py d721a45 > test/integration/component/test_cpu_max_limits.py 9161cee > test/integration/component/test_cpu_project_limits.py 63d1a98 > test/integration/component/test_egress_fw_rules.py 09e1dd6 > test/integration/component/test_haproxy.py c734012 > test/integration/component/test_mm_domain_limits.py c856087 > test/integration/component/test_mm_max_limits.py b1ebbb4 > test/integration/component/test_mm_project_limits.py ffeb20a > test/integration/component/test_snapshots.py d3fac42 > test/integration/component/test_vpc_network_lbrules.py e7cb823 > test/integration/component/test_vpc_network_pfrules.py 0d8e2f1 > test/integration/component/test_vpc_network_staticnatrule.py dd3d249 > test/integration/component/test_vpn_users.py 9ee907b > tools/marvin/marvin/integration/lib/common.py 096b073 > tools/marvin/marvin/integration/lib/utils.py d046235 > > Diff: https://reviews.apache.org/r/16324/diff/ > > > Testing > ------- > > Tested locally on VMware. KVM should not have impact of this change as the snapshot created on KVM was found not to have any extension. > > Log: > test_01_snapshot_root_disk (test_snapshots.TestSnapshotRootDisk) > Test Snapshot Root Disk ... ok > > ---------------------------------------------------------------------- > Ran 1 test in 513.783s > > OK > > > Thanks, > > Gaurav Aradhye > > --===============6581875740150536442==--