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

cbworkloadgen does not load items if sasl bucket saved password with space in its phase

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.1, 2.1.0
    • Fix Version/s: bug-backlog
    • Component/s: tools
    • Security Level: Public
    • Labels:
      None
    • Environment:
      mac osx 10.7.4
      It may not work in other env
    • Triage:
      Untriaged

      Description

      create sasl bucket and save it with password that has space in it (like "pass word")
      cbworkloadgen throws error

      Thuans-MacBook-Pro:tools thuan$ ./cbworkloadgen -n localhost:8091 -u Administrator -p password -r 0.9 -i 100000 -s 10 -j -t 10 -b sasl --prefix=test2013-04-03 18:54:49,180: s0 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,185: s1 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,202: s2 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,212: s0 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-3)
      2013-04-03 18:54:49,224: s1 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-0)
      2013-04-03 18:54:49,233: s2 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-1)
      2013-04-03 18:54:49,233: s3 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,245: s9 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,260: s4 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,268: s5 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,268: s3 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-4)
      2013-04-03 18:54:49,277: s9 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-2)
      2013-04-03 18:54:49,282: s4 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-5)
      2013-04-03 18:54:49,282: s8 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,282: s5 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-6)
      2013-04-03 18:54:49,283: s7 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,287: s8 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-7)
      2013-04-03 18:54:49,288: s7 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-8)
      2013-04-03 18:54:49,288: s6 error: CBSink.connect() for send: error: SASL auth failed: 127.0.0.1:11210, user: sasl
      2013-04-03 18:54:49,289: s6 error: async operation: error: SASL auth failed: 127.0.0.1:11210, user: sasl on sink: http://localhost:8091(default@N/A-9)
      error: SASL auth failed: 127.0.0.1:11210, user: sasl

      Edit sasl bucket and save it with password without space in it (like "password")
      cbworkloadgen will work

      Thuans-MacBook-Pro:tools thuan$ ./cbworkloadgen -n localhost:8091 -u Administrator -p password -r 0.9 -i 100000 -s 10 -j -t 10 -b sasl --prefix=test
      ################### 100.0% (1111110/1111110 msgs)
      bucket: default, msgs transferred...
      : total | last | per sec
      batch : 1120 | 1120 | 16.9
      byte : 77234270 | 77234270 | 1166121.2
      msg : 1111110 | 1111110 | 16776.1
      done

      This may happen in other operating system.

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

        Activity

        Hide
        maria Maria McDuff (Inactive) added a comment -

        not for 3.0.
        Re-open post 3.0.

        Show
        maria Maria McDuff (Inactive) added a comment - not for 3.0. Re-open post 3.0.

          People

          • Assignee:
            maria Maria McDuff (Inactive)
            Reporter:
            thuan Thuan Nguyen
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes