Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-430

GET /cimi/network_configurations errors out - [SystemStackError] stack level too deep

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • CIMI/Frontend
    • None
    • Deltacloud commit version: 72309806b704aad45b4812eb2cecda9238c52768
      cimi front end
      mock driver

    Description

      >> curl -X GET --user "un:pw" "http://localhost:3001/cimi/network_configurations?format=xml"

      returns ...

      E, 2013-01-21T14:42:07.656711 #19331 ERROR – 500: [SystemStackError] stack level too deep

      /usr/lib/ruby/gems/1.8/gems/rack-1.4.4/lib/rack/showexceptions.rb:96:in `inspect'
      /usr/lib/ruby/gems/1.8/gems/rack-1.4.4/lib/rack/showexceptions.rb:96:in `h'
      (erb):272:in `pretty'
      (erb):269:in `each'
      (erb):269:in `pretty'
      /usr/lib/ruby/gems/1.8/gems/rack-1.4.4/lib/rack/showexceptions.rb:88:in `pretty'
      /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/showexceptions.rb:30:in `call'
      /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:99:in `call'
      /usr/lib/ruby/gems/1.8/gems/rack-accept-0.4.5/lib/rack/accept/context.rb:22:in `call'
      /usr/lib/ruby/gems/1.8/gems/rack-protection-1.3.2/lib/rack/protection/xss_header.rb:27:in `call'
      /usr/lib/ruby/gems/1.8/gems/rack-protection-1.3.2/lib/rack/protection/path_traversal.rb:16:in `call'
      /usr/lib/ruby/gems/1.8/gems/rack-protection-1.3.2/lib/rack/protection/json_csrf.rb:17:in `call'
      /usr/lib/ruby/gems/1.8/gems/rack-protection-1.3.2/lib/rack/protection/base.rb:48:in `call'
      /usr/lib/ruby/gems/1.8/gems/rack-protection-1.3.2/lib/rack/protection/xss_header.rb:27:in `call'
      /usr/lib/ruby/gems/1.8/gems/rack-1.4.4/lib/rack/nulllogger.rb:9:in `call'
      /usr/lib/ruby/gems/1.8/gems/rack-1.4.4/lib/rack/head.rb:9:in `call'
      /usr/lib/ruby/gems/1.8/gems/rack-1.4.4/lib/rack/methodoverride.rb:21:in `call'
      /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:99:in `call'
      /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:816:in `forward'
      /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:885:in `route_missing'
      /usr/lib/ruby/gems/1.8/gems/sinatra-1.3.3/lib/sinatra/base.rb:846:in `route!'

      I tried this GET with and without http://tracker.deltacloud.org/set/263 applied.

      In Deltacloud 1.0.5, GET /cimi/network_collections returned:

      <Collection resourceURI="http://schemas.dmtf.org/cimi/1/NetworkConfigurationCollection"><id>http://dev.deltacloud.org/cimi/network_configurations</id><count>0</count></Collection>

      Attachments

        1. F16Box_Gemfile.lock
          3 kB
          Marios Andreou
        2. RHEL6.4_Gemfile.lock
          3 kB
          Marios Andreou

        Activity

          People

            rlandy Ronelle Landy
            rlandy Ronelle Landy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: