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

Arubacloud Savon issue: odd number list for Hash (SyntaxError)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: Server
    • Labels:
      None
    • Environment:

      Description

      This is the workflow I used:

      • Deltacloud started with Arubacloud driver
      • the web interface is accessed (or curl command to list images/instances used)

      The following error is returned.
      I tried to revert arubadriver.rb to the version with client = Savon.client(wsdl: wsdl) but it did not help much.

      deltacloudd -V -r 0.0.0.0 -p 10000 -i arubacloud
      Starting Deltacloud API :: arubacloud :: http://0.0.0.0:10000/api

      /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `gem_original_require': /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/drivers/arubacloud/arubacloud_driver.rb:307: odd number list for Hash (SyntaxError)
      client = Savon.client(

      {wsdl: wsdl, log: false}

      )
      ^
      /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/drivers/arubacloud/arubacloud_driver.rb:307: syntax error, unexpected ':', expecting '}'
      client = Savon.client(

      {wsdl: wsdl, log: false}

      )
      ^
      /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/drivers/arubacloud/arubacloud_driver.rb:307: syntax error, unexpected ':', expecting '='
      client = Savon.client(

      {wsdl: wsdl, log: false}

      )
      ^
      from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `require'
      from /usr/lib/ruby/gems/1.8/gems/require_relative-1.0.3/lib/require_relative.rb:28:in `require_relative'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/helpers/driver_helper.rb:59:in `driver'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/collections/buckets.rb:23
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/base.rb:343:in `call'
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/base.rb:343:in `generate'
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/base.rb:341:in `each'
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/base.rb:341:in `generate'
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/base.rb:234:in `operation'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/collections/buckets.rb:124
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/base.rb:108:in `class_eval'
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/base.rb:108:in `generate'
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/dsl.rb:36:in `collection'
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/base_collection.rb:56:in `collection_class'
      from /usr/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.2/lib/sinatra/rabbit/dsl.rb:34:in `collection'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/collections/buckets.rb:119
      from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `gem_original_require'
      from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `require'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/collections.rb:42
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/collections.rb:39:in `each'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/collections.rb:39
      from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `gem_original_require'
      from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `require'
      from /usr/lib/ruby/gems/1.8/gems/require_relative-1.0.3/lib/require_relative.rb:28:in `require_relative'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud/server.rb:26
      from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `gem_original_require'
      from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:55:in `require'
      from /usr/lib/ruby/gems/1.8/gems/require_relative-1.0.3/lib/require_relative.rb:28:in `require_relative'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud_rack.rb:42:in `require_frontend!'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/lib/deltacloud_rack.rb:129:in `require!'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/config.ru:62
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/config.ru:56:in `each'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/config.ru:56
      from /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
      from /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/config.ru:1:in `new'
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.1.1/config.ru:1

        Attachments

          Activity

            People

            • Assignee:
              marios Marios Andreou
              Reporter:
              bojmen Bojan Suzic
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: