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 F3559E1E9 for ; Mon, 4 Feb 2013 08:30:24 +0000 (UTC) Received: (qmail 68175 invoked by uid 500); 4 Feb 2013 08:30:23 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 68000 invoked by uid 500); 4 Feb 2013 08:30:23 -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 67944 invoked by uid 99); 4 Feb 2013 08:30:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 08:30:22 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.66.90.41] (HELO sbppmx2.schubergphilis.com) (195.66.90.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2013 08:30:17 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by sbppmx2.schubergphilis.com (Postfix) with ESMTP id 80B4D12895 for ; Mon, 4 Feb 2013 09:29:55 +0100 (MET) X-Virus-Scanned: amavisd-new at schubergphilis.com Received: from sbppmx2.schubergphilis.com ([127.0.0.1]) by localhost (sbppmx2.schubergphilis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Beu8V7vcbrWX for ; Mon, 4 Feb 2013 09:29:55 +0100 (MET) Received: from SBPOTMG401.sbp.lan (edge.schubergphilis.com [195.66.90.11]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by sbppmx2.schubergphilis.com (Postfix) with ESMTP id 72C9B12868 for ; Mon, 4 Feb 2013 09:29:55 +0100 (MET) Received: from SBPOMF102.sbp.lan (10.71.2.131) by SBPOTMG401.sbp.lan (10.71.3.110) with Microsoft SMTP Server (TLS) id 14.1.379.0; Mon, 4 Feb 2013 09:29:55 +0100 Received: from SBPOMB402.sbp.lan ([fe80::2410:c2c8:67bf:d067]) by SBPOMF102.sbp.lan ([fe80::9049:fc5b:72ee:dd7%15]) with mapi id 14.02.0318.001; Mon, 4 Feb 2013 09:29:54 +0100 From: Hugo Trippaers To: "cloudstack-dev@incubator.apache.org" Subject: RE: [DISCUSS] Packaging in 4.1 Thread-Topic: [DISCUSS] Packaging in 4.1 Thread-Index: Ac4B3Ys+AmQdUrtbSceg78UVz9G9fv//9d+AgAAU+wCAAAQqgIAACU6AgAC+UACAACT8AIAAInSAgABTVoD//8loYA== Date: Mon, 4 Feb 2013 08:29:54 +0000 Message-ID: <6DE00C9FDF08A34683DF71786C70EBF02F69A596@SBPOMB402.sbp.lan> References: <6DE00C9FDF08A34683DF71786C70EBF02F69715B@SBPOMB402.sbp.lan> <7914B38A4445B34AA16EB9F1352942F1012F15861558@SJCPMAILBOX01.citrite.net> In-Reply-To: <7914B38A4445B34AA16EB9F1352942F1012F15861558@SJCPMAILBOX01.citrite.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.71.96.47] 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 Hey Sudha, I'm working on this as much as my $dayjob allows, but I can't give an estim= ate yet. This old systems was already broken and did not create any useful packages,= so I removed even the last remnants. For the moment I think the team will = have to work from the maven builds until we have this done and integrated i= n the 4.1 branch. Cheers, Hugo > -----Original Message----- > From: Sudha Ponnaganti [mailto:sudha.ponnaganti@citrix.com] > Sent: Monday, February 04, 2013 7:13 AM > To: cloudstack-dev@incubator.apache.org > Subject: RE: [DISCUSS] Packaging in 4.1 >=20 > Wanted to check when would this be implemented?? Several QA folks > depend on the packages and need this working. > We have been still building using waf but today that is also not working = as > some references are removed. >=20 > Is it possible to accelerate this process or leave old way of packaging i= n place > till you are done with the new changes >=20 > Thanks > /sudha >=20 > -----Original Message----- > From: rohityadav89@gmail.com [mailto:rohityadav89@gmail.com] On Behalf > Of Rohit Yadav > Sent: Sunday, February 03, 2013 5:14 PM > To: cloudstack-dev@incubator.apache.org > Subject: Re: [DISCUSS] Packaging in 4.1 >=20 > On Mon, Feb 4, 2013 at 4:41 AM, David Nalley wrote: > > On Sun, Feb 3, 2013 at 3:58 PM, Rohit Yadav > wrote: > >> On Sun, Feb 3, 2013 at 3:07 PM, David Nalley wrote: > >> ... > >>> > >>> So EL6 has pygments 1.1.1 - you require 1.5, so in some ways it's > >>> worth than clint (clint is in EPEL, but no new version of pygments > >>> in > >>> EPEL/CentOS-Extras/CentOS-Plus) > >> > >> I want people to use pip to install the cli because it's the easiest > >> and because rpm/deb packages may have dependency issues like you > >> mentioned =3D> may not work on all distros, what we can do is when > >> people install cloudstack-cli rpm or deb, it runs a script that > >> installs pip (if unavailable) and cloudmonkey. cloudmonkey is pure > >> python, so the rpm/deb can also ship bundling src tarballs of > >> cloudmonkey and its dependencies and install from it. Advise best way > >> of doing this? > > > > I guess we won't be installing the CLI via RPMs at least for EL6. > > > > You are assuming that they would have internet access when installing > > - which is not a valid assumption. > > > > Honestly, the above idea makes me blanch. A package that reports as > > installed, and may or may not have installed - may have installed a > > compromised package (see rubygems.org compromise recently, > kernel.org, > > and a number of other site compromises.), or might have installed > > packages I didn't know about is a Bad Idea (tm) The sysadmin doesn't > > know you are installing some of the dependencies, there is no record > > of those packages in the package manager, and there might potentially > > be conflicts with system packages, a security vulnerability in one of > > those dependencies wouldn't be caught on audit, etc etc. >=20 > /facepalm\, it's just a problem of packaging. The package can include cli= or > any other artifact's dependencies, so in case of cli, you bundle both > pygments and prettytable in cli's rpm/deb. AFAIK all of them are pure pyt= hon > so easily installable. The cool people can use pip to install. >=20 > > > > And I really don't intend for this to sound like a rant, but the one > > of the important benefits behind using packages and a package manager > > is that a sysadmin needs (and often is required to have by government > > regulations) a single source of truth about the software installed on > > a machine. >=20 > No, it's not a rant, I understand. >=20 > > Developers love things like Maven central, pypi, CPAN, and rubygems, > > and for good reason, they are fast, flexible, and make their life > > easy. To a sysadmin managing machines in production, they are > > anathema; they make system state difficult or impossible to determine, > > they make audits painful. >=20 > I just assumed the sysadmin who would install CloudStack, cli and whatnot > won't be stupid, at the same time I want his life to be less miserable. >=20 > > In addition they make troubleshooting > > incredibly difficult. Do I have $foo installed - which version? Are > > there multiple copies of $foo installed on the system? Which one is > > actually being called/loaded? >=20 > Alright, but I'm talking only about the cli, since most users, admins inc= luded, > would want it to run on their machines, the installation should be easies= t, > that's why I said they can use pip, so it works on their windows, osx, li= nux, > bsd boxes and that's why it's pure python (written that way). >=20 > Regards. > > > > --David