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

config.dat is lost on 2.0.0 -> 2.0.2 upgrade on Debian/Ubuntu

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: installer
    • Security Level: Public
    • Labels:
      None
    • Environment:
      ubuntu64, 2.0.2-760-rel
    • Sprint:
      PCI Team - Sprint 5

      Description

      http://qa.hq.northscale.net/view/2.0.1/job/ubuntu-64-2.0-upgrade/105/consoleFull

      ./testrunner -i /tmp/ubuntu-64-2.0-upgrade.ini upgrade_version=2.0.2-760-rel,initial_vbuckets=64,get-cbcollect-info=True -t newupgradetests.MultiNodesUpgradeTests.online_consequentially_upgrade,initial_version=2.0.0-1976-rel,port=8099,items=10000,GROUP=2_0;ONLINE;WINDOWS

      Steps:

      dpkg -i couchbase-server-enterprise_x86_64_2.0.0-1976-rel.deb
      Selecting previously deselected package couchbase-server.
      (Reading database ... 62014 files and directories currently installed.)
      Unpacking couchbase-server (from couchbase-server-enterprise_x86_64_2.0.0-1976-rel.deb) ...
      libssl0.9.8 is installed. Continue installing
      Setting up couchbase-server (2.0.0) ...

      • Started couchbase-server

      You have successfully installed Couchbase Server.
      Please browse to http://ubu-2502: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 and from 21100 to 21299.

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

      Processing triggers for ureadahead ...

      root@ubu-2502:/opt/couchbase/bin# ./couchbase-cli cluster-init --cluster=10.3.3.19:8091 -u Administrator -p password --cluster-init-user=Administrator --cluster-init-password=password --cluster-init-port=8099
      SUCCESS: init 10.3.3.19

      root@ubu-2502:/tmp# dpkg -i couchbase-server-enterprise_x86_64_2.0.2-760-rel.deb
      (Reading database ... 68049 files and directories currently installed.)
      Preparing to replace couchbase-server 2.0.0 (using couchbase-server-enterprise_x86_64_2.0.2-760-rel.deb) ...

      =INFO REPORT==== 10-Apr-2013::01:47:20 ===
      Initiated server shutdown** at node ns_1@127.0.0.1 **

      =INFO REPORT==== 10-Apr-2013::01:47:26 ===
      Stopped ns_server application** at node ns_1@127.0.0.1 **

      • Stopped couchbase-server
        libssl0.9.8 is installed. Continue installing
        Minimum RAM required : 4 GB
        System RAM configured : 4060188 kB

      Minimum number of processors required : 4 cores
      Number of processors on the system : 4 cores
      Upgrading previous couchbase ... (2.0.0)
      Stopping previous couchbase ... (2.0.0)

      • Failed to stop couchbase-server
        Saving previous couchbase config.dat ...
        Cleaning symlinks ...
        Unpacking replacement couchbase-server ...
        dpkg: warning: unable to delete old directory '/opt/couchbase/var/lib/couchbase/mnesia': Directory not empty
        Setting up couchbase-server (2.0.2) ...
        Upgrading couchbase-server ...
        /opt/couchbase/bin/install/cbupgrade -c /opt/couchbase/var/lib/couchbase/config -a yes
        Automatic mode: running without interactive questions or confirmations.
        Analysing...
        Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat.debsave
        Target node: ns_1@127.0.0.1
        No buckets to be upgraded.
      • Started couchbase-server

      You have successfully installed Couchbase Server.
      Please browse to http://ubu-2502: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.

      Processing triggers for ureadahead ...

      port was changed on default 8091:

      ./couchbase-cli server-info --cluster=10.3.3.19:8091
      {
      "availableStorage": {
      "hdd": [

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

        Activity

        Hide
        bcui Bin Cui (Inactive) added a comment -

        Talk to Alk. He will take a look.
        Thanks.

        Show
        bcui Bin Cui (Inactive) added a comment - Talk to Alk. He will take a look. Thanks.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        I need collectinfos

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - I need collectinfos
        Hide
        andreibaranouski Andrei Baranouski added a comment -

        logs for 2.0.2-764 build.

        Show
        andreibaranouski Andrei Baranouski added a comment - logs for 2.0.2-764 build.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Apparently config.dat is not preserved.

        [ns_server:info,2013-04-16T1:06:39.325,ns_1@127.0.0.1:ns_config<0.285.0>:ns_config:load_config:716]Loading dynamic config from "/opt/couchbase/var/lib/couchbase/config/config.dat"
        [ns_server:info,2013-04-16T1:06:39.326,ns_1@127.0.0.1:ns_config<0.285.0>:ns_config:load_config:720]No dynamic config file found. Assuming we're brand new node
        [ns_server:debug,2013-04-16T1:06:39.326,ns_1@127.0.0.1:ns_config<0.285.0>:ns_config:load_config:723]Here's full dynamic config we loaded:
        []

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Apparently config.dat is not preserved. [ns_server:info,2013-04-16T1:06:39.325,ns_1@127.0.0.1:ns_config<0.285.0>:ns_config:load_config:716] Loading dynamic config from "/opt/couchbase/var/lib/couchbase/config/config.dat" [ns_server:info,2013-04-16T1:06:39.326,ns_1@127.0.0.1:ns_config<0.285.0>:ns_config:load_config:720] No dynamic config file found. Assuming we're brand new node [ns_server:debug,2013-04-16T1:06:39.326,ns_1@127.0.0.1:ns_config<0.285.0>:ns_config:load_config:723] Here's full dynamic config we loaded: []
        Show
        bcui Bin Cui (Inactive) added a comment - http://review.couchbase.org/#/c/25707/
        Hide
        maria Maria McDuff (Inactive) added a comment -

        ready for qa. pls verify/close.

        Show
        maria Maria McDuff (Inactive) added a comment - ready for qa. pls verify/close.
        Hide
        andreibaranouski Andrei Baranouski added a comment -

        possible regression MB-8144

        Show
        andreibaranouski Andrei Baranouski added a comment - possible regression MB-8144
        Hide
        andreibaranouski Andrei Baranouski added a comment -
        Show
        andreibaranouski Andrei Baranouski added a comment - all tests passed http://qa.hq.northscale.net/view/2.0.2/job/ubuntu-64-2.0-upgrade/109/consoleFull( except known issues)

          People

          • Assignee:
            andreibaranouski Andrei Baranouski
            Reporter:
            andreibaranouski Andrei Baranouski
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile

                Gerrit Reviews

                There are no open Gerrit changes