[ https://issues.apache.org/jira/browse/DTACLOUD-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marios Andreou closed DTACLOUD-559. ----------------------------------- > 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: Dies Koper > > 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