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

after upgrade 2.2->2.5 cluster is broken with --relocate RPM options

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • bug-backlog
    • 2.5.0
    • installer, ns_server
    • Security Level: Public
    • None
    • Triaged
    • Centos 64-bit

    Description

      [root@localhost tmp]# rpm -i couchbase-server-enterprise_x86_64_2.2.0-821-rel.rpm --relocate /opt/couchbase=/tmp/cb
      Minimum RAM required : 4 GB
      System RAM configured : 3945388 kB

      Minimum number of processors required : 4 cores
      Number of processors on the system : 4 cores

      Starting couchbase-server[ OK ]

      You have successfully installed Couchbase Server.
      Please browse to http://localhost.localdomain:8091/ to configure your server.
      Please refer to http://couchbase.com for additional resources.

      Please note that you have to update your firewall configuration to
      allow connections to the following ports: 11211, 11210, 11209, 4369,
      8091, 8092 and from 21100 to 21299.

      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.

      [root@localhost tmp]# rpm -Uvh couchbase-server-enterprise_x86_64_2.5.0-1059-rel.rpm --relocate /opt/couchbase=/tmp/cb
      Preparing... ########################################### [100%]
      Stopping couchbase-server
      Minimum RAM required : 4 GB
      System RAM configured : 3945388 kB

      Minimum number of processors required : 4 cores
      Number of processors on the system : 4 cores

      1:couchbase-server ########################################### [100%]
      Upgrading couchbase-server ...
      /tmp/cb/bin/install/cbupgrade -c /tmp/cb/var/lib/couchbase/config -a yes
      Automatic mode: running without interactive questions or confirmations.
      Analysing...
      Previous config.dat file is /tmp/cb/var/lib/couchbase/config/config.dat
      Target node: ns_1@127.0.0.1
      Upgrading from 2.0

      Couchbase should not be running.
      Please use: /etc/init.d/couchbase-server stop

      Database dir: /tmp/cb/var/lib/couchbase/data

      Buckets to upgrade: default,beer-sample

      Checking disk space available for buckets in directory:
      /tmp/cb/var/lib/couchbase/data
      Free disk bucket space wanted: 0.0
      Free disk bucket space available: 47606112256
      Free disk space factor: 2.0
      Ok.

      Analysis complete.

      Copying /tmp/cb/var/lib/couchbase/config/config.dat
      cp /tmp/cb/var/lib/couchbase/config/config.dat /tmp/cb/bin/install/../../var/lib/couchbase/config/config.dat
      Copying /tmp/cb/bin/install/../../etc/couchdb/default.d/capi.ini
      cp /tmp/cb/bin/install/../../etc/couchdb/default.d/capi.ini /tmp/cb/bin/install/../../etc/runtime.ini
      Copying /tmp/cb/bin/install/../../etc/couchdb/default.d/capi.ini
      cp /tmp/cb/bin/install/../../etc/couchdb/default.d/capi.ini /tmp/cb/bin/install/../../etc/couchdb/local.ini
      Ensuring bucket data directories.
      Ensuring bucket data directory: /tmp/cb/var/lib/couchbase/data/default
      mkdir -p /tmp/cb/var/lib/couchbase/data/default
      Ensuring bucket data directory: /tmp/cb/var/lib/couchbase/data/beer-sample
      mkdir -p /tmp/cb/var/lib/couchbase/data/beer-sample
      Ensuring dbdir owner/group: /tmp/cb/var/lib/couchbase/data
      chown -R couchbase:couchbase /tmp/cb/var/lib/couchbase/data
      Ensuring dbdir owner/group: /tmp/cb/var/lib/couchbase/data
      chown -R couchbase:couchbase /tmp/cb/var/lib/couchbase/data
      Upgrading buckets.
      Skipping already converted bucket: /tmp/cb/var/lib/couchbase/data/default
      Skipping already converted bucket: /tmp/cb/var/lib/couchbase/data/beer-sample

      Done.
      Starting couchbase-server[ OK ]

      You have successfully installed Couchbase Server.
      Please browse to http://localhost.localdomain:8091/ to configure your server.
      Please refer to http://couchbase.com for additional resources.

      Please note that you have to update your firewall configuration to
      allow connections to the following ports: 11211, 11210, 11209, 4369,
      8091, 8092, 18091, 18092, 11214, 11215 and from 21100 to 21299.

      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.

      [root@localhost tmp]# /etc/init.d/couchbase-server status
      couchbase-server is not running
      [root@localhost tmp]# /etc/init.d/couchbase-server start
      Starting couchbase-server [ OK ]
      [root@localhost tmp]# /etc/init.d/couchbase-server status
      couchbase-server is not running
      [root@localhost tmp]# cd /opt/couchbase/var/lib/couchbase/logs/
      [root@localhost logs]# ls -la
      total 43048
      drwxr-xr-x 2 couchbase couchbase 4096 Feb 18 01:00 .
      drwxr-xr-x 6 couchbase couchbase 4096 Feb 18 01:00 ..
      rw-rw--- 1 couchbase couchbase 67816 Feb 18 01:00 babysitter.1
      rw-rw--- 1 couchbase couchbase 18 Feb 18 00:59 babysitter.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 00:59 babysitter.siz
      rw-rw--- 1 couchbase couchbase 12780 Feb 18 01:00 couchdb.1
      rw-rw--- 1 couchbase couchbase 18 Feb 18 01:00 couchdb.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 01:00 couchdb.siz
      rw-rw--- 1 couchbase couchbase 297 Feb 18 01:00 crash_log.bin
      rw-rw--- 1 couchbase couchbase 10485239 Feb 18 00:59 debug.1
      rw-rw--- 1 couchbase couchbase 9449425 Feb 18 01:00 debug.2
      rw-rw--- 1 couchbase couchbase 26 Feb 18 01:00 debug.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 01:00 debug.siz
      rw-rw--- 1 couchbase couchbase 10485676 Feb 18 01:00 error.1
      rw-rw--- 1 couchbase couchbase 654925 Feb 18 01:00 error.2
      rw-rw--- 1 couchbase couchbase 26 Feb 18 01:00 error.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 01:00 error.siz
      rw-rw--- 1 couchbase couchbase 10485544 Feb 18 01:00 info.1
      rw-rw--- 1 couchbase couchbase 1780744 Feb 18 01:00 info.2
      rw-rw--- 1 couchbase couchbase 26 Feb 18 01:00 info.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 01:00 info.siz
      rw-rw--- 1 couchbase couchbase 0 Feb 18 00:57 mapreduce_errors.1
      rw-rw--- 1 couchbase couchbase 18 Feb 18 01:00 mapreduce_errors.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 01:00 mapreduce_errors.siz
      rw-rw--- 1 couchbase couchbase 1940 Feb 18 00:59 memcached.log.0.txt
      rw-rr- 1 couchbase couchbase 0 Feb 18 00:59 start.log
      rw-rw--- 1 couchbase couchbase 29864 Feb 18 00:59 stats.1
      rw-rw--- 1 couchbase couchbase 18 Feb 18 01:00 stats.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 01:00 stats.siz
      rw-rw--- 1 couchbase couchbase 433406 Feb 18 00:58 views.1
      rw-rw--- 1 couchbase couchbase 18 Feb 18 01:00 views.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 01:00 views.siz
      rw-rw--- 1 couchbase couchbase 733 Feb 18 00:58 xdcr.1
      rw-rw--- 1 couchbase couchbase 0 Feb 18 00:57 xdcr_errors.1
      rw-rw--- 1 couchbase couchbase 18 Feb 18 01:00 xdcr_errors.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 01:00 xdcr_errors.siz
      rw-rw--- 1 couchbase couchbase 18 Feb 18 01:00 xdcr.idx
      rw-rw--- 1 couchbase couchbase 13 Feb 18 01:00 xdcr.siz
      [root@localhost logs]# tail -n 50 debug.2
      crasher:
      initial call: couch_db:init/1
      pid: <0.8394.0>
      registered_name: []
      exception exit: killed
      in function gen_server:terminate/6
      ancestors: [couch_server,couch_primary_services,couch_server_sup,
      cb_couch_sup,ns_server_cluster_sup,<0.58.0>]
      messages: []
      links: []
      dictionary: []
      trap_exit: true
      status: running
      heap_size: 610
      stack_size: 24
      reductions: 207
      neighbours:

      [error_logger:info,2014-02-18T1:00:33.643,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:log_report:72]
      =========================INFO REPORT=========================
      application: ns_server
      exited: {shutdown,{ns_server,start,[normal,[]]}}
      type: permanent

      [error_logger:error,2014-02-18T1:00:33.643,ns_1@127.0.0.1:error_logger<0.6.0>:ale_error_logger_handler:log_report:72]
      =========================CRASH REPORT=========================
      crasher:
      initial call: couch_file:spawn_writer/2
      pid: <0.389.0>
      registered_name: []
      exception exit: {noproc,
      {gen_server,call,
      [couch_file_write_guard,

      {remove,<0.389.0>}

      ,
      infinity]}}
      in function gen_server:call/3
      in call from couch_file:writer_loop/4
      ancestors: [<0.387.0>,couch_server,couch_primary_services,
      couch_server_sup,cb_couch_sup,ns_server_cluster_sup,
      <0.58.0>]
      messages: []
      links: []
      dictionary: []
      trap_exit: true
      status: running
      heap_size: 377
      stack_size: 24
      reductions: 648
      neighbours:

      [root@localhost logs]#

      Attachments

        Issue Links

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

          Activity

            People

              ruth Ruth Harris (Inactive)
              andreibaranouski Andrei Baranouski
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty