You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Dies Koper (JIRA)" <ji...@apache.org> on 2012/06/29 04:09:44 UTC
[jira] [Commented] (DTACLOUD-245) FGCP/DMTF: undefined method
`value' for hardware profile as storage is not specified
[ https://issues.apache.org/jira/browse/DTACLOUD-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13403658#comment-13403658 ]
Dies Koper commented on DTACLOUD-245:
-------------------------------------
I have confirmed that with the patch this error goes away and cimi/machine_configurations is displayed correctly.
However, but cimi/machines fails, same cause?
NoMethodError - undefined method `first' for nil:NilClass:
d:/sources/OSS/cloud/deltacloud/server/lib/cimi/./././models/machine.rb:193:in `convert_instance_storage'
in:
:quantity => storage_override.nil? ? machine_conf.disks.first[:capacity][:quantity] : storage_override[1],
> FGCP/DMTF: undefined method `value' for hardware profile as storage is not specified
> ------------------------------------------------------------------------------------
>
> Key: DTACLOUD-245
> URL: https://issues.apache.org/jira/browse/DTACLOUD-245
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server
> Environment: fgcp driver and cimi interface
> Reporter: Dies Koper
> Assignee: Marios Andreou
> Attachments: 0001-CIMI-Adds-guards-in-conversion-of-hardware_profile-t.patch
>
>
> cimi/machine_configurations gives error page with fgcp driver.
> In fgcp, hardware profiles do not define the storage size, that depends on the image you launch.
> So the storage field is not set, which leads to a nice(?) 'empty' symbol in the DC UI.
> machine_configuration.rb:56 is expecting a value for storage.
> Where should this be fixed? Nil check in dmtf server or set a value (what?) in fgcp driver?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira