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 A3088106CA for ; Fri, 1 May 2015 13:29:00 +0000 (UTC) Received: (qmail 6179 invoked by uid 500); 1 May 2015 13:29:00 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 6127 invoked by uid 500); 1 May 2015 13:29:00 -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 6115 invoked by uid 99); 1 May 2015 13:29:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2015 13:29:00 +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: message received from 54.164.171.186 which is an MX secondary for dev@cloudstack.apache.org) Received: from [54.164.171.186] (HELO mx1-us-east.apache.org) (54.164.171.186) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2015 13:28:55 +0000 Received: from mail.fifthecho.com (unknown [64.106.186.184]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTP id 54D4245722 for ; Fri, 1 May 2015 13:28:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.fifthecho.com (Postfix) with ESMTP id E7EEC101A7A for ; Fri, 1 May 2015 09:27:58 -0400 (EDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mail.fifthecho.com X-Virus-Scanned: amavisd-new at mail.fifthecho.com Received: from mail.fifthecho.com ([127.0.0.1]) by localhost (mail.fifthecho.com [127.0.0.1]) (amavisd-new, port 10587) with ESMTP id SH43IOCqXjdG for ; Fri, 1 May 2015 09:27:58 -0400 (EDT) Received: from otheym (su-nat.int.smq.datapipe.net [64.106.131.250]) (Authenticated sender: jmoody) by mail.fifthecho.com (Postfix) with ESMTPSA for ; Fri, 1 May 2015 09:27:58 -0400 (EDT) Message-ID: <1430486877.8842.5.camel@fifthecho.com> Subject: Re: RFC: Removing 1M lines of junk From: Jeff Moody To: dev@cloudstack.apache.org Date: Fri, 01 May 2015 09:27:57 -0400 In-Reply-To: <87DFD436-7BD1-4049-A6B5-C6EF55AD978C@shapeblue.com> References: <83B7BC34-C9EC-4B7C-936D-18082B14556D@shapeblue.com> <554330C6.6060301@widodh.nl> <78EEDDD2-6ED5-404E-B386-80F0C85E723D@gmail.com> <1430485867.8842.2.camel@fifthecho.com> <87DFD436-7BD1-4049-A6B5-C6EF55AD978C@shapeblue.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Rohit, I understand and have no issues with this, however, I can forsee parts of our support organization wanting a binary package (from Citrix) when this change hits. I was just adding my $0.02 to the discussion of "does anyone use the AWS API" and expressing that my employer has little to no concern over this change (especially if removing the 1M lines of junk helps make a faster, more reliable management server). On Fri, 2015-05-01 at 13:23 +0000, Rohit Yadav wrote: > Hi Jeff, > > Thanks for sharing. ec2stack is available from pypi, so while we can > build debs/rpms it can be easily installed using “pip install > ec2stack”. The only migration path required by your users would be > to change the consumer URL and re-register apikey/secretkey. > > > On 01-May-2015, at 3:11 pm, Jeff Moody wrote: > > > > As this change will likely affect Citrix CloudPlatform, I can say > > that > > at Datapipe we offer the AWS API endpoint to customers because we > > had > > a request for it in the past. It was used once by a customer who > > then > > changed to using the native CloudStack API. When this change hits a > > release of Citrix CloudPlatform, I'm sure we'll probably deploy > > ec2stack, but I don't see that (and our support team doesn't see > > that) > > as a real problem - especially if RPM/Debs of the ec2stack code > > can be > > built and distributed. > > > > On Fri, 2015-05-01 at 14:10 +0200, sebgoa wrote: > > > On May 1, 2015, at 12:02 PM, Daan Hoogland < > > > daan.hoogland@gmail.com> > > > wrote: > > > > > > > OK, I do not want to push a formal point, just warning. > > > > > > > > > > understood. let's see if other folks are worried about > > > ec2interface > > > upgrade/change. > > > > > > > Op vr 1 mei 2015 om 09:57 schreef Wido den Hollander < > > > > wido@widodh.nl>: > > > > > > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > > Hash: SHA1 > > > > > > > > > > > > > > > > > > > > On 01-05-15 09:17, sebgoa wrote: > > > > > > > > > > > > On Apr 30, 2015, at 11:06 PM, Rohit Yadav > > > > > > wrote: > > > > > > > > > > > > > Hi, > > > > > > > > > > > > > > > On 30-Apr-2015, at 7:43 pm, Daan Hoogland > > > > > > > > wrote: > > > > > > > > > > > > > > > > We will have to provide a migration path if anybody is > > > > > > > > actually > > > > > > > > using it. > > > > > > > > > > > > > > The migration path would be documenting the change as > > > > > > > part > > > > > > > of the > > > > > > > release notes to simply switch from using the consumer > > > > > > > URL > > > > > > > server_ip:7080/awsapi to setting up ec2stack and > > > > > > > consuming > > > > > > > from > > > > > > > URL server_ip:5000 (or any other configured port). > > > > > > > Normally > > > > > > > service offerings are rather limited compared to other > > > > > > > resources, > > > > > > > when setting up ec2stack users can provide the mapping > > > > > > > to it > > > > > > > or > > > > > > > migrate it to ec2stack using something custom like > > > > > > > cloudmonkey+bash. > > > > > > > > > > > > > > The important issue to note here is that a lot of real > > > > > > > -world > > > > > > > awsapi integration with a user's own subsystems may not > > > > > > > follow > > > > > > > any convention or be rather customised other than > > > > > > > consumption of > > > > > > > service URL and associated apikey/secretkey, so migration > > > > > > > path > > > > > > > from our end would mostly consist of documenting the > > > > > > > changes. > > > > > > > This upgrade path may also be implemented as a script or > > > > > > > a > > > > > > > ec2stack tool that can read cloudbridge database to get > > > > > > > useful > > > > > > > configs and service offering mappings. And, there may be > > > > > > > some > > > > > > > changes that may not be migrated or supported due to the > > > > > > > different AWS API versions both the services support and > > > > > > > one’s > > > > > > > own custom usage/implementation. > > > > > > > > > > > > > > > > > > > So honestly, I am not sure what there is to > > > > > > migrate/upgrade…. > > > > > > > > > > > > It's really a setup and folks hitting a different endpoint > > > > > > as > > > > > > Rohit > > > > > > mentions. > > > > > > > > > > > > Plus, I would not sweat this too much, we have talked > > > > > > several > > > > > > times > > > > > > about it on the ML, and I am not convinced that *anyone* > > > > > > actually > > > > > > uses awsapi, especially with 4.3 forward. > > > > > > > > > > > > I would be rather drastic on this, but if someone is using > > > > > > a > > > > > > piece > > > > > > of open source code that has not been touched in 2 years > > > > > > and > > > > > > that > > > > > > does not work with latest cloudstack release…then tough > > > > > > luck. > > > > > > Get > > > > > > on the ML to fix things or do the 'migration' on your own. > > > > > > > > > > > > /me does not want to bother about awsapi upgrade. > > > > > > > > > > > > > > > > /me doesn't want to touch that code either. In earlier > > > > > threads I > > > > > always voted for letting AWSAPI go en point people towards > > > > > libcloud, > > > > > terraform, whatever. > > > > > > > > > > Wido > > > > > > > > > > > > > > > > > > > > > > > > Regards. > > > > > > > > > > > > > > > Biligual auto correct use. Read at your own risico On > > > > > > > > 30 > > > > > > > > Apr > > > > > > > > 2015 19:36, "David Nalley" wrote: > > > > > > > > > > > > > > > > > On Thu, Apr 30, 2015 at 1:23 PM, Rohit Yadav > > > > > > > > > wrote: > > > > > > > > > > Hi all, > > > > > > > > > > > > > > > > > > > > I was testing awsapi with 4.5 today and it just > > > > > > > > > > did not > > > > > > > > > > work for me, > > > > > > > > > after few hours I gave up and used ec2stack which > > > > > > > > > worked > > > > > > > > > out > > > > > > > > > of the box and certainly felt more friendly to work > > > > > > > > > with. I > > > > > > > > > remembered we discussed removing awsapi but then the > > > > > > > > > momentum > > > > > > > > > never precipitated into action, so I spent some time > > > > > > > > > today to > > > > > > > > > cleanly remove awsapi and making sure it has a > > > > > > > > > cleanup > > > > > > > > > upgrade path and does not break the builds or the > > > > > > > > > packaging. > > > > > > > > > (Also found and fixed a debian build issue that > > > > > > > > > someone > > > > > > > > > recently reported, noredist builds being broken) > > > > > > > > > > > > > > > > > > > > Here is the PR: > > > > > > > > > > https://github.com/apache/cloudstack/pull/216 Here > > > > > > > > > > is a > > > > > > > > > > repo from the branch to prove that package works > > > > > > > > > > too: > > > > > > > > > http://packages.bhaisaab.org/cloudstack/nukeawsapi > > > > > > > > > > > > > > > > > > > > As Sebastien has asked me to hold on this for few > > > > > > > > > > days, I > > > > > > > > > > hope to merge > > > > > > > > > this next week or later; but before that happends > > > > > > > > > please > > > > > > > > > feel > > > > > > > > > free to share any comments, questions. Thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I haven't looked at all at the changes or the > > > > > > > > > resulting > > > > > > > > > builds, but in principle, I agree. I don't think that > > > > > > > > > anyone > > > > > > > > > is actively maintaining the AWSAPI code .(We did > > > > > > > > > have a > > > > > > > > > bug > > > > > > > > > fix 6 months ago to address a security issue, but it > > > > > > > > > looks as > > > > > > > > > if it has set idle for ~2 years otherwise). > > > > > > > > > > > > > > > > > > Deprecate AWSAPI - make the python based stuff > > > > > > > > > optional. > > > > > > > > > It > > > > > > > > > will reduce the codebase size tremendously. > > > > > > > > > > > > > > > > > > --David > > > > > > > > > > > > > > > > > > > > > > > Regards, Rohit Yadav Software Architect, ShapeBlue M. > > > > > > > +91 88 > > > > > > > 262 > > > > > > > 30892 | rohit.yadav@shapeblue.com Blog: bhaisaab.org | > > > > > > > Twitter: > > > > > > > @_bhaisaab > > > > > > > > > > > > > > > > > > > > > > > > > > > > Find out more about ShapeBlue and our range of CloudStack > > > > > > > related > > > > > > > services > > > > > > > > > > > > > > IaaS Cloud Design & > > > > > > > Build > > > > > > > ;; > > > > > > > CSForge > > > > > > > – rapid IaaS deployment framework< > > > > > > > http://shapeblue.com/csforge/>;; > > > > > > > CloudStack > > > > > > > Consulting; > > > > > > > ; > > > > > > > CloudStack Software > > > > > > > Engineering< > > > > > > > http://shapeblue.com/cloudstack-software-engineering/>;; > > > > > > > > > > > > > > > > > > > CloudStack Infrastructure > > > > > Support< > > > > > http://shapeblue.com/cloudstack-infrastructure-support/>;; > > > > > > > CloudStack Bootcamp Training > > > > > > > Courses;; > > > > > > > > > > > > > > This email and any attachments to it may be confidential > > > > > > > and > > > > > > > are > > > > > > > intended solely for the use of the individual to whom it > > > > > > > is > > > > > > > addressed. Any views or opinions expressed are solely > > > > > > > those > > > > > > > of > > > > > > > the author and do not necessarily represent those of > > > > > > > Shape > > > > > > > Blue > > > > > > > Ltd or related companies. If you are not the intended > > > > > > > recipient > > > > > > > of this email, you must neither take any action based > > > > > > > upon > > > > > > > its > > > > > > > contents, nor copy or show it to anyone. Please contact > > > > > > > the > > > > > > > sender if you believe you have received this email in > > > > > > > error. > > > > > > > Shape Blue Ltd is a company incorporated in England & > > > > > > > Wales. > > > > > > > ShapeBlue Services India LLP is a company incorporated in > > > > > > > India > > > > > > > and is operated under license from Shape Blue Ltd. Shape > > > > > > > Blue > > > > > > > Brasil Consultoria Ltda is a company incorporated in > > > > > > > Brasil > > > > > > > and > > > > > > > is operated under license from Shape Blue Ltd. ShapeBlue > > > > > > > SA > > > > > > > Pty > > > > > > > Ltd is a company registered by The Republic of South > > > > > > > Africa > > > > > > > and > > > > > > > is traded under license from Shape Blue Ltd. ShapeBlue > > > > > > > is a > > > > > > > registered trademark. > > > > > > > > > > > -----BEGIN PGP SIGNATURE----- > > > > > Version: GnuPG v1 > > > > > > > > > > iQIcBAEBAgAGBQJVQzDEAAoJEAGbWC3bPspCRYsP/2rpkGaQgbSQuyRIzfnB5 > > > > > g+j > > > > > +2wAg8KdwixXn7fBLDjcwsKuI8dlXuw1/2QV79p3m+By4O2QKpeh7bg6k1X1t > > > > > UXe > > > > > Vt9gYN6czWcbPBjDWifhaxgFxwG6HfCGkKDE7S8/9esk0z3EtbDp5oKqRDn1/ > > > > > vJp > > > > > lbVYfd0+7ELx7PmUvpYYN2xI/m35B+Kndk9jt/z4t3CD4KmzQ75YJUiIfmnSI > > > > > v44 > > > > > arlRv3IJq1mdPqRQlKbtELrXFwEL5Qx53XEqfna+VAiJALybZqzRxsUXwVPCN > > > > > 3pv > > > > > FKZ4Bu/3E+zPHSIaWi5ggNrNKbVpdxee1aSgvaYxykz+HjuvF4UJgw4Wdgr8y > > > > > CA6 > > > > > Rtv81jxVnFiTYmO+Rpf2ep2shR76HsjkWNk2ceuhmTmgdGv0LRIQHUUp2D8PY > > > > > SuS > > > > > W2C9JKesXYeQZX15w0h2SVK+MMmyqPXFyYxA/BSvX1NhVR3ShTRjxOW7ZIbTG > > > > > Xpf > > > > > 6XWyE62NY/7pqQIfEQtGBNOGVdhZmJVBu3mfh5kLYweRKjXoWk9mfYBJPx8LD > > > > > msr > > > > > 2TDJxn/gk/MW78wpHNYlulD0YYwiMvaVQWdq5Y/tV00TKB/Ra+6Tn+p7R9jNQ > > > > > RYN > > > > > XCk8JBJcEbXCDzrj0+O8StwKDN8MxvoBndBqtqxkGtHP9vGNu6OpVPDRrhypI > > > > > FS8 > > > > > GzAmLrk1REQib70eMnbu > > > > > =zFEa > > > > > -----END PGP SIGNATURE----- > > > > > > > > > > Regards, > Rohit Yadav > Software Architect, ShapeBlue > M. +91 88 262 30892 | rohit.yadav@shapeblue.com > Blog: bhaisaab.org | Twitter: @_bhaisaab > > > > Find out more about ShapeBlue and our range of CloudStack related > services > > IaaS Cloud Design & Build< > http://shapeblue.com/iaas-cloud-design-and-build//>; > CSForge – rapid IaaS deployment framework< > http://shapeblue.com/csforge/>; > CloudStack Consulting; > CloudStack Software Engineering< > http://shapeblue.com/cloudstack-software-engineering/>; > CloudStack Infrastructure Support< > http://shapeblue.com/cloudstack-infrastructure-support/>; > CloudStack Bootcamp Training Courses< > http://shapeblue.com/cloudstack-training/>; > > This email and any attachments to it may be confidential and are > intended solely for the use of the individual to whom it is > addressed. Any views or opinions expressed are solely those of the > author and do not necessarily represent those of Shape Blue Ltd or > related companies. If you are not the intended recipient of this > email, you must neither take any action based upon its contents, nor > copy or show it to anyone. Please contact the sender if you believe > you have received this email in error. Shape Blue Ltd is a company > incorporated in England & Wales. ShapeBlue Services India LLP is a > company incorporated in India and is operated under license from > Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company > incorporated in Brasil and is operated under license from Shape Blue > Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of > South Africa and is traded under license from Shape Blue Ltd. > ShapeBlue is a registered trademark.