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] [Commented] (DTACLOUD-350) cimi: undefined method `[]' for nil:NilClass in cimi/models/disk.rb:28:in `find' when instance_profile has no storage
Date Tue, 06 Nov 2012 12:54:12 GMT

    [ https://issues.apache.org/jira/browse/DTACLOUD-350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491425#comment-13491425
] 

Marios Andreou commented on DTACLOUD-350:
-----------------------------------------

above patch was pushed as commit e830868d40e111277c38ed8db0be5133355ea1a6

closing issue.
                
> 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