Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-215

method_missing 'storage' when listing hwps with CLI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Client (Ruby)
    • None
    • current master (7bc7e8a431a7e78cfeb6306abb023f551bc65ddd) with Marios' patch for hwp ordering (36b161ab8f96c42cf8f1cf825c8102f396cd2a49) applied, running with fgcp driver

    Description

      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).

      Attachments

        Activity

          People

            mfojtik Michal Fojtik
            dkoper Dies Koper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: