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

Marios Andreou reassigned DTACLOUD-383:
---------------------------------------

    Assignee: Marios Andreou
    
> 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

Reply via email to