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

Starting Deltacloud with webrick fails when using a gem install

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: Server
    • Labels:
      None
    • Environment:
      deltacloud core gem 1.1.3 - under test
      webrick (rather than thin)

      Description

      Logging this for tracking into the gem release time frame .... to be fixed later

      Starting deltacloud server with webrick fails - unless I am in the gem directory (rare for a gem install user)

      • If I am in the gem directory - it works ...

      [root@cloud-qe-4 deltacloud-core-1.1.3]# deltacloudd -i mock -f cimi -w
      Starting Deltacloud API :: mock :: http://localhost:3001/cimi/cloudEntryPoint
      => Ctrl-C to shutdown server
      [2013-04-15 09:42:01] INFO WEBrick 1.3.1
      [2013-04-15 09:42:01] INFO ruby 1.9.3 (2013-02-22) [x86_64-linux]
      [2013-04-15 09:42:01] INFO WEBrick::HTTPServer#start: pid=9131 port=3001
      ^C[2013-04-15 09:42:15] INFO going to shutdown ...
      [2013-04-15 09:42:15] INFO WEBrick::HTTPServer#start done.
      [root@cloud-qe-4 deltacloud-core-1.1.3]# pwd
      /usr/local/share/gems/gems/deltacloud-core-1.1.3

      As soon as I cd out of there, it fails ....

      [root@cloud-qe-4 deltacloud-core-1.1.3]# cd /
      [root@cloud-qe-4 /]# deltacloudd -i mock -f cimi -w
      Starting Deltacloud API :: mock :: http://localhost:3001/cimi/cloudEntryPoint
      config.ru:17:in `load': cannot load such file – ./lib/initialize.rb (LoadError)
      from config.ru:17:in `block in <top (required)>'
      from /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
      from /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
      from config.ru:1:in `new'
      from config.ru:1:in `<top (required)>'
      from /usr/local/share/gems/gems/deltacloud-core-1.1.3/bin/deltacloudd:197:in `eval'
      from /usr/local/share/gems/gems/deltacloud-core-1.1.3/bin/deltacloudd:197:in `<top (required)>'
      from /usr/local/bin/deltacloudd:23:in `load'
      from /usr/local/bin/deltacloudd:23:in `<main>'

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rlandy Ronelle Landy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: