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

couchbase-cli rebalance failed to skip to display progress bar if --no-progress-bar flag is included

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.0
    • 5.0.0
    • tools
    • None
    • Windows 2012 R2 64-bit
    • Untriaged
    • Windows 64-bit
    • Unknown

    Description

      Install Couchbase Server 5.0.0-3497 on a Windows Server 2012 R2 64-bit
      Run command:

      C:\Program Files\Couchbase\Server\bin>.\couchbase-cli.exe rebalance -c 172.23.109.194 -u Administrator -p password --no-progress-bar
      Unable to display progress bar, terminal with must be at least 80 columns
      SUCCESS: Rebalance complete
      

      The command checked on terminal width and throw a false alarm (since windows width default with 80)

      This checking leads to the failure in tests in couchbase-cli command which relates to display bars in cygwin environment

      $ /cygdrive/c/Program\ Files/Couchbase/Server/bin/couchbase-cli.exe rebalance -c 172.23.109.194 -u Administrator -p password --no-progress-bar
      Traceback (most recent call last):
        File "couchbase-cli", line 20, in <module>
          print "hello"
        File "couchbase-cli", line 15, in main
          cli.execute(args)
        File "cbmgr.pyc", line 357, in execute
        File "cbmgr.pyc", line 1377, in execute
        File "pbar.pyc", line 122, in __init__
      TypeError: 'NoneType' object is not iterable
      

      Live node is at 172.23.109.194

      I will check on what build the test was passed

      Attachments

        For Gerrit Dashboard: MB-25755
        # Subject Branch Project Status CR V

        Activity

          People

            Prerna.Manaktala Prerna Manaktala (Inactive)
            thuan Thuan Nguyen
            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