You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Marios Andreou (JIRA)" <ji...@apache.org> on 2012/11/06 13:54:12 UTC

[jira] [Closed] (DTACLOUD-350) cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage

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

Marios Andreou closed DTACLOUD-350.
-----------------------------------

    
> 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