[MB-3797] rpm -U installer tries to stop membase server after upgrade Created: 10/May/11 Updated: 09/Jan/13 Resolved: 08/May/12 |
|
| Status: | Closed |
| Project: | Couchbase Server |
| Component/s: | installer |
| Affects Version/s: | 1.7 alpha 2 |
| Fix Version/s: | 2.0-beta |
| Security Level: | Public |
| Type: | Bug | Priority: | Minor |
| Reporter: | Farshid Ghods | Assignee: | Steve Yen |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | 1.7.0-release-notes, 1.7.1-release-notes | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: | basestar-232 | ||
| 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 - |
| Comments |
| Comment by Steve Yen [ 12/May/11 ] |
| The description _might_ have had an inadvertently clipped copy-&-paste output, as the usual lines that stop membase are missing. |
| Comment by Farshid Ghods [ 12/May/11 ] |
|
[2011-05-12 10:33:40,390] - [remote_util] [140735087852704] - INFO - running command rpm -U /tmp/membase-server-enterprise_x86_64_basestar-238-gdb9b34d.rpm
[2011-05-12 10:34:03,842] - [remote_util] [140735087852704] - INFO - command executed successfully [2011-05-12 10:34:03,843] - [remote_util] [140735087852704] - 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-12 10:34:03,843] - [remote_util] [140735087852704] - INFO - Stopping membase ... [2011-05-12 10:34:03,843] - [remote_util] [140735087852704] - INFO - Stopping Membase server[ OK ] [2011-05-12 10:34:03,844] - [remote_util] [140735087852704] - INFO - Upgrading membase ... [2011-05-12 10:34:03,844] - [remote_util] [140735087852704] - INFO - /opt/membase/bin/mbupgrade -c /etc/opt/membase/1.6* -a yes [2011-05-12 10:34:03,844] - [remote_util] [140735087852704] - INFO - Automatic mode: running without interactive questions or confirmations. [2011-05-12 10:34:03,844] - [remote_util] [140735087852704] - INFO - Upgrading your Membase Server to basestar-238-gdb9b34d. [2011-05-12 10:34:03,845] - [remote_util] [140735087852704] - INFO - The upgrade process might take awhile. [2011-05-12 10:34:03,845] - [remote_util] [140735087852704] - INFO - Analysing... [2011-05-12 10:34:03,846] - [remote_util] [140735087852704] - INFO - Target node: ns_1@127.0.0.1 [2011-05-12 10:34:03,846] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,846] - [remote_util] [140735087852704] - INFO - Membase should not be running. [2011-05-12 10:34:03,846] - [remote_util] [140735087852704] - INFO - Please use: /etc/init.d/membase-server stop [2011-05-12 10:34:03,847] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,847] - [remote_util] [140735087852704] - INFO - Database dir: /var/opt/membase/1.6.5.3/data/ns_1 [2011-05-12 10:34:03,847] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,847] - [remote_util] [140735087852704] - INFO - Buckets to upgrade: [no buckets found] [2011-05-12 10:34:03,848] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,848] - [remote_util] [140735087852704] - INFO - Checking disk space available for buckets in directory: [2011-05-12 10:34:03,848] - [remote_util] [140735087852704] - INFO - /var/opt/membase/1.6.5.3/data/ns_1 [2011-05-12 10:34:03,848] - [remote_util] [140735087852704] - INFO - Free disk bucket space wanted: 0.0 [2011-05-12 10:34:03,849] - [remote_util] [140735087852704] - INFO - Free disk bucket space available: 5962047488 [2011-05-12 10:34:03,849] - [remote_util] [140735087852704] - INFO - Free disk space factor: 2.0 [2011-05-12 10:34:03,849] - [remote_util] [140735087852704] - INFO - Ok. [2011-05-12 10:34:03,849] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,850] - [remote_util] [140735087852704] - INFO - Analysis complete. [2011-05-12 10:34:03,850] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,850] - [remote_util] [140735087852704] - INFO - Copying /etc/opt/membase/1.6.5.3/ns_1/config.dat [2011-05-12 10:34:03,850] - [remote_util] [140735087852704] - INFO - cp /etc/opt/membase/1.6.5.3/ns_1/config.dat /opt/membase/var/lib/membase/config/config.dat [2011-05-12 10:34:03,851] - [remote_util] [140735087852704] - INFO - Ensuring bucket data directories. [2011-05-12 10:34:03,851] - [remote_util] [140735087852704] - INFO - Ensuring dbdir owner/group: /var/opt/membase/1.6.5.3/data/ns_1 [2011-05-12 10:34:03,851] - [remote_util] [140735087852704] - INFO - chown -R membase:membase /var/opt/membase/1.6.5.3/data/ns_1 [2011-05-12 10:34:03,852] - [remote_util] [140735087852704] - INFO - Upgrading buckets. [2011-05-12 10:34:03,852] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,852] - [remote_util] [140735087852704] - INFO - Done. [2011-05-12 10:34:03,852] - [remote_util] [140735087852704] - INFO - Starting Membase server[ OK ] [2011-05-12 10:34:03,853] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,853] - [remote_util] [140735087852704] - INFO - You have successfully installed Membase Server. [2011-05-12 10:34:03,853] - [remote_util] [140735087852704] - INFO - Please browse to http://centos-farshid-10:8091/ to configure your server. [2011-05-12 10:34:03,853] - [remote_util] [140735087852704] - INFO - Please refer to http://couchbase.com for additional resources. [2011-05-12 10:34:03,854] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,854] - [remote_util] [140735087852704] - INFO - Please note that you have to update your firewall configuration to [2011-05-12 10:34:03,854] - [remote_util] [140735087852704] - INFO - allow connections to the following ports: 11211, 11210, 4369, 8091 [2011-05-12 10:34:03,854] - [remote_util] [140735087852704] - INFO - and from 21100 to 21199. [2011-05-12 10:34:03,855] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,855] - [remote_util] [140735087852704] - INFO - By using this software you agree to the End User License Agreement. [2011-05-12 10:34:03,855] - [remote_util] [140735087852704] - INFO - See /opt/membase/LICENSE.txt. [2011-05-12 10:34:03,855] - [remote_util] [140735087852704] - INFO - [2011-05-12 10:34:03,856] - [remote_util] [140735087852704] - INFO - Stopping Membase server[FAILED] ok |
| Comment by Steve Yen [ 08/May/12 ] |
| I don't think I've heard of this reported in recent upgrades (please re-open if I'm wrong). Also, specifically, won't fix the 1.6 to 1.7 upgrade. |