deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DTACLOUD-496) /api/addresses returns 500 when cimi frontend is also enabled
Date Thu, 07 Mar 2013 13:56:13 GMT

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

Michal Fojtik closed DTACLOUD-496.
----------------------------------

    Resolution: Duplicate
      Assignee: Michal Fojtik

This is a duplicate of https://issues.apache.org/jira/browse/DTACLOUD-500
                
> /api/addresses returns 500 when cimi frontend is also enabled
> -------------------------------------------------------------
>
>                 Key: DTACLOUD-496
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-496
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>         Environment: mock driver and fgcp driver
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>
> When I start DC with bin\deltacloudd -f cimi,deltacloud -i mock
> and make the following request:
> curl --user mockuser:mockpassword http://localhost:3001/api/addresses?format=xml
> I get a 500:
> E, [2013-02-23T11:44:55.881341 #13708] ERROR -- 500: [NoMethodError] undefined method
`deltacloud_create_method_for' for #<Deltacloud::Collections::Addresses:0x
> ad7f5b8>
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/collection.rb:131:in `list'
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/collections/addresses.rb:28
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.4/lib/sinatra/rabbit/base.rb:396:in
`instance_eval'
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.4/lib/sinatra/rabbit/base.rb:396:in
`GET /addresses'
> Note that I'm making a request to the DC API front-end, not CIMI.
> Also, when I start DC with  -f deltacloud,cimi (i.e. cimi last), I get no error.
> When I use the fgcp driver, I get a slightly different error:
> E, [2013-02-23T11:44:39.804733 #14824] ERROR -- 500: [NameError] uninitialized constant
CIMI::Model::Address::IPAddr
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/address.rb:76:in `protocol_from_address'
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/address.rb:68:in `from_address'
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/address.rb:45:in `find'
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/address.rb:45:in `map'
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/address.rb:45:in `find'
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/collection.rb:124:in `list'
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/collections/addresses.rb:28
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.4/lib/sinatra/rabbit/base.rb:396:in
`instance_eval'
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/sinatra-rabbit-1.1.4/lib/sinatra/rabbit/base.rb:396:in
`GET /addresses'

--
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