deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dies Koper (JIRA)" <>
Subject [jira] [Commented] (DTACLOUD-245) FGCP/DMTF: undefined method `value' for hardware profile as storage is not specified
Date Fri, 29 Jun 2012 02:09:44 GMT


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'

          :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:
>             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:!default.jspa
For more information on JIRA, see:


View raw message