Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5EAA6D23F for ; Tue, 21 May 2013 08:35:38 +0000 (UTC) Received: (qmail 71665 invoked by uid 500); 21 May 2013 08:35:37 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 71227 invoked by uid 500); 21 May 2013 08:35:28 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 71128 invoked by uid 99); 21 May 2013 08:35:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 May 2013 08:35:24 +0000 Date: Tue, 21 May 2013 08:35:24 +0000 (UTC) From: "Marios Andreou (JIRA)" To: dev@deltacloud.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (DTACLOUD-559) cimi: system_machines giving runtime error: Collection CIMI::Model::System::SystemMachineCollection must have one of id and href set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou reassigned DTACLOUD-559: --------------------------------------- Assignee: Dies Koper (was: Joseph J. VLcek) > 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