Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-25770

CLONE - unable to backup cluster with ephemeral bucket: unexpected end of JSON input

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.6.4, 5.1.0
    • 5.0.0
    • tools
    •  5.0.0-2634
    • Triaged
    • Centos 64-bit
    • Unknown

    Description

      1) non empty default ephemeral bucket
      2)
      /opt/couchbase/bin/cbbackupmgr config --archive /tmp/backups --repo example
      ['Backup repository `example` created successfully in archive `/tmp/backups`']
      /opt/couchbase/bin/cbbackupmgr backup --archive /tmp/backups --repo example --cluster couchbase://127.0.0.1 --username Administrator --password password
      ['Error backing up cluster: unexpected end of JSON input']

      [root@centos-64-x64 backups]# cat logs/backup.log 
      2017-04-19T04:19:30.120-07:00 (Cmd) config --archive /tmp/backups --repo example 
      2017-04-19T04:19:30.121-07:00 (Cmd) Backup repository `example` created successfully in archive `/tmp/backups`
      2017-04-19T04:19:30.816-07:00 (Cmd) backup --archive /tmp/backups --repo example --cluster couchbase://127.0.0.1 --username Administrator --password ******** 
      2017-04-19T04:19:30.818-07:00 (Rest) GET http://127.0.0.1:8091/pools 200
      2017-04-19T04:19:30.828-07:00 (Rest) GET http://127.0.0.1:8091/pools/default/buckets 200
      2017-04-19T04:19:30.829-07:00 (Cmd) Error backing up cluster: unexpected end of JSON input
      2017-04-19T04:20:26.033-07:00 (Cmd) backup --archive /tmp/backups --repo example --cluster couchbase://127.0.0.1 --username Administrator --password ******** 
      2017-04-19T04:20:26.035-07:00 (Rest) GET http://127.0.0.1:8091/pools 200
      2017-04-19T04:20:26.047-07:00 (Rest) GET http://127.0.0.1:8091/pools/default/buckets 200
      2017-04-19T04:20:26.048-07:00 (Cmd) Error backing up cluster: unexpected end of JSON input
      2017-04-19T04:21:58.050-07:00 (Cmd) config --archive /tmp/backups --repo example 
      2017-04-19T04:21:58.050-07:00 (Cmd) Backup repository creation failed: Backup Repository `example` exists
      2017-04-19T04:22:07.628-07:00 (Cmd) backup --archive /tmp/backups --repo example --cluster couchbase://127.0.0.1 --username Administrator --password ******** 
      2017-04-19T04:22:07.631-07:00 (Rest) GET http://127.0.0.1:8091/pools 200
      2017-04-19T04:22:07.641-07:00 (Rest) GET http://127.0.0.1:8091/pools/default/buckets 200
      2017-04-19T04:22:07.643-07:00 (Cmd) Error backing up cluster: unexpected end of JSON input
      
      

      basic test http://review.couchbase.org/#/c/77036/

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-25770
          # Subject Branch Project Status CR V

          Activity

            People

              thuan Thuan Nguyen
              andreibaranouski Andrei Baranouski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty