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

reset-admin-password when set invalid param: NameError: global name 'GetoptError' is not defined

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 4.6.0
    • 4.6.0
    • tools
    • None
    • 4.6.0-3532
    • Untriaged
    • Unknown

    Description

      [root@centos-64-x64 bin]# ./couchbase-cli reset-admin-password -c 172.23.106.88:8091 -u Administrator -p password --aaa
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/couchbase-cli", line 385, in <module>
      main()
      File "/opt/couchbase/lib/python/couchbase-cli", line 258, in main
      'delete-users=',
      File "/usr/lib64/python2.6/getopt.py", line 89, in getopt
      opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
      File "/opt/couchbase/lib/python/couchbase-cli", line 66, in _do_longs
      has_arg, opt = _long_has_args(opt, longopts)
      File "/opt/couchbase/lib/python/couchbase-cli", line 34, in _long_has_args
      raise GetoptError(_('option --%s not recognized') % opt, opt)
      NameError: global name 'GetoptError' is not defined

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            andreibaranouski Andrei Baranouski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty