deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michal Fojtik (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DTACLOUD-350) cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage
Date Mon, 22 Oct 2012 14:16:14 GMT

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

Michal Fojtik resolved DTACLOUD-350.
------------------------------------

    Resolution: Fixed

This patch should fix the issue:

http://tracker.deltacloud.org/set/100
                
> cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when
instance_profile has no storage
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: DTACLOUD-350
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-350
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: CIMI/Frontend
>            Reporter: Dies Koper
>            Assignee: Michal Fojtik
>
> fgcp does not define storage in hardware_profiles.
> curl http://localhost:3001/cimi/machines?format=xml
> causes
> ERROR -- 500: [NoMethodError] undefined method `[]' for nil:NilClass
> d:/sources/OSS/cloud/deltacloud/server/lib/cimi/models/disk.rb:31:in `find'

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