deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marios Andreou (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DTACLOUD-383) cimi: can't list volumes anymore with fgcp
Date Thu, 29 Nov 2012 08:08:59 GMT

     [ https://issues.apache.org/jira/browse/DTACLOUD-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marios Andreou resolved DTACLOUD-383.
-------------------------------------

    Resolution: Fixed

thanks Dies - pushed as commit 9ef964c5d35712581f8e02065a2da901249b274b
                
> 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
>            Assignee: Marios Andreou
>         Attachments: 0001-cimi-exclude-created-attribute-from-volume-if-not-re.patch
>
>
> 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

Mime
View raw message