[
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