DeltaCloud
  1. DeltaCloud
  2. DTACLOUD-199

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

    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]#

        Activity

        Hide
        Michal Fojtik added a comment -

        Issue should be resolved in 1a4b46e3712941cb19ff8d2d8054362fc445de0f

        commit 1a4b46e3712941cb19ff8d2d8054362fc445de0f
        Author: Michal Fojtik <mfojtik@redhat.com>
        Date: Thu Apr 26 16:22:25 2012 +0200

        Client: Added formatter for Key collection (DTACLOUD-199)

        Show
        Michal Fojtik added a comment - Issue should be resolved in 1a4b46e3712941cb19ff8d2d8054362fc445de0f commit 1a4b46e3712941cb19ff8d2d8054362fc445de0f Author: Michal Fojtik <mfojtik@redhat.com> Date: Thu Apr 26 16:22:25 2012 +0200 Client: Added formatter for Key collection ( DTACLOUD-199 )
        Hide
        Ronelle Landy added a comment -

        Still broken in deltacloud commit: a6876a9675847af85ba0290c081479903fbb8367:

        >> /home/dcloud/workspace/deltacloud/client/bin/deltacloudc keys index -u http://qe-blade-02.idm.lab.bos.redhat.com:3006/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
        [root@qe-blade-02 ~]#

        Show
        Ronelle Landy added a comment - Still broken in deltacloud commit: a6876a9675847af85ba0290c081479903fbb8367: >> /home/dcloud/workspace/deltacloud/client/bin/deltacloudc keys index -u http://qe-blade-02.idm.lab.bos.redhat.com:3006/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 [root@qe-blade-02 ~] #
        Hide
        Ronelle Landy added a comment -

        Closing this issue out as deltacloudc is not longer under active support.

        Show
        Ronelle Landy added a comment - Closing this issue out as deltacloudc is not longer under active support.

          People

          • Assignee:
            Michal Fojtik
            Reporter:
            Ronelle Landy
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development