[MB-5513] Rebalance failure due to replicator_died with "memcached_error,auth_error,<<"Auth failure">>" because node was marked as ready before isasl.pw was read Created: 11/Jun/12  Updated: 09/Jan/13  Resolved: 12/Jun/12

Status: Closed
Project: Couchbase Server
Component/s: ns_server
Affects Version/s: 1.8.1-release-candidate
Fix Version/s: 1.8.1
Security Level: Public

Type: Bug Priority: Blocker
Reporter: Karan Kumar (Inactive) Assignee: Aleksey Kondratenko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: Ubuntu 64 bit

Attachments: GZip Archive     GZip Archive     GZip Archive     GZip Archive     GZip Archive     GZip Archive    

Decided to file a new bug, but the old one is here:-

<0.4181.3> exited with {exited,
<<"Auth failure">>}}}}}}

Failing testcase:-
1) Failover a node orchestrator
2) Swap rebalance it.

Comment by Karan Kumar (Inactive) [ 11/Jun/12 ]
=========================CRASH REPORT=========================
    initial call: ebucketmigrator_srv:init/1
    pid: <0.6065.2>
    registered_name: []
    exception error: no match of right hand side value
                     {memcached_error,auth_error,<<"Auth failure">>}
      in function ebucketmigrator_srv:connect/4
      in call from ebucketmigrator_srv:init/1
    ancestors: ['ns_vbm_sup-bucket-3','single_bucket_sup-bucket-3',
    messages: []
    links: [#Port<0.23530>,<0.5813.2>,#Port<0.23527>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 377
    stack_size: 24
    reductions: 1406
Comment by Aleksey Kondratenko [ 12/Jun/12 ]
Comment by Thuan Nguyen [ 12/Jun/12 ]
Integrated in github-ns-server-2-0 #371 (See [http://qa.hq.northscale.net/job/github-ns-server-2-0/371/])
    MB-5513: wait isasl.pw refresh before flagging warmup completion (Revision 9f7487ec66bc5c6dc8dde0eb4347869cd96d9a79)

     Result = SUCCESS
Aliaksey Artamonau :
Files :
* src/ns_config_isasl_sync.erl
* src/ns_memcached.erl
Comment by Thuan Nguyen [ 22/Jun/12 ]
Integrated in github-ns-server-2-0 #380 (See [http://qa.hq.northscale.net/job/github-ns-server-2-0/380/])
    MB-5513: don't allow ns_memcached to think it started twice (Revision e42fa1fcd59b54800da73a2702458adb2eae069d)

     Result = SUCCESS
Aliaksey Kandratsenka :
Files :
* src/ns_memcached.erl
Generated at Wed Nov 26 19:34:56 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.