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 2316DD0EA for ; Tue, 19 Feb 2013 18:24:53 +0000 (UTC) Received: (qmail 57616 invoked by uid 500); 19 Feb 2013 18:24:52 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 57567 invoked by uid 500); 19 Feb 2013 18:24:52 -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 57559 invoked by uid 99); 19 Feb 2013 18:24:52 -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 18:24:52 +0000 X-ASF-Spam-Status: No, hits=-2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Chiradeep.Vittal@citrix.com designates 66.165.176.89 as permitted sender) Received: from [66.165.176.89] (HELO SMTP.CITRIX.COM) (66.165.176.89) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Feb 2013 18:24:46 +0000 X-IronPort-AV: E=Sophos;i="4.84,696,1355097600"; d="scan'208,217";a="8239880" Received: from sjcpmailmx02.citrite.net ([10.216.14.75]) by FTLPIPO01.CITRIX.COM with ESMTP/TLS/RC4-MD5; 19 Feb 2013 18:23:53 +0000 Received: from SJCPMAILBOX01.citrite.net ([10.216.4.73]) by SJCPMAILMX02.citrite.net ([10.216.14.75]) with mapi; Tue, 19 Feb 2013 10:23:53 -0800 From: Chiradeep Vittal To: "cloudstack-dev@incubator.apache.org" Date: Tue, 19 Feb 2013 10:23:48 -0800 Subject: Re: Change qcow disk cache=none Thread-Topic: Change qcow disk cache=none Thread-Index: Ac4OzkUKDc4ajUjATwiO40OjA4DOQQ== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.1.130117 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CD490328864Echiradeepvittalcitrixcom_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_CD490328864Echiradeepvittalcitrixcom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Great. Looking forward to the patch From: Jason Villalta > Reply-To: CloudStack DeveloperList > Date: Tuesday, February 19, 2013 6:07 AM To: CloudStack DeveloperList > Subject: Re: Change qcow disk cache=3Dnone Thanks for all of your help on this guys. This worked like a charm! On Mon, Feb 18, 2013 at 5:30 AM, Wido den Hollander > wrote: On 02/18/2013 05:49 AM, Rajesh Battala wrote: Sounds great. How are you planning to implement the cache config value. From GC settings= or as part of offering or a dynamic changeable param to the VM. This has been covered by this Jira issue: https://issues.apache.org/jira/br= owse/CLOUDSTACK-1302 Wido Thanks Rajesh Battala From: Jason Villalta [mailto:jason@rubixnet.com] Sent: Monday, February 18, 2013 9:51 AM To: cloudstack-dev@incubator.apache.org Subject: Re: Change qcow disk cache=3Dnone Yes I have gotten farther. I have the hard coded parameter changed and the= system Proxy VM is running now but I am running into issues with the secon= dary storage vm. Troubleshooting that now. As for the cache setting, I think that still need to be setup as a configur= able option without a rebuild. Once I get the cloud fully functional I wil= l have some time to contribute to this issue. For now I just need to get t= his up and running. Thanks, On Sun, Feb 17, 2013 at 11:11 PM, Rajesh Battala >> wrote: Now you were able to build and run the cloud right.! Thanks Rajesh Battala From: Jason Villalta [mailto:jason@rubixnet.com<= mailto:jason@rubixnet.com>] Sent: Monday, February 18, 2013 3:59 AM To: cloudstack-dev@incubator.apache.org> Subject: Re: Change qcow disk cache=3Dnone Got it, wrong maven version.. On Sun, Feb 17, 2013 at 4:54 PM, Jason Villalta >>>> wrote: I tried this method to build 4.0.0 and I get 3 failed dependencies. Does s= omething in git need to be updated with different paths? error: error reading /home/sysadmin/.m2/repository/org/apache/axis2/axis2-k= ernel/1.5.1/axis2-kernel-1.5.1.jar; error in opening zip file error: error reading /home/sysadmin/.m2/repository/org/apache/axis2/mex/1.5= .1/mex-1.5.1-impl.jar; error in opening zip file error: error reading /home/sysadmin/.m2/repository/org/apache/axis2/axis2-m= tompolicy/1.5.1/axis2-mtompolicy-1.5.1.jar; error in opening zip file On Fri, Feb 15, 2013 at 10:16 AM, Marcus Sorensen >>>> wrote: If you just want to change 'none' to 'writeback' or something like that: git clone https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git cd incubator-cloudstack git checkout 4.0 vi ./plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtV= MDef.java # look for the one occurrence of 'none' in this file and change it as you see fit Then build your packages (https://cwiki.apache.org/CLOUDSTACK/building-with-maven.html#BuildingwithM= aven-BuildingRPMpackages) mvn install -P deps && ./waf rpm or mvn package -P deb If you want the fully configurable experience from GUI, with per disk-offering settings, then you'd open the request, and it may make it into 4.2 in May. Or you could pull the git repo and see if the feature applies to 4.1 and build your own packages in a month or so when the feature branch is ready. On Fri, Feb 15, 2013 at 7:05 AM, Jason Villalta >>>> wrote: So is there anyway to make this work today or will I have to wait until this is properly implemented? This may mean I need to take another look at openstack or opennebula and switch back. On Fri, Feb 15, 2013 at 9:00 AM, Wido den Hollander >>>> wrote: On 02/15/2013 02:31 PM, Jason Villalta wrote: Is there any way easy way to make this setting dependent on the storage definition? For example some primary storage may need this set to one value such as cache=3Dwriteback such as with the case of ZFS, GlusterFS, CEPH. Then other storage may want a different setting such as cache=3Dwritethough or none which is the case with a local ext4 storage or NFS. Exactly. I brought this up about a week ago, see this thread: http://markmail.org/thread/qmrod55gfmhwzot4 It shouldn't be a global property, it should be defined per storage pool, o= r even better, per disk offering. Right now we are talking about the cache setting, but tomorrow it could be = a different setting. Wido On Thu, Feb 14, 2013 at 11:08 PM, Rajesh Battala >>>> wrote: Hi Jason Villalta, In LibvirtVmDef.java, there is DiskDef class , get the cache value from the Global config, while constructing the xml in the override method the class toString() specify the cache value, currently it is using "none". NOTE: whenever there is change in GC value, MS should restart for the value to take effect. Thanks Rajesh Battala -----Original Message----- From: Rajesh Battala [mailto:rajesh.battala@citrix.com>>>] Sent: Friday, February 15, 2013 9:22 AM To: cloudstack-users@incubator.apache.org>>>; cloudstack= - dev@incubator.apache.org>>> Subject: RE: Change qcow disk cache=3Dnone Hi Jason Villalta, Can you raise the ticket for the same. I can work on it if you assign to me. Thanks Rajesh Battala -----Original Message----- From: Edison Su [mailto:Edison.su@citrix.com>>>] Sent: Friday, February 15, 2013 4:59 AM To: cloudstack-users@incubator.apache.org>>> Subject: RE: Change qcow disk cache=3Dnone The code is at https://git-wip-us.apache.org/repos/asf?p=3Dincubator- cloudstack.git;a=3Dblob;f=3Dplugins/hypervisors/kvm/src/com/cloud/hypervis or/kv m/resource/LibvirtVMDef.java;h=3Dacfd9cf1fe8eba217f09e20adf3101d1295d51d a;hb=3DHEAD, search "cache". you can add a global configuration in cloudstack, or add a configuration in agent.properties, to specify cache attribute. -----Original Message----- From: Jason Villalta [mailto:jason@rubixnet.com<= mailto:jason@rubixnet.com>>>] Sent: Thursday, February 14, 2013 2:16 PM To: cloudstack-users@incubator.apache.org>>> Subject: Re: Change qcow disk cache=3Dnone Ok, I see the folks at openstack ran into a similar issue. https://bugs.launchpad.net/nova/+bug/959637 How can I contribute to this? Can you recommend a part of the code to look at so I can build and test a patch? On Thu, Feb 14, 2013 at 5:13 PM, Edison Su = >>>> wrote: need to change cloudstack java code, right now, it's hard coded to "cache=3Dnone". -----Original Message----- From: Jason Villalta [mailto:jason@rubixnet.com<= mailto:jason@rubixnet.com>>>] Sent: Thursday, February 14, 2013 1:45 PM To: cloudstack-users@incubator.apache.org>>> Subject: Change qcow disk cache=3Dnone Is there a way to change this kvm disk cache setting in Cloudstack or template? If so where is the setting applied? -- -- Jason Villalta Co-founder 800.799.4407>>> | www.Rubix= Technology.com -- -- Jason Villalta Co-founder 800.799.4407>>> | www.Rubix= Technology.com -- -- Jason Villalta Co-founder 800.799.4407>>> | www.Rubix= Technology.com -- -- Jason Villalta Co-founder [cid:ii_13a3276a82c64fe9] 800.799.4407> | www.Ru= bixTechnology.com -- -- Jason Villalta Co-founder [cid:ii_13a3276a82c64fe9] 800.799.4407> | www.Ru= bixTechnology.com -- -- Jason Villalta Co-founder [cid:ii_13a3276a82c64fe9] 800.799.4407 | www.RubixTechnology.com -- -- Jason Villalta Co-founder [cid:ii_13a3276a82c64fe9] 800.799.4407 | www.RubixTechnology.com --_000_CD490328864Echiradeepvittalcitrixcom_--