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

unable to update centos 32-bit 1.8.1 to 2.0 latest build due to issues when executing cbupgrade

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: None
    • Security Level: Public
    • Labels:
      None

      Description

      c2-user@domU-12-31-39-03-A4-22 ~]$ sudo rpm -U couchbase-server-community_x86_2.0.0-1969-rel.rpm
      Stopping couchbase-server ...
      Stopping couchbase-server
      =INFO REPORT==== 1-Dec-2012::01:06:40 ===
      Initiated server shutdown** at node ns_1@127.0.0.1 **

      =INFO REPORT==== 1-Dec-2012::01:06:48 ===
      Stopped ns_server application** at node ns_1@127.0.0.1 **

      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.
      Upgrading your Couchbase Server to 2.0.0-1969-rel.
      The upgrade process might take awhile.
      Analysing...
      Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat
      Target node: ns_1@127.0.0.1

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

      Database dir: /opt/couchbase/var/lib/couchbase/data

      Buckets to upgrade: default

      Checking disk space available for buckets in directory:
      /opt/couchbase/var/lib/couchbase/data
      Free disk bucket space wanted: 48304128.0
      Free disk bucket space available: 6636437504
      Free disk space factor: 2.0
      Ok.

      Analysis complete.

      Copying /opt/couchbase/var/lib/couchbase/config/config.dat
      cp /opt/couchbase/var/lib/couchbase/config/config.dat /opt/couchbase/bin/install/../../var/lib/couchbase/config/config.dat
      Ensuring bucket data directories.
      Ensuring bucket data directory: /opt/couchbase/var/lib/couchbase/data/default
      mkdir -p /opt/couchbase/var/lib/couchbase/data/default
      Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
      chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
      Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
      chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
      Upgrading buckets.
      Upgrading bucket: default
      /opt/couchbase/bin/install/../cbtransfer /opt/couchbase/var/lib/couchbase/data/default-data/default couchstore-files:///opt/couchbase/var/lib/couchbase/data -b default --source-vbucket-state=active --destination-vbucket-state=active
      cbdbupgrade pid: 1522
      cbdbupgrade err: 11
      ERROR: upgrade failed for bucket: default
      Starting couchbase-server[ OK ]

      You have successfully installed Couchbase Server.
      Please browse to http://domU-12-31-39-03-A4-22: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.

      Stopping couchbase-serverNOTE: shutdown failed

      {badrpc,nodedown}
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        i tried running the cbupgrade command manaully

        ec2-user@domU-12-31-39-03-A4-22 couchbase]$ sudo /opt/couchbase/bin/install/../cbtransfer /opt/couchbase/var/lib/couchbase/data/default-data/default couchstore-files:///opt/couchbase/var/lib/couchbase/data -b default --source-vbucket-state=active --destination-vbucket-state=active
        Fatal Python error: PyEval_RestoreThread: NULL tstate

        Show
        farshid Farshid Ghods (Inactive) added a comment - i tried running the cbupgrade command manaully ec2-user@domU-12-31-39-03-A4-22 couchbase]$ sudo /opt/couchbase/bin/install/../cbtransfer /opt/couchbase/var/lib/couchbase/data/default-data/default couchstore-files:///opt/couchbase/var/lib/couchbase/data -b default --source-vbucket-state=active --destination-vbucket-state=active Fatal Python error: PyEval_RestoreThread: NULL tstate
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        the python version is
        [ec2-user@domU-12-31-39-03-A4-22 couchbase]$ python
        Python 2.6.8 (unknown, Sep 17 2012, 03:13:18)
        [GCC 4.6.2 20111027 (Red Hat 4.6.2-1)] on linux2
        Type "help", "copyright", "credits" or "license" for more information.
        >>>

        Show
        farshid Farshid Ghods (Inactive) added a comment - the python version is [ec2-user@domU-12-31-39-03-A4-22 couchbase] $ python Python 2.6.8 (unknown, Sep 17 2012, 03:13:18) [GCC 4.6.2 20111027 (Red Hat 4.6.2-1)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>>
        Hide
        ketaki Ketaki Gangal added a comment -

        Tested online upgrade from 181 to 2.0 on 32 bit Ubuntu12, looks okay.

        -Expected error on libossl, installed on new nodes.

        • Swap rebalanced out 181 w/ 2.0 , looks okay.
        Show
        ketaki Ketaki Gangal added a comment - Tested online upgrade from 181 to 2.0 on 32 bit Ubuntu12, looks okay. -Expected error on libossl, installed on new nodes. Swap rebalanced out 181 w/ 2.0 , looks okay.
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        resolved in build # 1971

        Show
        farshid Farshid Ghods (Inactive) added a comment - resolved in build # 1971

          People

          • Assignee:
            Unassigned
            Reporter:
            farshid Farshid Ghods (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes