incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lutterkort <lut...@redhat.com>
Subject Re: [PATCH core] Added support to daemonize Deltacloud and log to the syslog
Date Mon, 15 Aug 2011 23:51:41 GMT
On Fri, 2011-08-12 at 10:42 +0200, Michal Fojtik wrote:
> On Aug 12, 2011, at 12:38 AM, David Lutterkort wrote:
> 
> > On Thu, 2011-08-11 at 15:03 +0200, mfojtik@redhat.com wrote:
> >> From: Michal Fojtik <mfojtik@redhat.com>
> >> 
> >> 
> >> Signed-off-by: Michal fojtik <mfojtik@redhat.com>
> >> ---
> >> server/NOTICE                                     |    3 +
> >> server/bin/deltacloudd                            |   38 ++++++---
> >> server/lib/deltacloud/base_driver/exceptions.rb   |   15 ++--
> >> server/lib/deltacloud/drivers/mock/mock_driver.rb |    2 +-
> >> server/lib/sinatra/body_proxy.rb                  |   34 ++++++++
> >> server/lib/sinatra/rack_syslog.rb                 |   91 +++++++++++++++++++++
> >> server/server.rb                                  |   11 ++-
> >> 7 files changed, 169 insertions(+), 25 deletions(-)
> >> create mode 100644 server/lib/sinatra/body_proxy.rb
> >> create mode 100644 server/lib/sinatra/rack_syslog.rb
> > 
> > This patch causes server startup for me to fail:
> > 
> >        melon:[14006] server>./bin/deltacloudd -i mock
> >        Starting Deltacloud API :: mock :: http://localhost:3001/api
> > 
> > 
> >        15:37:05 - Server Launched
> >        (__DELEGATE__):2:in `settings': stack level too deep (SystemStackError)
> >        	from (__DELEGATE__):2:in `send'
> >        	from (__DELEGATE__):2:in `settings'
> >        	from (__DELEGATE__):2:in `send'
> >        	from (__DELEGATE__):2:in `settings'
> >        	from (__DELEGATE__):2:in `send'
> >        	from (__DELEGATE__):2:in `settings'
> >        	from (__DELEGATE__):2:in `send'
> >        	from (__DELEGATE__):2:in `settings'
> >        	 ... 1577 levels...
> >        	from /homes/lutter/.gem/ruby/1.8/gems/rack-1.1.2/lib/rack/builder.rb:46:in
`instance_eval'
> >        	from /homes/lutter/.gem/ruby/1.8/gems/rack-1.1.2/lib/rack/builder.rb:46:in
`initialize'
> >        	from config.ru:1:in `new'
> >        	from config.ru:1
> > 
> >        15:37:07 - Server Launch Failed
> 
> Wow. I personally tested it before I sent the patch out. Could you try to update sinatra
and rack?
> I'm using sinatra 1.2.6 and rack 1.3.0.

Aren't we getting ahead of ourselves there ? F15 is still on
rubygem-rack-1:1.1.0-2.fc14.noarch and
rubygem-thin-1.2.11-8.fc14.x86_64. Do we actually need these newer
versions or is that just what gem did ?

David



Mime
View raw message