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 281B0DFFA for ; Mon, 18 Mar 2013 11:41:54 +0000 (UTC) Received: (qmail 14085 invoked by uid 500); 18 Mar 2013 11:41:53 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 13779 invoked by uid 500); 18 Mar 2013 11:41:53 -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 13765 invoked by uid 99); 18 Mar 2013 11:41:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Mar 2013 11:41:53 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of srivatsav.prasanna@gmail.com designates 209.85.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Mar 2013 11:41:47 +0000 Received: by mail-ie0-f178.google.com with SMTP id c13so6949596ieb.9 for ; Mon, 18 Mar 2013 04:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=9qNtiJkLJQmIpuWkBOu+QJOHVv3NREOzV47Ny64r9c8=; b=Y6lZb6pYSYLWIBNUJNn9K9otA1bK30Bgx/wFoo+6C5qvtSY8aLHHcYwr/IbofEnkjg im7t02xU7qNtmE+QtJaHeFkJXm+SBKWAj/ovx4A7GplhHRuLODgNaEaU2IW6pGI3/tMF GQAaJCTcN+VH1NiUUdu1A9RbmmKU5MxUyRlBMAX9CrrbNxJ3m36BMGMnK9otVmAPNwxH ZX57VIKNMDIPw4yI/DLqAlGZBajBqeqHskXNqNoy6qn1xXMV5VXTBJBSv+pb+5QuHxkJ fKPRXi8tp9Wcc92HNVUUtrvnkG3mNNZi4+S5d/iOeRHYi1tgNoXb96vRGQysndQYHlrc yqzg== X-Received: by 10.50.216.231 with SMTP id ot7mr6091939igc.84.1363606886642; Mon, 18 Mar 2013 04:41:26 -0700 (PDT) Received: from localhost ([202.75.201.5]) by mx.google.com with ESMTPS id px9sm9133314igc.0.2013.03.18.04.41.23 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 18 Mar 2013 04:41:25 -0700 (PDT) Sender: prasanna Date: Mon, 18 Mar 2013 17:11:19 +0530 From: Prasanna Santhanam To: cloudstack-dev@incubator.apache.org Subject: Re: [ACS41] Merge Debian packaging Message-ID: <20130318114119.GA12851@cloud-2.local> Mail-Followup-To: cloudstack-dev@incubator.apache.org References: <513F17A9.6050408@widodh.nl> <20130318065317.GA4649@cloud-2.local> <5146F9E6.1080208@widodh.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5146F9E6.1080208@widodh.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Mar 18, 2013 at 12:26:30PM +0100, Wido den Hollander wrote: > Hi, > > On 03/18/2013 07:53 AM, Prasanna Santhanam wrote: > >On Tue, Mar 12, 2013 at 05:25:21PM +0530, Wido den Hollander wrote: > >>Hi, > >> > >>In the last meeting my #action was to merge the Debian packaging commits > >>from master into 4.1, but I didn't get around doing so. > >> > >>I found some more time to test it all and it seems the packages are > >>working pretty well. > >> > >>The package I tested mainly was the agent package, but the others should > >>work as well. > >> > >>Now, my problem is the cherry-picking, since I didn't do that so often > >>I'm looking for the easiest way to find all my commits (and from others) > >>so those can be cherry-picked into 4.1. > >> > >>What's the easiest way to do this? > >> > >>Wido > > > >Hey Wido, > > > >The commit 8d333ec6648ae6e114309da4b497ef74a1c47912 caused an issue with > >cloudstack-agents (CLOUDSTACK-1469) to resurface last week after the merge to > >4.1. The dependency JNA was added to help the agent to start successfully in > >rpm artifacts. > > > >Can we just include the jna dependency back in the pom? I've reopened the bug > >and assigned it to you. > > > > No, we shouldn't need JNA via Maven at this point. Libvirt 0.4.9 > should run with JNA 3.2 which is in both the Ubuntu and RHEL/CentOS. > > Running with JNA 3.5 is only required with libvirt 0.5.0 (to be > released) and runnign libvirt 0.4.9 with JNA 3.5 causes issues. > > The DEB and RPM packages should depend on JNA and you should have a > jna.jar in /usr/share/java and the init script adds that to the > Classpath. > > This works on Ubuntu and should also work in RHEL based platforms. > Jna is installed from the centos repos and it is version 3.2.4. I've installed the packages onto a centos63 VM and the cloudstack-agent process won't start. [root@apache-81-3 ~]# rpm -qa | grep virt libvirt-java-0.4.9-1.el6.noarch virt-what-1.11-1.1.el6.x86_64 libvirt-client-0.10.2-18.el6.x86_64 libvirt-0.10.2-18.el6.x86_64 [root@apache-81-3 ~]# rpm -qa | grep jna jna-3.2.4-2.el6.x86_64 [root@apache-81-3 ~]# rpm -qa | grep qemu qemu-img-0.12.1.2-2.355.0.1.el6.centos.2.x86_64 qemu-kvm-0.12.1.2-2.355.0.1.el6.centos.2.x86_64 -- Prasanna.,