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

"deltacloudc index <collection>" errors out - `const_get': uninitialized constant DeltaCloud::PlainFormatter::FormatObject::<collection> (NameError)

    XMLWordPrintableJSON

Details

    Description

      >> Running command with 'instances' collection works ...
      [root@qe-blade-14 ~]# /home/dcloud/workspace/deltacloud/client/bin/deltacloudc instances index -u http://qe-blade-14.idm.lab.bos.redhat.com:3005/api -U <un> -P <pw>
      i-70002017 | ami-2547a34c | ami-2547a34c | RUNNING | ec2-107-21-158-212.compute-1.ama | ip-10-116-87-1.ec2.internal

      >> Running command with 'keys' collection errors:
      /home/dcloud/workspace/deltacloud/client/bin/deltacloudc keys index -u http://qe-blade-14.idm.lab.bos.redhat.com:3005/api -U <un> -P <pw>
      /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.5.0/lib/plain_formatter.rb:131:in `const_get': uninitialized constant DeltaCloud::PlainFormatter::FormatObject::Key (NameError)
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.5.0/lib/plain_formatter.rb:131:in `format'
      from /home/dcloud/workspace/deltacloud/client/bin/deltacloudc:160
      from /home/dcloud/workspace/deltacloud/client/bin/deltacloudc:159:in `each'
      from /home/dcloud/workspace/deltacloud/client/bin/deltacloudc:159

      >> And errors with load balancers
      /home/dcloud/workspace/deltacloud/client/bin/deltacloudc load_balancers index -u http://qe-blade-14.idm.lab.bos.redhat.com:3005/api -U <un> -P <pw>
      /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.5.0/lib/plain_formatter.rb:131:in `const_get': uninitialized constant DeltaCloud::PlainFormatter::FormatObject::LoadBalancer (NameError)
      from /usr/lib/ruby/gems/1.8/gems/deltacloud-client-0.5.0/lib/plain_formatter.rb:131:in `format'
      from /home/dcloud/workspace/deltacloud/client/bin/deltacloudc:160
      from /home/dcloud/workspace/deltacloud/client/bin/deltacloudc:159:in `each'
      from /home/dcloud/workspace/deltacloud/client/bin/deltacloudc:159
      [root@qe-blade-14 logs]#

      Attachments

        Activity

          People

            mfojtik Michal Fojtik
            rlandy Ronelle Landy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: