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

cbstats doesn't work on RHEL5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.1.0
    • 3.0.3
    • tools
    • Security Level: Public
    • None
    • RHEL5.x
    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      cbstats doesn't work on RHEL 5.x - it fails with:

      ImportError: No module named json
      

      This is particularly problematic as cbstats is used by cbcollect_info to generate the stats.log file - due to this problem the stats.log file contains no useful stats. Instead we just see a series of error messages of the form:

      ==============================================================================
      memcached stats all
      ['cbstats', '-a', '127.0.0.1:11210', 'all', '-b', '_admin', '-p', '5f3292114a495990771cb438e56580d8']
      ==============================================================================
      Traceback (most recent call last):
        File "/opt/couchbase/lib/python/cbstats", line 9, in ?
          import json
      ImportError: No module named json
      ...
      

      Attachments

        Issue Links

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

          Activity

            People

              bcui Bin Cui (Inactive)
              drigby Dave Rigby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty