deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronelle Landy (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DTACLOUD-505) CIMI/Deltacloud: Starting deltacloud server with multiple frontend fails - depends on order of arguments
Date Mon, 04 Mar 2013 19:51:12 GMT

     [ https://issues.apache.org/jira/browse/DTACLOUD-505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ronelle Landy closed DTACLOUD-505.
----------------------------------

    Resolution: Fixed
      Assignee: Michal Fojtik

Fixed in sinatra-rabbit 1.1.6:

>> ./bin/deltacloudd -i mock -f deltacloud,cimi,ec2
Starting Deltacloud API :: mock :: http://localhost:3001/api
>> Thin web server (v1.5.0 codename Knife)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3001, CTRL+C to stop
127.0.0.1 - - [04/Mar/2013 14:47:28] "GET /cimi/cloudEntryPoint HTTP/1.1" 200 1879 0.1324
127.0.0.1 - - [04/Mar/2013 14:47:35] "GET /cimi/cloudEntryPoint?format=xml HTTP/1.1" 200 2011
0.0162
^C>> Stopping ...

>>  gem query |grep rabbit
sinatra-rabbit (1.1.6)
[root@cloud-qe-7 server]# 

                
> CIMI/Deltacloud: Starting deltacloud server with multiple frontend fails - depends on
order of arguments
> --------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-505
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-505
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Server
>         Environment: deltacloud commit version: 75e3db4c37ad7b9b5e2b7580f293ce9d6fd2c7c6
> sinatra-rabbit-1.1.5
> mock provider
> multiple frontends
>            Reporter: Ronelle Landy
>            Assignee: Michal Fojtik
>
> There is a problem starting Deltacloud server with both the native (deltacloud) and cimi
frontends. Interesting enough, the error (stack trace) only happens if a use passes the -f
argments with deltacloud before cimi ....
> Passing ' -f cimi,deltacloud,ec2' works:
>     [root@cloud-qe-7 server]# ./bin/deltacloudd -f cimi,deltacloud,ec2 -i mock
>     Starting Deltacloud API :: mock :: http://localhost:3001/api
>      
>     >> Thin web server (v1.5.0 codename Knife)
>     >> Debugging ON
>     >> Maximum connections set to 1024
>     >> Listening on localhost:3001, CTRL+C to stop
>     ^C>> Stopping ...
> Passing  -f deltacloud,cimi,ec2 errors:
>     [root@cloud-qe-7 server]# ./bin/deltacloudd -f deltacloud,cimi,ec2 -i mock
>     Starting Deltacloud API :: mock :: http://localhost:3001/api
>      
>     /usr/local/share/gems/gems/sinatra-rabbit-1.1.5/lib/sinatra/rabbit/base_collection.rb:54:in
`collection_class': uninitialized constant CIMI::Rabbit (NameError)
>             from /usr/local/share/gems/gems/sinatra-rabbit-1.1.5/lib/sinatra/rabbit/dsl.rb:34:in
`collection'
>             from /home/dcloud/workspace/deltacloud/server/lib/cimi/collections/network_configurations.rb:21:in
`<class:NetworkConfigurations>'
>             from /home/dcloud/workspace/deltacloud/server/lib/cimi/collections/network_configurations.rb:17:in
`<module:Collections>'
>             from /home/dcloud/workspace/deltacloud/server/lib/cimi/collections/network_configurations.rb:16:in
`<top (required)>'
>             from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
>             from /usr/share/rubygems/rubygems/custom_require.rb:36:in `require'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/collection_helper.rb:83:in
`block in load_collections_for'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/collection_helper.rb:80:in
`each'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/collection_helper.rb:80:in
`load_collections_for'
>             from /home/dcloud/workspace/deltacloud/server/lib/cimi/collections.rb:25:in
`<module:Collections>'
>             from /home/dcloud/workspace/deltacloud/server/lib/cimi/collections.rb:22:in
`<module:CIMI>'
>             from /home/dcloud/workspace/deltacloud/server/lib/cimi/collections.rb:20:in
`<top (required)>'
>             from /home/dcloud/workspace/deltacloud/server/lib/cimi/server.rb:24:in `require_relative'
>             from /home/dcloud/workspace/deltacloud/server/lib/cimi/server.rb:24:in `<top
(required)>'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:42:in
`require_relative'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:42:in
`require_frontend!'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:151:in
`require!'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:67:in
`block in generate_routes'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:61:in
`each'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:61:in
`inject'
>             from /home/dcloud/workspace/deltacloud/server/lib/deltacloud_rack.rb:61:in
`generate_routes'
>             from /home/dcloud/workspace/deltacloud/server/config.ru:38:in `block in <main>'
>             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 /home/dcloud/workspace/deltacloud/server/config.ru:1:in `new'
>             from /home/dcloud/workspace/deltacloud/server/config.ru:1:in `<main>'
>             from /usr/local/share/gems/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in
`eval'
>             from /usr/local/share/gems/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in
`load'
>             from /usr/local/share/gems/gems/thin-1.5.0/lib/thin/controllers/controller.rb:181:in
`load_rackup_config'
>             from /usr/local/share/gems/gems/thin-1.5.0/lib/thin/controllers/controller.rb:71:in
`start'
>             from /usr/local/share/gems/gems/thin-1.5.0/lib/thin/runner.rb:187:in `run_command'
>             from /usr/local/share/gems/gems/thin-1.5.0/lib/thin/runner.rb:152:in `run!'
>             from ./bin/deltacloudd:250:in `<main>'
>     [root@cloud-qe-7 server]#

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message