Details
Description
Problem
Restore fails unexpectedly with ERRO: Service `indexer` is not available on target cluster
Node services setup:
2019-10-22 11:14:02,985 - root - INFO - /node/controller/setupServices params on 172.23.121.226: 8091:services=fts%2Cindex%2Ckv%2Cn1ql&password=password&hostname=127.0.0.1%3A8091&user=Administrator
|
2019-10-22 11:14:03,003 - root - INFO - settings/web params on 172.23.121.226:8091:username=Administrator&password=password&port=8091
|
Restore logs:
2019-10-22T11:14:05.585-07:00 (Cmd) restore --archive /tmp/entbackup_172.23.121.224 --repo backup --cluster http://172.23.121.226:8091 --username <ud>Administrator</ud> --password ******** --start 2019-10-22T11_13_28.163415298-07_00 --end 2019-10-22T11_13_28.163415298-07_00 --no-progress-bar --replace-ttl all --replace-ttl-with 2019-10-22T11:19:05-07:00
|
2019-10-22T11:14:05.593-07:00 (Rest) GET http://172.23.121.226:8091/pools 200
|
2019-10-22T11:14:05.599-07:00 (Rest) GET http://172.23.121.226:8091/pools/default 200
|
2019-10-22T11:14:05.601-07:00 (Rest) GET http://172.23.121.226:8091/pools 200
|
2019-10-22T11:14:05.601-07:00 (Cmd) Restoring to cluster e5f318f6470cec9021aa42abe0022779
|
2019-10-22T11:14:05.601-07:00 Restoring data from backup 2019-10-22T11_13_28.163415298-07_00
|
2019-10-22T11:14:05.601-07:00 (Plan) Executing transfer plan
|
2019-10-22T11:14:05.601-07:00 (Plan) Checking for data movement restrictions between default and default
|
2019-10-22T11:14:05.602-07:00 Transferring to Couchbase Server 6.5.0
|
2019-10-22T11:14:05.611-07:00 (Rest) GET http://172.23.121.226:8091/pools/default/buckets 200
|
2019-10-22T11:14:05.612-07:00 (Plan) Transferring views definitions for default to default
|
2019-10-22T11:14:05.614-07:00 (Rest) GET http://172.23.121.226:8091/pools/default/nodeServices 200
|
2019-10-22T11:14:05.614-07:00 (Plan) Transferring GSI index definitions for default to default
|
2019-10-22T11:14:05.616-07:00 (Rest) GET http://172.23.121.226:8091/pools/default/nodeServices 200
|
2019-10-22T11:14:05.617-07:00 ERRO: Service `indexer` is not available on target cluster -- plan.(*gsi).execute() at gsi.go:64
|
2019-10-22T11:14:05.617-07:00 (Plan) Transfer plan failed due to error Service `indexer` is not available on target cluster
|
2019-10-22T11:14:05.617-07:00 (Cmd) Error restoring cluster: Service `indexer` is not available on target cluster
|
2019-10-22T11:14:05.617-07:00 (Cmd) Restore bucket "default" failed
|
2019-10-22T11:14:05.617-07:00 (Cmd) Mutations restored: 0, Mutations failed to restore: 0
|
2019-10-22T11:14:05.617-07:00 (Cmd) Deletions restored: 0, Deletions failed to restore: 0
|
2019-10-22T11:14:05.617-07:00 (Cmd) Skipped due to purge number or conflict resolution: Muatations: 0 Deletions: 0
|
Steps to reproduce
- Install Couchbase server 6.5.0-4558 on 2 centos 7.7 servers
- Backup node initialize with kv,index,n1ql,fts and restore node with kv,index,n1ql,fts
- Create default bucket on both nodes.
- Backup node with command:
/opt/couchbase/bin//cbbackupmgr backup --archive /tmp/entbackup_172.23.121.224 --repo backup --cluster http://172.23.121.224:8091 --username Administrator --password password --no-progress-bar
- Then restore to restore node with ttl flag.
/opt/couchbase/bin//cbbackupmgr restore --archive /tmp/entbackup_172.23.121.224 --repo backup --cluster http://172.23.121.226:8091 --username Administrator --password password --start 2019-10-22T11_13_28.163415298-07_00 --end 2019-10-22T11_13_28.163415298-07_00 --no-progress-bar --replace-ttl all --replace-ttl-with 2019-10-22T11:19:05-07:00
Attachments
Issue Links
- relates to
-
MB-36587 Eventing service takes 13s to initialised causing cbbackupmgr restore to fail
- Closed