Details
Description
Steps to Repro
1. Create a 5 node cluster on 7.1.1-3175.
2. Create a magma bucket/scopes/collections/data and push the bucket to 1% DGM.
Start doing offline upgrade one by one.
-bash-4.2# cat /opt/couchbase/VERSION.txt
|
7.1.1-3175
|
-bash-4.2# /opt/couchbase/bin/couchbase-cli bucket-list -c localhost:8091 --username Administrator --password password
|
default
|
bucketType: membase
|
numReplicas: 3
|
ramQuota: 4026531840
|
ramUsed: 2888882840
|
-bash-4.2#
|
-bash-4.2# systemctl stop couchbase-server
|
-bash-4.2# rpm -U http://172.23.126.166/builds/latestbuilds/couchbase-server/neo/3435/couchbase-server-enterprise-7.1.2-3435-centos7.x86_64.rpm
|
|
Minimum RAM required : 4 GB
|
System RAM configured : 11.45 GB
|
|
Minimum number of processors required : 4 cores
|
Number of processors on the system : 8 cores
|
|
Upgrading couchbase-server ...
|
/opt/couchbase/bin/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
|
|
Database dir: /data
|
|
Buckets to upgrade: [no buckets found]
|
|
Checking disk space available for buckets in directory:
|
/data
|
Free disk bucket space wanted: 0.0
|
Free disk bucket space available: 904247508992
|
Free disk space factor: 2.0
|
Ok.
|
|
Analysis complete.
|
|
No data directories found for namespace upgrade
|
Copying /opt/couchbase/var/lib/couchbase/config/config.dat
|
cp /opt/couchbase/var/lib/couchbase/config/config.dat /opt/couchbase/var/lib/couchbase/config/config.dat
|
Copying /opt/couchbase/var/lib/couchbase/ip_start
|
cp /opt/couchbase/var/lib/couchbase/ip_start /opt/couchbase/var/lib/couchbase/ip
|
Copying /opt/couchbase/etc/couchdb/local.ini
|
cp /opt/couchbase/etc/couchdb/local.ini /opt/couchbase/etc/couchdb/local.ini
|
Ensuring bucket data directories.
|
Ensuring dbdir and indexdir owner/group: /data
|
chown -R couchbase:couchbase /data
|
Ensuring dbdir and indexdir owner/group: /data
|
chown -R couchbase:couchbase /data
|
Ensuring dbdir and indexdir owner/group: /opt/couchbase/var/lib/couchbase/data
|
chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
|
|
Done.
|
|
You have successfully installed Couchbase Server.
|
Please browse to http://localhost.localdomain:8091/ to configure your server.
|
Refer to https://docs.couchbase.com for additional resources.
|
|
Please note that you have to update your firewall configuration to
|
allow external connections to a number of network ports for full
|
operation. Refer to the documentation for the current list:
|
https://docs.couchbase.com/server/7.1/install/install-ports.html
|
|
By using this software you agree to the End User License Agreement.
|
See /opt/couchbase/LICENSE.txt.
|
|
-bash-4.2#
|
-bash-4.2# cat /opt/couchbase/VERSION.txt
|
7.1.2-3435
|
-bash-4.2#
|
Buckets to upgrade: [no buckets found] is definitely a scary looking message for any couchbase admin considering we have a high data density DGM magma bucket
cbcollect_info attached.
Attachments
Issue Links
- relates to
-
MB-54230 cbupgrade should fail if the database_dir is not reachable when migrating KV namespaces
- Open