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

rpm -U installer tries to stop membase server after upgrade

    Details

    • Flagged:
      Release Note

      Description

      rpm -U fails to stop the membase-server after the upgrade .

      Test Case : upgrade a 1.6.5.3 build to latest 1.7.0

      [2011-05-10 13:52:16,806] - [remote_util] [140735072689312] - INFO - running command rpm -U /tmp/membase-server-enterprise_x86_64_basestar-231-g6d3ad22.rpm
      [2011-05-10 13:52:33,521] - [remote_util] [140735072689312] - INFO - command executed successfully
      [2011-05-10 13:52:33,522] - [remote_util] [140735072689312] - ERROR - warning: /etc/opt/membase/1.6.5.3/ns_1/config.dat saved as /etc/opt/membase/1.6.5.3/ns_1/config.dat.rpmsave
      [2011-05-10 13:52:33,522] - [remote_util] [140735072689312] - INFO - Stopping membase ...
      [2011-05-10 13:52:33,523] - [remote_util] [140735072689312] - INFO - Stopping Membase server[ OK ]
      [2011-05-10 13:52:33,524] - [remote_util] [140735072689312] - INFO - Upgrading membase ...
      [2011-05-10 13:52:33,524] - [remote_util] [140735072689312] - INFO - /opt/membase/bin/mbupgrade -c /etc/opt/membase/1.6* -a yes
      [2011-05-10 13:52:33,525] - [remote_util] [140735072689312] - INFO - Automatic mode: running without interactive questions or confirmations.
      [2011-05-10 13:52:33,525] - [remote_util] [140735072689312] - INFO - Upgrading your Membase Server to basestar-231-g6d3ad22.
      [2011-05-10 13:52:33,526] - [remote_util] [140735072689312] - INFO - The upgrade process might take awhile.
      [2011-05-10 13:52:33,526] - [remote_util] [140735072689312] - INFO - Analysing...
      [2011-05-10 13:52:33,526] - [remote_util] [140735072689312] - INFO - Target node: ns_1@127.0.0.1
      [2011-05-10 13:52:33,527] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,527] - [remote_util] [140735072689312] - INFO - Membase should not be running.
      [2011-05-10 13:52:33,527] - [remote_util] [140735072689312] - INFO - Please use: /etc/init.d/membase-server stop
      [2011-05-10 13:52:33,527] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,528] - [remote_util] [140735072689312] - INFO - Database dir: /var/opt/membase/1.6.5.3/data/ns_1
      [2011-05-10 13:52:33,528] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,528] - [remote_util] [140735072689312] - INFO - Buckets to upgrade: [no buckets found]
      [2011-05-10 13:52:33,529] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,529] - [remote_util] [140735072689312] - INFO - Checking disk space available for buckets in directory:
      [2011-05-10 13:52:33,529] - [remote_util] [140735072689312] - INFO - /var/opt/membase/1.6.5.3/data/ns_1
      [2011-05-10 13:52:33,529] - [remote_util] [140735072689312] - INFO - Free disk bucket space wanted: 0.0
      [2011-05-10 13:52:33,530] - [remote_util] [140735072689312] - INFO - Free disk bucket space available: 5974183936
      [2011-05-10 13:52:33,530] - [remote_util] [140735072689312] - INFO - Free disk space factor: 2.0
      [2011-05-10 13:52:33,530] - [remote_util] [140735072689312] - INFO - Ok.
      [2011-05-10 13:52:33,530] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,531] - [remote_util] [140735072689312] - INFO - Analysis complete.
      [2011-05-10 13:52:33,531] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,531] - [remote_util] [140735072689312] - INFO - Copying /etc/opt/membase/1.6.5.3/ns_1/config.dat
      [2011-05-10 13:52:33,531] - [remote_util] [140735072689312] - INFO - cp /etc/opt/membase/1.6.5.3/ns_1/config.dat /opt/membase/var/lib/membase/config/config.dat
      [2011-05-10 13:52:33,532] - [remote_util] [140735072689312] - INFO - Ensuring bucket data directories.
      [2011-05-10 13:52:33,532] - [remote_util] [140735072689312] - INFO - Ensuring dbdir owner/group: /var/opt/membase/1.6.5.3/data/ns_1
      [2011-05-10 13:52:33,532] - [remote_util] [140735072689312] - INFO - chown -R membase:membase /var/opt/membase/1.6.5.3/data/ns_1
      [2011-05-10 13:52:33,532] - [remote_util] [140735072689312] - INFO - Upgrading buckets.
      [2011-05-10 13:52:33,533] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,533] - [remote_util] [140735072689312] - INFO - Done.
      [2011-05-10 13:52:33,533] - [remote_util] [140735072689312] - INFO - Starting Membase server[ OK ]
      [2011-05-10 13:52:33,533] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,534] - [remote_util] [140735072689312] - INFO - You have successfully installed Membase Server.
      [2011-05-10 13:52:33,534] - [remote_util] [140735072689312] - INFO - Please browse to http://centos-farshid-10:8091/ to configure your server.
      [2011-05-10 13:52:33,534] - [remote_util] [140735072689312] - INFO - Please refer to http://couchbase.com for additional resources.
      [2011-05-10 13:52:33,534] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,534] - [remote_util] [140735072689312] - INFO - Please note that you have to update your firewall configuration to
      [2011-05-10 13:52:33,535] - [remote_util] [140735072689312] - INFO - allow connections to the following ports: 11211, 11210, 4369, 8091
      [2011-05-10 13:52:33,535] - [remote_util] [140735072689312] - INFO - and from 21100 to 21199.
      [2011-05-10 13:52:33,535] - [remote_util] [140735072689312] - INFO -
      [2011-05-10 13:52:33,535] - [remote_util] [140735072689312] - INFO - By using this software you agree to the End User License Agreement.
      [2011-05-10 13:52:33,536] - [remote_util] [140735072689312] - INFO - See /opt/membase/LICENSE.txt.
      [2011-05-10 13:52:33,536] - [remote_util] [140735072689312] - INFO -

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

        Activity

        farshid Farshid Ghods (Inactive) created issue -
        farshid Farshid Ghods (Inactive) made changes -
        Field Original Value New Value
        Fix Version/s 1.7 beta 1 [ 10110 ]
        Affects Version/s 1.7 alpha 2 [ 10180 ]
        Priority Major [ 3 ] Minor [ 4 ]
        sharon Sharon Barr (Inactive) made changes -
        Fix Version/s 1.7 Release Candidate [ 10182 ]
        Fix Version/s 1.7 beta [ 10110 ]
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 1.7.1 [ 10183 ]
        Fix Version/s 1.7 Release Candidate [ 10182 ]
        Flagged [Release Note]
        farshid Farshid Ghods (Inactive) made changes -
        Labels 1.7.0-release-notes
        farshid Farshid Ghods (Inactive) made changes -
        Labels 1.7.0-release-notes 1.7.0-release-notes 1.7.1-release-notes
        farshid Farshid Ghods (Inactive) made changes -
        Fix Version/s 2.0 Beta [ 10113 ]
        Fix Version/s 1.7.1 [ 10183 ]
        steve Steve Yen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        peter peter made changes -
        Component/s installer [ 10221 ]
        Component/s linux_installer [ 10021 ]
        farshid Farshid Ghods (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            steve Steve Yen
            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