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

[User Limits] Neo - server does not start for offline upgrade with 2 or more local users

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 7.1.0
    • 7.1.0
    • ns_server
    • None
    • 7.1.0-1935
    • 1

    Description

      1. Install 6.6.4
      2. Enable ldap with client certs, create few users.
      3. Upgrade to 6.6.5
      4. Enable - curl -v -u Administrator:password http://localhost:8091/settings/security -d "clusterEncryptionLevel=strict"
      5. Upgrade to 7.1.0

      Server does not start properly, babysitter.log

      [ns_server:debug,2021-12-20T06:20:33.153-08:00,babysitter_of_ns_1@cb.local:<0.222.0>:supervisor_cushion:init:33]starting ns_port_server with delay of 5000
      [ns_server:debug,2021-12-20T06:20:33.154-08:00,babysitter_of_ns_1@cb.local:<0.221.0>:restartable:start_child:92]Started child process <0.222.0>
        MFA: {supervisor_cushion,start_link,
                                 [ns_server,5000,infinity,ns_port_server,start_link,
                                  [#Fun<ns_child_ports_sup.4.68004915>]]}
      [error_logger:info,2021-12-20T06:20:33.154-08:00,babysitter_of_ns_1@cb.local:child_ns_server_sup<0.123.0>:ale_error_logger_handler:do_log:101]
      =========================PROGRESS REPORT=========================
          supervisor: {local,child_ns_server_sup}
          started: [{pid,<0.221.0>},
                    {id,{ns_server,"/opt/couchbase/lib/erlang/bin/erl",
                            ["+A","16","-smp","enable","+sbt","u","+P","327680",
                             "+K","true","+swt","low","+sbwt","none","+MMmcs","30",
                             "+e102400","-setcookie","nocookie","-kernel","logger",
                             "[{handler, default, undefined}]","-user","user_io",
                             "-run","child_erlang","child_start","ns_bootstrap",
                             "--","-smp","enable","-kernel","logger",
                             "[{handler, default, undefined}]","inetrc",
                             "\"/opt/couchbase/etc/couchbase/hosts.cfg\"",
                             "dist_config_file",
                             "\"/opt/couchbase/var/lib/couchbase/config/dist_cfg\"",
                             "-proto_dist","cb","-epmd_module",
                             [...]|...],
                            [{env,
                                 [{"NS_SERVER_BABYSITTER_PID","29844"},
                                  {"CHILD_ERLANG_ENV_ARGS",
                                   "[{ns_babysitter,\n     [{nodefile,\n          \"/opt/couchbase/var/lib/couchbase/couchbase-server.babysitter.node\"},\n      {cookiefile,\n          \"/opt/couchbase/var/lib/couchbase/couchbase-server.babysitter.cookie\"},\n      {pidfile,\"/opt/couchbase/var/lib/couchbase/couchbase-server.pid\"}]},\n {ns_server,\n     [{path_config_libdir,\"/opt/couchbase/lib\"},\n      {max_t,10},\n      {loglevel_mapreduce_errors,debug},\n      {path_config_etcdir,\"/opt/couchbase/etc/couchbase\"},\n      {loglevel_stats,debug},\n      {loglevel_cluster,debug},\n      {loglevel_rebalance,debug},\n      {loglevel_views,debug},\n      {path_config_tmpdir,\"/opt/couchbase/var/lib/couchbase/tmp\"},\n      {loglevel_error_logger,debug},\n      {loglevel_user,debug},\n      {disk_sink_opts,\n          [{rotation,\n               [{compress,true},\n                {size,41943040},\n                {num_files,10},\n                {buffer_size_max,52428800}]}]},\n      {loglevel_cbas,debug},\n      {loglevel_default,debug},\n      {loglevel_xdcr,debug},\n      {net_kernel_verbosity,10},\n      {loglevel_ns_doctor,debug},\n      {path_config_secdir,\"/opt/couchbase/etc/security\"},\n      {path_config_bindir,\"/opt/couchbase/bin\"},\n      {max_r,20},\n      {nodefile,\"/opt/couchbase/var/lib/couchbase/couchbase-server.node\"},\n      {error_logger_mf_dir,\"/opt/couchbase/var/lib/couchbase/logs\"},\n      {disk_sink_opts_json_rpc,\n          [{rotation,\n               [{compress,true},\n                {size,41943040},\n                {num_files,2},\n                {buffer_size_max,52428800}]}]},\n      {loglevel_access,info},\n      {loglevel_menelaus,debug},\n      {path_config_datadir,\"/opt/couchbase/var/lib/couchbase\"},\n      {loglevel_couchdb,info},\n      {config_path,\"/opt/couchbase/etc/couchbase/static_config\"},\n      {loglevel_ns_server,debug}]}]"},
                                  {"ERL_CRASH_DUMP",
                                   "erl_crash.dump.1640009914.29844.ns_server"}]},
                             exit_status,use_stdio,stream,eof]}},
                    {mfargs,
                        {restartable,start_link,
                            [{supervisor_cushion,start_link,
                                 [ns_server,5000,infinity,ns_port_server,start_link,
                                  [#Fun<ns_child_ports_sup.4.68004915>]]},
                             86400000]}},
                    {restart_type,permanent},
                    {significant,false},
                    {shutdown,infinity},
                    {child_type,worker}]
      

      Attachments

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

        Activity

          People

            ritam.sharma Ritam Sharma
            ritam.sharma Ritam Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty