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

cbbackup throws error and exits with exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Test Blocker
    • 3.0
    • 3.0-Beta, 3.0
    • tools
    • Security Level: Public
    • All OSes
    • Untriaged
    • Unknown

    Description

      Tested with build: 3.0.0-1174.rel

      Setup: 3-Node cluster with XDCR between another 3-node cluster.

      The cbbackup fails when try to take full backup of the cluster.
      Command executed: /opt/couchbase/bin/cbbackup http://Administrator:password@172.23.106.71:8091 /tmp/backup -m full

      Output from Cbbackup>>

      vb_937:abs_high_seqno 0
      vb_756:abs_high_seqno 0
      vb_982:purge_seqno 0
      vb_813:high_seqno 0
      vb_921:high_seqno 0
      vb_1008:uuid 54486033539771
      vb_976:uuid 21079925921752

      Exception in thread w2:
      Traceback (most recent call last):
      File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner
      self.run()
      File "/usr/lib64/python2.6/threading.py", line 484, in run
      self._target(*self.args, **self._kwargs)
      File "/opt/couchbase/lib/python/pump.py", line 286, in run_worker
      source_map, sink_map, self.ctl, curx).run()
      File "/opt/couchbase/lib/python/pump.py", line 344, in run
      rv_batch, batch = self.source.provide_batch()
      File "/opt/couchbase/lib/python/pump_dcp.py", line 113, in provide_batch
      rv, dcp_conn = self.get_dcp_conn()
      File "/opt/couchbase/lib/python/pump_dcp.py", line 395, in get_dcp_conn
      self.setup_dcp_streams()
      File "/opt/couchbase/lib/python/pump_dcp.py", line 475, in setup_dcp_streams
      if int(vbid) not in self.node_vbucket_map:
      ValueError: invalid literal for int() with base 10: '751:abs'

      The last build when cbbackup was working: 3.0.0-1157. The build 3.0.0-1158 when cbbackup was broken.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            bcui Bin Cui (Inactive)
            ashvinder Ashvinder Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty