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 5E036E12A for ; Thu, 29 Nov 2012 07:01:09 +0000 (UTC) Received: (qmail 8352 invoked by uid 500); 29 Nov 2012 07:01:07 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 8108 invoked by uid 500); 29 Nov 2012 07:01:06 -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 8057 invoked by uid 99); 29 Nov 2012 07:01:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 07:01:04 +0000 Date: Thu, 29 Nov 2012 07:01:04 +0000 (UTC) From: "Dies Koper (JIRA)" To: dev@deltacloud.apache.org Message-ID: <1570982790.38503.1354172464693.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (DTACLOUD-383) cimi: can't list volumes anymore with fgcp MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Dies Koper created DTACLOUD-383: ----------------------------------- Summary: cimi: can't list volumes anymore with fgcp Key: DTACLOUD-383 URL: https://issues.apache.org/jira/browse/DTACLOUD-383 Project: DeltaCloud Issue Type: Bug Components: Native/Frontend Reporter: Dies Koper curl --user "user:pwd" http://localhost:3001/cimi/volumes?format=xml E, [2012-11-29T15:45:31.419863 #5528] ERROR -- 500: [TypeError] can't dup NilClass D:/programs/Ruby187/lib/ruby/1.8/date/format.rb:1055:in `dup' D:/programs/Ruby187/lib/ruby/1.8/date/format.rb:1055:in `_parse' D:/programs/Ruby187/lib/ruby/1.8/time.rb:240:in `parse' d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/volume.rb:83:in `from_storage_volume' d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/volume.rb:44:in `find' This line: :created => Time.parse(volume.created).xmlschema, Fgcp driver doesn't set :created on volume because the backend doesn't return it. I suppose the same error would occur on RHEVM. created attribute is not mandatory in Cimi so it should just omit it when the driver doesn't return it. -- 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