Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 825E5D199 for ; Tue, 19 Feb 2013 23:02:25 +0000 (UTC) Received: (qmail 59377 invoked by uid 500); 19 Feb 2013 23:02:24 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 59346 invoked by uid 500); 19 Feb 2013 23:02:24 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 59335 invoked by uid 99); 19 Feb 2013 23:02:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 23:02:24 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Chandan.Purushothama@citrix.com designates 66.165.176.63 as permitted sender) Received: from [66.165.176.63] (HELO SMTP02.CITRIX.COM) (66.165.176.63) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 23:02:19 +0000 X-IronPort-AV: E=Sophos;i="4.84,698,1355097600"; d="scan'208";a="7897981" Received: from sjcpmailmx01.citrite.net ([10.216.14.74]) by FTLPIPO02.CITRIX.COM with ESMTP/TLS/RC4-MD5; 19 Feb 2013 23:01:57 +0000 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.73]) by SJCPMAILMX01.citrite.net ([10.216.14.74]) with mapi; Tue, 19 Feb 2013 15:01:56 -0800 From: Chandan Purushothama To: "cloudstack-dev@incubator.apache.org" Date: Tue, 19 Feb 2013 15:01:56 -0800 Subject: RE: Building SystemVM template appliance Thread-Topic: Building SystemVM template appliance Thread-Index: Ac4OjFCyL9JsqITlTVCcRhvHsk6I2QAaA4vA Message-ID: <25171B03A3D9E24AADC227668ADE91C90112F4B33CCA@SJCPMAILBOX01.citrite.net> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hello Rohit, Should the procedure of Building the SystemVM template appliance be tested?= Or Should the templates produced at the end be tested for their functional= ity? I referred to your blog and found information pertaining to challenges= that you faced during building the template but didn't find information pe= rtaining to procedure. May I know the location where I can find documentati= on pertaining to the procedure and what needs to be tested as a QA effort? Thank you, Chandan. -----Original Message----- From: rohityadav89@gmail.com [mailto:rohityadav89@gmail.com] On Behalf Of R= ohit Yadav Sent: Tuesday, February 19, 2013 2:31 AM To: cloudstack-dev@incubator.apache.org Subject: Re: Building SystemVM template appliance On Tue, Feb 19, 2013 at 8:23 AM, Chiradeep Vittal wrote: > Hi Rohit > >>> >>> Are the format conversions automated? >> >>They are now! The file name format is: >>$appliance-$build_date-$branch-hyperv.$format >>Format conversion and archiving is automated on a large instance with=20 >>export formats: >>ova -> vmware >>vhd -> xen >>qcow2 -> kvm >>vhd -> hyperv >> >>Build job: >>http://jenkins.cloudstack.org/view/All/job/build-systemvm-master >> >>But I'm yet to try one of xen or kvm templates. The bugs would be=20 >>mostly fixable in postinstall.sh >> >>For exporting xen images from raw image, I had to build xen (for a >>library) and vhd-util from blktap2/tools. Will post a blog on that=20 >>exercise. > > I used to use a patch from the Xen ML to enable vhd-util to do=20 > conversions, but IIRC this has been merged into master. If others=20 > (outside of the build server) want to use vhd-util what are their options= ? > >> >>I've fixed the partition as regular one with different partitions for=20 >>/var, /opt, /usr, /tmp, /boot, /home, please see the partitions sizes,=20 >>advise if we want to change them: (syntax: min. size, priority, max. >>size) >>https://git-wip-us.apache.org/repos/asf?p=3Dincubator-cloudstack.git;a=3D= c >>ommi t;h=3Dab63a433ecbf60e18ad6cbcb0353c61fa432bcdc > > Looks good. Glad to see swap space. Have dealt with a few OOMs when=20 > the system vm was FC8 and did not have swap. > >> >>Chiradeep, we can copy stuff inside the appliance using veewee vbox=20 >>ssh or scping before we halt using veewee vbox halt=20 >>. How do you want to use the config.dat, > > We should not need config.dat now that the debconf-set-selections=20 > trick is used. First automated build (the whole rvm non-interactive non-login shell issue = took me a lot of time to figure out, the bug at jenkins was that $HOME was = not defined for rvm): http://jenkins.cloudstack.org/job/build-systemvm-master/47/console Archived appliances: http://people.apache.org/~bhaisaab/systemvm Blog: http://rohityadav.in/logs/building-systemvms/ Now, all we need to do is test them against real hosts and fix any post ins= tallation scripts, network conf. Regards. > >