deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dies Koper (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DTACLOUD-559) cimi: system_machines giving runtime error: Collection CIMI::Model::System::SystemMachineCollection must have one of id and href set
Date Wed, 15 May 2013 05:03:15 GMT
Dies Koper created DTACLOUD-559:
-----------------------------------

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


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

Mime
View raw message