Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Cheshire-Cat
-
Untriaged
-
1
-
Yes
Description
Steps to reproduce:
1. Create a bucket which has been populated by data.
2. Create an archive and repository using the backup service which backs up to the cloud.
3. Take two backups (the first one was full followed by an incremental backup).
4. Obtain the 'info' either through the service or via cbbackupmgr.
Observe that the backup was completed successfully and a 1000 items were backed up.
The 'cbbackupmgr info' command is failing.
[root@node1-cheshire-cat-testing-centos7 data]# /opt/couchbase/bin//cbbackupmgr info --archive s3://c039dc20-0ec2-11eb-80c3-acde48001122/archive-10.112.210.101 --obj-access-key-id asdf --obj-endpoint http://10.112.202.104:4572 --obj-region asdf --obj-secret-access-key asdf --obj-staging-dir /tmp/altstaging --s3-force-path-style --json --all |
{"name":"archive-10.112.210.101","archive_uuid":"49a0fc93-b85f-425d-81cd-e12c6ac057e1","repos":[{"name":"4eee829d-df7e-40dd-8ba8-af8f477d4d07","size":1126,"count":2,"backups":[{"date":"2020-10-15T08_45_36.053096045Z","type":"FULL","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"},{"date":"2020-10-15T08_46_28.556572914Z","type":"INCR","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"}]}],"size":1126} |
The files in the data directory are not unzipped.
[root@node1-cheshire-cat-testing-centos7 data]# ls /tmp/altstaging/archive-10.112.210.101/4eee829d-df7e-40dd-8ba8-af8f477d4d07/2020-10-15T08_45_36.053096045Z/default-513add1ac41f543ac38bafe2932e9885/data/ |
failoverlogs.zip snapshots.zip stats.zip
|
The service also reports the same findings.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
*Steps to reproduce:*
1. Create a bucket which has been populated by data. 2. Create an archive and repository using the backup service which backs up to the cloud. 3. Take two backups (the first one was full followed by an incremental backup). 4. Obtain the 'info' either through the service or via cbbackupmgr. Observe that the backup was completed successfully and a 1000 items were backed up. !Screenshot 2020-10-15 at 09.55.47.png|width=1610,height=223! The 'cbbackupmgr info' command is failing. {code:java} [root@node1-cheshire-cat-testing-centos7 data]# /opt/couchbase/bin//cbbackupmgr info --archive s3://c039dc20-0ec2-11eb-80c3-acde48001122/archive-10.112.210.101 --obj-access-key-id asdf --obj-endpoint http://10.112.202.104:4572 --obj-region asdf --obj-secret-access-key asdf --obj-staging-dir /tmp/altstaging --s3-force-path-style --json --all {"name":"archive-10.112.210.101","archive_uuid":"49a0fc93-b85f-425d-81cd-e12c6ac057e1","repos":[{"name":"4eee829d-df7e-40dd-8ba8-af8f477d4d07","size":1126,"count":2,"backups":[{"date":"2020-10-15T08_45_36.053096045Z","type":"FULL","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"},{"date":"2020-10-15T08_46_28.556572914Z","type":"INCR","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"}]}],"size":1126} {code} The files in the data directory are not unzipped. {code:java} [root@node1-cheshire-cat-testing-centos7 data]# ls /tmp/altstaging/archive-10.112.210.101/4eee829d-df7e-40dd-8ba8-af8f477d4d07/2020-10-15T08_45_36.053096045Z/default-513add1ac41f543ac38bafe2932e9885/data/ failoverlogs.zip snapshots.zip stats.zip {code} The service also reports the same findings. !Screenshot 2020-10-15 at 09.56.21.png|width=1654,height=354! |
*Steps to reproduce:*
1. Create a bucket which has been populated by data. 2. Create an archive and repository using the backup service which backs up to the cloud. 3. Take two backups (the first one was full followed by an incremental backup). 4. Obtain the 'info' either through the service or via cbbackupmgr. Observe that the backup was completed successfully and a 1000 items were backed up. The 'cbbackupmgr info' command is failing. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# /opt/couchbase/bin//cbbackupmgr info --archive s3://c039dc20-0ec2-11eb-80c3-acde48001122/archive-10.112.210.101 --obj-access-key-id asdf --obj-endpoint http://10.112.202.104:4572 --obj-region asdf --obj-secret-access-key asdf --obj-staging-dir /tmp/altstaging --s3-force-path-style --json --all {"name":"archive-10.112.210.101","archive_uuid":"49a0fc93-b85f-425d-81cd-e12c6ac057e1","repos":[{"name":"4eee829d-df7e-40dd-8ba8-af8f477d4d07","size":1126,"count":2,"backups":[{"date":"2020-10-15T08_45_36.053096045Z","type":"FULL","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"},{"date":"2020-10-15T08_46_28.556572914Z","type":"INCR","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"}]}],"size":1126} {code} The files in the data directory are not unzipped. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# ls /tmp/altstaging/archive-10.112.210.101/4eee829d-df7e-40dd-8ba8-af8f477d4d07/2020-10-15T08_45_36.053096045Z/default-513add1ac41f543ac38bafe2932e9885/data/ failoverlogs.zip snapshots.zip stats.zip {code} The service also reports the same findings. !Screenshot 2020-10-15 at 09.56.21.png|width=1654,height=354! |
Attachment | Screenshot 2020-10-15 at 09.55.47.png [ 111753 ] |
Description |
*Steps to reproduce:*
1. Create a bucket which has been populated by data. 2. Create an archive and repository using the backup service which backs up to the cloud. 3. Take two backups (the first one was full followed by an incremental backup). 4. Obtain the 'info' either through the service or via cbbackupmgr. Observe that the backup was completed successfully and a 1000 items were backed up. The 'cbbackupmgr info' command is failing. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# /opt/couchbase/bin//cbbackupmgr info --archive s3://c039dc20-0ec2-11eb-80c3-acde48001122/archive-10.112.210.101 --obj-access-key-id asdf --obj-endpoint http://10.112.202.104:4572 --obj-region asdf --obj-secret-access-key asdf --obj-staging-dir /tmp/altstaging --s3-force-path-style --json --all {"name":"archive-10.112.210.101","archive_uuid":"49a0fc93-b85f-425d-81cd-e12c6ac057e1","repos":[{"name":"4eee829d-df7e-40dd-8ba8-af8f477d4d07","size":1126,"count":2,"backups":[{"date":"2020-10-15T08_45_36.053096045Z","type":"FULL","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"},{"date":"2020-10-15T08_46_28.556572914Z","type":"INCR","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"}]}],"size":1126} {code} The files in the data directory are not unzipped. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# ls /tmp/altstaging/archive-10.112.210.101/4eee829d-df7e-40dd-8ba8-af8f477d4d07/2020-10-15T08_45_36.053096045Z/default-513add1ac41f543ac38bafe2932e9885/data/ failoverlogs.zip snapshots.zip stats.zip {code} The service also reports the same findings. !Screenshot 2020-10-15 at 09.56.21.png|width=1654,height=354! |
*Steps to reproduce:*
1. Create a bucket which has been populated by data. 2. Create an archive and repository using the backup service which backs up to the cloud. 3. Take two backups (the first one was full followed by an incremental backup). 4. Obtain the 'info' either through the service or via cbbackupmgr. Observe that the backup was completed successfully and a 1000 items were backed up. !Screenshot 2020-10-15 at 09.55.47.png|width=859,height=116,thumbnail! The 'cbbackupmgr info' command is failing. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# /opt/couchbase/bin//cbbackupmgr info --archive s3://c039dc20-0ec2-11eb-80c3-acde48001122/archive-10.112.210.101 --obj-access-key-id asdf --obj-endpoint http://10.112.202.104:4572 --obj-region asdf --obj-secret-access-key asdf --obj-staging-dir /tmp/altstaging --s3-force-path-style --json --all {"name":"archive-10.112.210.101","archive_uuid":"49a0fc93-b85f-425d-81cd-e12c6ac057e1","repos":[{"name":"4eee829d-df7e-40dd-8ba8-af8f477d4d07","size":1126,"count":2,"backups":[{"date":"2020-10-15T08_45_36.053096045Z","type":"FULL","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"},{"date":"2020-10-15T08_46_28.556572914Z","type":"INCR","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"}]}],"size":1126} {code} The files in the data directory are not unzipped. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# ls /tmp/altstaging/archive-10.112.210.101/4eee829d-df7e-40dd-8ba8-af8f477d4d07/2020-10-15T08_45_36.053096045Z/default-513add1ac41f543ac38bafe2932e9885/data/ failoverlogs.zip snapshots.zip stats.zip {code} The service also reports the same findings. !Screenshot 2020-10-15 at 09.56.21.png|width=1654,height=354! |
Description |
*Steps to reproduce:*
1. Create a bucket which has been populated by data. 2. Create an archive and repository using the backup service which backs up to the cloud. 3. Take two backups (the first one was full followed by an incremental backup). 4. Obtain the 'info' either through the service or via cbbackupmgr. Observe that the backup was completed successfully and a 1000 items were backed up. !Screenshot 2020-10-15 at 09.55.47.png|width=859,height=116,thumbnail! The 'cbbackupmgr info' command is failing. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# /opt/couchbase/bin//cbbackupmgr info --archive s3://c039dc20-0ec2-11eb-80c3-acde48001122/archive-10.112.210.101 --obj-access-key-id asdf --obj-endpoint http://10.112.202.104:4572 --obj-region asdf --obj-secret-access-key asdf --obj-staging-dir /tmp/altstaging --s3-force-path-style --json --all {"name":"archive-10.112.210.101","archive_uuid":"49a0fc93-b85f-425d-81cd-e12c6ac057e1","repos":[{"name":"4eee829d-df7e-40dd-8ba8-af8f477d4d07","size":1126,"count":2,"backups":[{"date":"2020-10-15T08_45_36.053096045Z","type":"FULL","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"},{"date":"2020-10-15T08_46_28.556572914Z","type":"INCR","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"}]}],"size":1126} {code} The files in the data directory are not unzipped. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# ls /tmp/altstaging/archive-10.112.210.101/4eee829d-df7e-40dd-8ba8-af8f477d4d07/2020-10-15T08_45_36.053096045Z/default-513add1ac41f543ac38bafe2932e9885/data/ failoverlogs.zip snapshots.zip stats.zip {code} The service also reports the same findings. !Screenshot 2020-10-15 at 09.56.21.png|width=1654,height=354! |
*Steps to reproduce:*
1. Create a bucket which has been populated by data. 2. Create an archive and repository using the backup service which backs up to the cloud. 3. Take two backups (the first one was full followed by an incremental backup). 4. Obtain the 'info' either through the service or via cbbackupmgr. Observe that the backup was completed successfully and a 1000 items were backed up. !Screenshot 2020-10-15 at 09.55.47.png|width=859,height=116! The 'cbbackupmgr info' command is failing. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# /opt/couchbase/bin//cbbackupmgr info --archive s3://c039dc20-0ec2-11eb-80c3-acde48001122/archive-10.112.210.101 --obj-access-key-id asdf --obj-endpoint http://10.112.202.104:4572 --obj-region asdf --obj-secret-access-key asdf --obj-staging-dir /tmp/altstaging --s3-force-path-style --json --all {"name":"archive-10.112.210.101","archive_uuid":"49a0fc93-b85f-425d-81cd-e12c6ac057e1","repos":[{"name":"4eee829d-df7e-40dd-8ba8-af8f477d4d07","size":1126,"count":2,"backups":[{"date":"2020-10-15T08_45_36.053096045Z","type":"FULL","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"},{"date":"2020-10-15T08_46_28.556572914Z","type":"INCR","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"}]}],"size":1126} {code} The files in the data directory are not unzipped. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# ls /tmp/altstaging/archive-10.112.210.101/4eee829d-df7e-40dd-8ba8-af8f477d4d07/2020-10-15T08_45_36.053096045Z/default-513add1ac41f543ac38bafe2932e9885/data/ failoverlogs.zip snapshots.zip stats.zip {code} The service also reports the same findings. !Screenshot 2020-10-15 at 09.56.21.png|width=1654,height=354! |
Description |
*Steps to reproduce:*
1. Create a bucket which has been populated by data. 2. Create an archive and repository using the backup service which backs up to the cloud. 3. Take two backups (the first one was full followed by an incremental backup). 4. Obtain the 'info' either through the service or via cbbackupmgr. Observe that the backup was completed successfully and a 1000 items were backed up. !Screenshot 2020-10-15 at 09.55.47.png|width=859,height=116! The 'cbbackupmgr info' command is failing. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# /opt/couchbase/bin//cbbackupmgr info --archive s3://c039dc20-0ec2-11eb-80c3-acde48001122/archive-10.112.210.101 --obj-access-key-id asdf --obj-endpoint http://10.112.202.104:4572 --obj-region asdf --obj-secret-access-key asdf --obj-staging-dir /tmp/altstaging --s3-force-path-style --json --all {"name":"archive-10.112.210.101","archive_uuid":"49a0fc93-b85f-425d-81cd-e12c6ac057e1","repos":[{"name":"4eee829d-df7e-40dd-8ba8-af8f477d4d07","size":1126,"count":2,"backups":[{"date":"2020-10-15T08_45_36.053096045Z","type":"FULL","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"},{"date":"2020-10-15T08_46_28.556572914Z","type":"INCR","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"}]}],"size":1126} {code} The files in the data directory are not unzipped. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# ls /tmp/altstaging/archive-10.112.210.101/4eee829d-df7e-40dd-8ba8-af8f477d4d07/2020-10-15T08_45_36.053096045Z/default-513add1ac41f543ac38bafe2932e9885/data/ failoverlogs.zip snapshots.zip stats.zip {code} The service also reports the same findings. !Screenshot 2020-10-15 at 09.56.21.png|width=1654,height=354! |
*Steps to reproduce:*
1. Create a bucket which has been populated by data. 2. Create an archive and repository using the backup service which backs up to the cloud. 3. Take two backups (the first one was full followed by an incremental backup). 4. Obtain the 'info' either through the service or via cbbackupmgr. Observe that the backup was completed successfully and a 1000 items were backed up. !Screenshot 2020-10-15 at 09.55.47.png|width=1592,height=215! The 'cbbackupmgr info' command is failing. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# /opt/couchbase/bin//cbbackupmgr info --archive s3://c039dc20-0ec2-11eb-80c3-acde48001122/archive-10.112.210.101 --obj-access-key-id asdf --obj-endpoint http://10.112.202.104:4572 --obj-region asdf --obj-secret-access-key asdf --obj-staging-dir /tmp/altstaging --s3-force-path-style --json --all {"name":"archive-10.112.210.101","archive_uuid":"49a0fc93-b85f-425d-81cd-e12c6ac057e1","repos":[{"name":"4eee829d-df7e-40dd-8ba8-af8f477d4d07","size":1126,"count":2,"backups":[{"date":"2020-10-15T08_45_36.053096045Z","type":"FULL","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"},{"date":"2020-10-15T08_46_28.556572914Z","type":"INCR","source":"http://127.0.0.1:8091","events":0,"fts_alias":0,"size":563,"buckets":[{"name":"default","size":559,"items":0,"mutations":0,"tombstones":0,"views_count":0,"fts_count":0,"index_count":0,"analytics_count":0}],"complete":true,"source_cluster_uuid":"b42ca123505bb99db26cb66dd20806dd"}]}],"size":1126} {code} The files in the data directory are not unzipped. {code:java}[root@node1-cheshire-cat-testing-centos7 data]# ls /tmp/altstaging/archive-10.112.210.101/4eee829d-df7e-40dd-8ba8-af8f477d4d07/2020-10-15T08_45_36.053096045Z/default-513add1ac41f543ac38bafe2932e9885/data/ failoverlogs.zip snapshots.zip stats.zip {code} The service also reports the same findings. !Screenshot 2020-10-15 at 09.56.21.png|width=1654,height=354! |
Summary | 'cbbackupmgr info' cannot unzip the items in the data directory | 'cbbackupmgr info' cannot unzip the items in the data directory and consequently cannot info from the cloud |
Affects Version/s | Cheshire-Cat [ 15915 ] |
Component/s | tools [ 10223 ] |
Labels | cbbackupmgr |
Is this a Regression? | Unknown [ 10452 ] | Yes [ 10450 ] |
Fix Version/s | Cheshire-Cat [ 15915 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Summary | 'cbbackupmgr info' cannot unzip the items in the data directory and consequently cannot info from the cloud | [S3] cbbackupmgr info does not inflate archive metadata when mounting archive |
Assignee | James Lee [ james.lee ] | Asad Zaidi [ JIRAUSER25025 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Labels | cbbackupmgr | cbbackupmgr manual_testing |
Fix Version/s | 7.0.0 [ 17233 ] |
Fix Version/s | Cheshire-Cat [ 15915 ] |