[
https://issues.apache.org/jira/browse/DTACLOUD-430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561747#comment-13561747
]
Marios Andreou commented on DTACLOUD-430:
-----------------------------------------
OK <breathe> :
* reproducible on 1.8.7
* GET /cimi/network_configurations actually works now. but.
* GET /cimi/cloudEntryPoint explodes
* brute force bisection lead me to the offending commit #
1773ecc930216df0baa588a42ead7c7e94e76986
* A number of files are edited in this commit. I narrowed it down to
server/lib/cimi/collections/volume_templates.rb - i.e. the collection
definition for volume_templates. I mean, by 'git reset' and 'git checkout' the
changes in this file, GET /cimi/cloudEntryPoint works again.
* you can actually pull latest master - and delete
server/lib/cimi/collections/volume_templates.rb - to make everything work
again. i can't see what's special about this definition.
* still under investigation
* The actual stack trace reads:
[root@qeblade39 server]# ./bin/deltacloudd -i mock -f cimi
Starting Deltacloud API :: mock :: http://localhost:3001/cimi/cloudEntryPoint
>> Thin web server (v1.5.0 codename Knife)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3001, CTRL+C to stop
E, [2013-01-24T10:51:33.785146 #23984] ERROR -- 500: [SystemStackError] stack
level too deep
/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:1236:in `full_gem_path'
/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:956:in
`contains_requirable_file?'
/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:442:in `find_by_path'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `find'
/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:410:in `each'
/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:409:in `each'
/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:441:in `find'
/usr/lib/ruby/site_ruby/1.8/rubygems/specification.rb:441:in `find_by_path'
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:203:in `try_activate'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:58:in `require'
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/runner.rb:16
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.8/gems/require_relative-1.0.3/lib/require_relative.rb:28:in
`require_relative'
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/drivers/mock/mock_driver.rb:24
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
`gem_original_require'
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/usr/lib/ruby/gems/1.8/gems/require_relative-1.0.3/lib/require_relative.rb:28:in
`require_relative'
/home/dcloud/workspace/deltacloud/server/lib/deltacloud/helpers/driver_helper.rb:59:in
`driver'
/home/dcloud/workspace/deltacloud/server/lib/cimi/collections/volumes.rb:19:in
`capability'
/home/dcloud/workspace/deltacloud/server/lib/cimi/models/cloud_entry_point.rb:57:in
`entities'
SystemStackError - stack level too deep:
/usr/lib/ruby/gems/1.8/gems/haml-3.1.7/lib/haml/shared.rb:44:in
`balance'
/usr/lib/ruby/gems/1.8/gems/haml-3.1.7/lib/haml/parser.rb:692:in
`balance'
> GET /cimi/network_configurations errors out - [SystemStackError] stack
> level too deep
> ---------------------------------------------------------------------------------------
>
> Key: DTACLOUD-430
> URL: https://issues.apache.org/jira/browse/DTACLOUD-430
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: Deltacloud commit version:
> 72309806b704aad45b4812eb2cecda9238c52768
> cimi front end
> mock driver
> Reporter: Ronelle Landy
> Assignee: Marios Andreou
>
> >> 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>
--
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