DeltaCloud
  1. DeltaCloud
  2. DTACLOUD-90

Error message observed for different versions of Sinatra in Deltacloud API

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Component/s: Client (Ruby)
    • Labels:
      None
    • Environment:
      OS- F15 x86_64
      Dcloud API 0.4.1
      Sinatra versions - 1.2.1
      commit 34c6a5ca00215c1608a482953ef293d65bea43ef

      Description

      Error message observed for different versions of Sinatra in Deltacloud API

      Observation:
      ==========
      Error message is observed in console while starting the Dcloud server. Please find the below mentioned stack

      Stack Trace:
      ==========
      [root@cavenger server]# ./bin/deltacloudd -i ec2 -r cavenger.lab.eng.pnq.redhat.com -p 3003
      Starting Deltacloud API :: ec2 :: http://cavenger.lab.eng.pnq.redhat.com:3003/api

      /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:105: warning: already initialized constant HEX
      /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:107: warning: already initialized constant TO_REMEMBER
      /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/utils.rb:108: warning: already initialized constant ASCII
      /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/errors.rb:128: warning: already initialized constant DEFAULT_CLOSE_ON_4XX_PROBABILITY
      /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/parsers.rb:47: warning: already initialized constant DEFAULT_XML_LIBRARY
      /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:66: warning: already initialized constant AMAZON_PROBLEMS
      /usr/lib/ruby/gems/1.8/gems/aws-2.5.6/lib/ses/../awsbase/awsbase.rb:86: warning: already initialized constant DEFAULT_SIGNATURE_VERSION
      ./bin/../lib/sinatra/rabbit.rb:106:in `options': wrong number of arguments (1 for 0) (ArgumentError)
      from ./bin/../lib/sinatra/rabbit.rb:106:in `generate_options'
      from ./bin/../lib/sinatra/rabbit.rb:70:in `initialize'
      from ./bin/../lib/sinatra/rabbit.rb:294:in `new'
      from ./bin/../lib/sinatra/rabbit.rb:294:in `operation'
      from ./bin/../server.rb:122
      from ./bin/../lib/sinatra/rabbit.rb:210:in `instance_eval'
      from ./bin/../lib/sinatra/rabbit.rb:210:in `initialize'
      from ./bin/../lib/sinatra/rabbit.rb:392:in `new'
      from ./bin/../lib/sinatra/rabbit.rb:392:in `collection'
      from (_DELEGATE_):2:in `send'
      from (_DELEGATE_):2:in `collection'
      from ./bin/../server.rb:115
      from ./bin/../config.ru:23:in `load'
      from ./bin/../config.ru:23
      from /usr/lib/ruby/gems/1.8/gems/rack-1.3.4/lib/rack/builder.rb:51:in `instance_eval'
      from /usr/lib/ruby/gems/1.8/gems/rack-1.3.4/lib/rack/builder.rb:51:in `initialize'
      from ./bin/../config.ru:1:in `new'
      from ./bin/../config.ru:1

      Note:
      ====
      This is not observed in the Sinatra version 1.0.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            David Lutterkort
            Reporter:
            Ramesh A
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development