[ https://issues.apache.org/jira/browse/DTACLOUD-559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660585#comment-13660585 ]
Dies Koper commented on DTACLOUD-559: ------------------------------------- FYI, pushed a unit test to reproduce the error in commit 8b7ca16ca9ace99a58ab95f653b7b92530905bd1. With Joe's PR above the unit test passes, but Marios suggested that we investigate the root cause deeper as part of this PR's review. > cimi: system_machines giving runtime error: Collection > CIMI::Model::System::SystemMachineCollection must have one of id and href set > ------------------------------------------------------------------------------------------------------------------------------------ > > Key: DTACLOUD-559 > URL: https://issues.apache.org/jira/browse/DTACLOUD-559 > Project: DeltaCloud > Issue Type: Bug > Components: CIMI/Frontend > Environment: mock, fgcp providers > Reporter: Dies Koper > Assignee: Joseph J. VLcek > > Starting DC with: > bin\deltacloudd -i mock -f cimi > running: > curl --user mockuser:mockpassword > "http://localhost:3001/cimi/systems/system1/machines?format=xml" > gives: > E, [2013-05-15T14:53:34.308029 #14352] ERROR -- 500: [RuntimeError] > Collection CIMI::Model::System::SystemMachineCollection must have one of id > and href set > d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/collection.rb:79:in > `prepare' > d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/schema.rb:394:in > `to_xml' > ... > This is a recent regression, it worked at the time of the plugfest. > Also, when I revert the following two commits, the error goes away and system > machines are returned again: > 959cc62 Changes needed to adapt to using a hash to contain all root entry > point, vs the acts_as_root_entity method. Refactor > service/cloud_entry_point.rb b > ased on input from Michal Fojtik. Huge Thanks! Michal Fojtik! > aa9a232 CIMI - Remove credentialTemplates from CEP COLLECTIONS. Use > ruby style hash iteration on CEP COLLECTIONS. Fix typos uncovered > during > testing. -- 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