Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-9021

cbhealthchecker shows error: global name 'bucketinfo' is not defined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 2.2.0
    • 2.2.0
    • tools
    • Security Level: Public
    • None
    • Centos 64-bit

    Description

      [root@localhost tmp]# sudo /opt/couchbase/bin/cbhealthchecker -u Administrator -p password -c 10.3.121.105:8091
      bucket: bucket0
      node: 10.3.121.105 11210
      .................................
      ..................................................................
      ...................................................................................................
      ....................................................................................................................................
      .....................................................................................................................................................................
      ......................................................................................................................................................................................................
      Exception launched when processing counter: activeReplicaResidentRatio
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/analyzer.py", line 99, in run_analysis
      result = eval("%s.%s().run(counter, scale, threshold.%s)" % (package_name, counter['code'], capsule_name))
      File "<string>", line 0, in ?
      File "/opt/couchbase/lib/python/cluster_stats.py", line 170, in run
      numReplica = bucketinfo['numReplica']
      NameError: global name 'bucketinfo' is not defined

      The run finished successfully.
      Please find html output at '/tmp/reports/2013-09-02_00-43-12/c_oneWeekMemoryGrowth_10_3_121_105_8091.html' and text output at '/tmp/reports/2013-09-02_00-43-12/week.txt'.
      Exception launched when processing counter: activeReplicaResidentRatio
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/analyzer.py", line 99, in run_analysis
      result = eval("%s.%s().run(counter, scale, threshold.%s)" % (package_name, counter['code'], capsule_name))
      File "<string>", line 0, in ?
      File "/opt/couchbase/lib/python/cluster_stats.py", line 170, in run
      numReplica = bucketinfo['numReplica']
      NameError: global name 'bucketinfo' is not defined

      The run finished successfully.
      Please find html output at '/tmp/reports/2013-09-02_00-43-12/c_oneHourMemoryGrowth_10_3_121_105_8091.html' and text output at '/tmp/reports/2013-09-02_00-43-12/hour.txt'.
      Exception launched when processing counter: activeReplicaResidentRatio
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/analyzer.py", line 99, in run_analysis
      result = eval("%s.%s().run(counter, scale, threshold.%s)" % (package_name, counter['code'], capsule_name))
      File "<string>", line 0, in ?
      File "/opt/couchbase/lib/python/cluster_stats.py", line 170, in run
      numReplica = bucketinfo['numReplica']
      NameError: global name 'bucketinfo' is not defined

      The run finished successfully.
      Please find html output at '/tmp/reports/2013-09-02_00-43-12/c_oneMonthMemoryGrowth_10_3_121_105_8091.html' and text output at '/tmp/reports/2013-09-02_00-43-12/month.txt'.
      Exception launched when processing counter: activeReplicaResidentRatio
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/analyzer.py", line 99, in run_analysis
      result = eval("%s.%s().run(counter, scale, threshold.%s)" % (package_name, counter['code'], capsule_name))
      File "<string>", line 0, in ?
      File "/opt/couchbase/lib/python/cluster_stats.py", line 170, in run
      numReplica = bucketinfo['numReplica']
      NameError: global name 'bucketinfo' is not defined

      The run finished successfully.
      Please find html output at '/tmp/reports/2013-09-02_00-43-12/c_nineMonthMemoryGrowth_10_3_121_105_8091.html' and text output at '/tmp/reports/2013-09-02_00-43-12/year.txt'.
      Exception launched when processing counter: activeReplicaResidentRatio
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/analyzer.py", line 99, in run_analysis
      result = eval("%s.%s().run(counter, scale, threshold.%s)" % (package_name, counter['code'], capsule_name))
      File "<string>", line 0, in ?
      File "/opt/couchbase/lib/python/cluster_stats.py", line 170, in run
      numReplica = bucketinfo['numReplica']
      NameError: global name 'bucketinfo' is not defined

      The run finished successfully.
      Please find html output at '/tmp/reports/2013-09-02_00-43-12/c_oneDayMemoryGrowth_10_3_121_105_8091.html' and text output at '/tmp/reports/2013-09-02_00-43-12/day.txt'.
      Exception launched when processing counter: activeReplicaResidentRatio
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/analyzer.py", line 99, in run_analysis
      result = eval("%s.%s().run(counter, scale, threshold.%s)" % (package_name, counter['code'], capsule_name))
      File "<string>", line 0, in ?
      File "/opt/couchbase/lib/python/cluster_stats.py", line 170, in run
      numReplica = bucketinfo['numReplica']
      NameError: global name 'bucketinfo' is not defined

      The run finished successfully.
      Please find html output at '/tmp/reports/2013-09-02_00-43-12/minute.html' and text output at '/tmp/reports/2013-09-02_00-43-12/minute.txt'.
      [root@localhost tmp]#

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bcui Bin Cui (Inactive)
            iryna iryna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty