Details
-
Bug
-
Resolution: Duplicate
-
Critical
-
6.5.0
-
Centos 7.6
-
Untriaged
-
Yes
Description
Install Couchbase server 6.5.0-3502 on 2 centos 7.6 servers.
Create 2 nodes cluster with services kv, index, n1ql and fts
Load travel-sample bucket in UI
Get cert from cluster using couchbase-cli
Run backup with secure connection, failed to backuup
[root@s44018 ~]# /opt/couchbase/bin//couchbase-cli ssl-manage -c 172.23.121.224:8091 -u Administrator -p password --cluster-cert-info > /root/cert.pem
|
|
/opt/couchbase/bin//cbbackupmgr backup -a /tmp/backup -r backup --cluster https://172.23.121.224:18091 -u Administrator -p password --cacert /root/cert.pem --storage sqlite
|
|
Backing up to 2019-06-13T14_02_32.029136277-07_00
|
Copying at 0B/s (estimating time remaining) 0 items / 0B
|
Error backing up cluster: Indexer error: x509: certificate is valid for 127.0.0.1, not 172.23.121.224
|
Backed up bucket "travel-sample" failed
|
Mutations backedup; 0, Mutations failed to backup: 0
|
Deletions backedup: 0, Deletions failed to backup: 0
|
[root@s44018 ~]# /opt/couchbase/bin/cbbackupmgr list -r backup -a /tmp/backup/
|
Backup `/tmp/backup/backup/2019-06-13T14_02_32.029136277-07_00/travel-sample-d7577cc48b7768c3f40ae53b680d9bca/data` is either empty or it got interrupted
|
Size Items Name
|
418B - + backup
|
418B - + 2019-06-13T14_02_32.029136277-07_00
|
418B - + travel-sample
|
416B 0 bucket-config.json
|
0B 0 + data
|
0B 0 0 Shards
|
2B 0 views.json
|
[root@s44018 ~]# tail -f /tmp/backup/logs/backup-0.log
|
2019-06-13T14:02:32.160-07:00 (Rest) GET https://172.23.121.224:18091/pools/default/nodeServices 200
|
2019-06-13T14:02:32.222-07:00 ERRO: Indexer error: x509: certificate is valid for 127.0.0.1, not 172.23.121.224 -- plan.(*gsi).execute() at gsi.go:58
|
2019-06-13T14:02:32.222-07:00 (Plan) Transfer plan failed due to error Indexer error: x509: certificate is valid for 127.0.0.1, not 172.23.121.224
|
2019-06-13T14:02:32.222-07:00 (Cmd) Error backing up cluster: Indexer error: x509: certificate is valid for 127.0.0.1, not 172.23.121.224
|
2019-06-13T14:02:32.222-07:00 (Cmd) Backed up bucket "travel-sample" failed
|
2019-06-13T14:02:32.222-07:00 (Cmd) Mutations backedup; 0, Mutations failed to backup: 0
|
2019-06-13T14:02:32.222-07:00 (Cmd) Deletions backedup: 0, Deletions failed to backup: 0
|
2019-06-13T14:03:28.261-07:00 (Cmd) cbbackupmgr version 6.5.0-3502 Hostname: s44018 OS: linux Version: 3.10.0-862.14.4.el7.x86_64 x86_64 Arch: amd64 vCPu: 4 Memory: 4121220 kB
|
2019-06-13T14:03:28.261-07:00 (Cmd) list -r backup -a /tmp/backup/
|
2019-06-13T14:03:28.328-07:00 (Cmd) Archive contents listed successfully
|
^Z
|
|
Add --no-ssl-verify flag, backup success
[root@s44018 ~]# /opt/couchbase/bin//cbbackupmgr backup -a /tmp/backup -r backup --cluster https://172.23.121.224:18091 -u Administrator -p password --cacert /root/cert.pem --storage sqlite --no-ssl-verify --resume
|
|
Backing up to 2019-06-13T14_02_32.029136277-07_00
|
Copied all data in 9s (Avg. 2.37MB/Sec) 31591 items / 21.37MB
|
travel-sample [===========================================================================================] 100.00%
|
|
Backup successfully completed
|
Backed up bucket "travel-sample" succeeded
|
Mutations backedup; 31591, Mutations failed to backup: 0
|
Deletions backedup: 0, Deletions failed to backup: 0
|
[root@s44018 ~]# /opt/couchbase/bin/cbbackupmgr list -r backup -a /tmp/backup/
|
Size Items Name
|
192.02MB - + backup
|
192.02MB - + 2019-06-13T14_02_32.029136277-07_00
|
192.02MB - + travel-sample
|
416B 0 bucket-config.json
|
192.00MB 31591 + data
|
192.00MB 31591 1024 Shards
|
2B 0 full-text.json
|
15.37KB 10 gsi.json
|
2B 0 views.json
|
[root@s44018 ~]#
|
|
I will find with build is the last working build.
Attachments
Issue Links
- Clones
-
MB-34597 cbbackupmgr failed to backup with secure connection
- Closed