You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "David Lutterkort (JIRA)" <ji...@apache.org> on 2012/05/22 21:33:41 UTC
[jira] [Assigned] (DTACLOUD-215) method_missing 'storage' when
listing hwps with CLI
[ https://issues.apache.org/jira/browse/DTACLOUD-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Lutterkort reassigned DTACLOUD-215:
-----------------------------------------
Assignee: Michal Fojtik (was: David Lutterkort)
> method_missing 'storage' when listing hwps with CLI
> ---------------------------------------------------
>
> Key: DTACLOUD-215
> URL: https://issues.apache.org/jira/browse/DTACLOUD-215
> Project: DeltaCloud
> Issue Type: Bug
> Components: Client (Ruby)
> Environment: current master (7bc7e8a431a7e78cfeb6306abb023f551bc65ddd) with Marios' patch for hwp ordering (36b161ab8f96c42cf8f1cf825c8102f396cd2a49) applied, running with fgcp driver
> Reporter: Dies Koper
> Assignee: Michal Fojtik
>
> d:\sources\OSS\cloud\deltacloud\client>ruby bin\deltacloudc -U my -P pwd -u http://localhost:3001/api hardware_profiles
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/deltacloud-client-0.5.0/lib/base_object.rb:156:in `method_missing': undefined method `storage' for #<DeltaCloud::API::Base::HardwareProfile:0x4d07090> (NoMethodError)
> from D:/programs/Ruby187/lib/ruby/gems/1.8/gems/deltacloud-client-0.5.0/lib/plain_formatter.rb:53:in `format'
> from D:/programs/Ruby187/lib/ruby/gems/1.8/gems/deltacloud-client-0.5.0/lib/plain_formatter.rb:132:in `format'
> from bin/deltacloudc:160
> from bin/deltacloudc:159:in `each'
> from bin/deltacloudc:159
> lists fine in GUI.
> In case it's relevant, FGCP's hwps do not set the :storage attribute as storage is not part of the hwp (storage size depends on the chosen image).
--
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