Return-Path: X-Original-To: apmail-incubator-deltacloud-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-deltacloud-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 7D15384E8 for ; Wed, 7 Sep 2011 22:10:56 +0000 (UTC) Received: (qmail 4123 invoked by uid 500); 7 Sep 2011 22:10:56 -0000 Delivered-To: apmail-incubator-deltacloud-dev-archive@incubator.apache.org Received: (qmail 4067 invoked by uid 500); 7 Sep 2011 22:10:55 -0000 Mailing-List: contact deltacloud-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: deltacloud-dev@incubator.apache.org Delivered-To: mailing list deltacloud-dev@incubator.apache.org Received: (qmail 4059 invoked by uid 99); 7 Sep 2011 22:10:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 22:10:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of razorinc@gmail.com designates 74.125.82.175 as permitted sender) Received: from [74.125.82.175] (HELO mail-wy0-f175.google.com) (74.125.82.175) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2011 22:10:45 +0000 Received: by wyf19 with SMTP id 19so117141wyf.6 for ; Wed, 07 Sep 2011 15:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:references:from:content-type:x-mailer:in-reply-to :message-id:date:to:content-transfer-encoding:mime-version; bh=0Hp/5BQ1jiyRfifs+gRNWQTTLzcXjkyACAAvRNKE5Go=; b=mj8gd/Lp9z/UxkCB9n2XLsxm1Igm09cGXVCoxt8LRFmqdigVsy0WFtVX3/Dge65OS0 5QoNEw3lyZovkF+0ovpbjE60ifBeBO6bt+mKvL4BHxupvNmTJyYvMXkUatN3lVbhIYPg GlDi94731AybHYnZmgeWJt+KEGpOI8IyWix5c= Received: by 10.227.9.28 with SMTP id j28mr3654202wbj.6.1315433425607; Wed, 07 Sep 2011 15:10:25 -0700 (PDT) Received: from [192.168.0.100] (adsl-ull-23-109.50-151.net24.it [151.50.109.23]) by mx.google.com with ESMTPS id n12sm2090240wbp.7.2011.09.07.15.10.19 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Sep 2011 15:10:23 -0700 (PDT) Subject: Re: syslog in DeltaCloud 0.4.0 References: <4E5E5FDA.2040806@redhat.com> <1314810889.25156.12.camel@melon.watzmann.net> <1315002298.26495.30.camel@avon.watzmann.net> <1315350923.15528.39.camel@avon.watzmann.net> From: Francesco Vollero Content-Type: multipart/alternative; boundary=Apple-Mail-1--28699269 X-Mailer: iPad Mail (8G4) In-Reply-To: Message-Id: Date: Thu, 8 Sep 2011 00:10:30 +0200 To: "deltacloud-dev@incubator.apache.org" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (iPad Mail 8G4) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-1--28699269 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hey Tong, Tomorrow morning i gonna fix those problems, the ones that still in bug stat= e. I gonna give back here on ml asap with the status. Cheers, Francesco Sent from my iPad On 07/set/2011, at 23:09, Tong Li wrote: > Tried DC RC 4 with ruby 1.9.1 and latest dependencies and found quite few p= roblems. >=20 > The RC4 was downloaded here and seemed it was posted on 8/24.=20 > http://people.apache.org/~lutter/deltacloud/0.4.0/rc4/ >=20 > 1. This should be just a bug. > views/instances/show.html.haml has errors, it should have never worked. >=20 > both line 31 and 34 has code like this. >=20 > %p{ :'data-role' =3D> 'fieldcontain'}=3D@instance.public_addresses.map.joi= n(',') >=20 > the map.join should not have worked. >=20 > it needs to be changed to=20 >=20 > %p{ :'data-role' =3D> 'fieldcontain'}=3D@instance.public_addresses.join(',= ') >=20 > 2. incorrectly use "lib" in the require path, this causes big problem for o= thers to use DC gem. There are two places >=20 > base_driver/base_driver.rb > sinatra/rack_syslog.rb >=20 > both files have some thing like this >=20 > require 'lib/xxxxx' >=20 > They should be changed to=20 >=20 > require 'xxxxx' > 3. In base_driver/features.rb, it still uses ordinalize method from an int= eger, which has been removed in newer active_support package,=20 > 4. i18n is a dependency , but was not stated in the spec.=20 > 5. nokogiri requires some other dependency which is not available on 64 bi= ts platform, forgot the name of it, when I tried to gem install, it did a lo= cal build, then blows up because it was trying to use 32 libraries on window= s. > 6. syslog is not available on windows platform, both item 5 and 6 really h= urts. I had to setup an Ubuntu 11.04 machine to do my development. > 7. new RC4 is extremely slow. I run 0.4.0 and 0.3.0 on the same machine, 0= .4.0 took a lot longer from user point view. not sure if it has anything to d= o with the newer UI or because of the thin server which is now required. Any= reason why switch it from WEBrick? >=20 > is there any way these problems can be fixed? or they have been fixed in n= ewer builds? If I can access the source, I do not mind to fix them. I think t= hat problems described in 1 to 4 should really be fixed ASAP. >=20 > Thanks.=09 >=20 > Tong Li > Emerging Technologies & Standards > B062/K317 > litong01@us.ibm.com >=20 > David Lutterkort ---09/06/2011 07:17:45 PM---On Tue, 2011-09-06 at 15:40 -= 0400, Tong Li wrote: > finally had time to try this rc4, however, syslo >=20 > From: David Lutterkort > To: deltacloud-dev@incubator.apache.org > Date: 09/06/2011 07:17 PM > Subject: Re: syslog in DeltaCloud 0.4.0 >=20 >=20 >=20 > On Tue, 2011-09-06 at 15:40 -0400, Tong Li wrote: > > finally had time to try this rc4, however, syslog is now needed by few > > files in DC. unfortunately syslog is not available on windows platform,= so > > somehow this release becomes platform specific. is this really intended?= am > > I missing something? >=20 > No, the intent is not to make it platform specific - we need to figure > out how to replace syslog on Windows. Should probably fall back to > writing to stdout. Or do you know of a more elegant fallback ? >=20 > David >=20 >=20 >=20 --Apple-Mail-1--28699269--