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

cbbackup/cbrestore doesn't handle external ip address

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0
    • 2.0
    • tools
    • Security Level: Public
    • None

    Description

      Error if external IP is used for backup. Only internal ip (10.188.1.49) works.

      [root@ip-10-188-1-49 ~]# /opt/couchbase/bin/cbbackup http://test:password@ec2-184-169-209-27.us-west-1.compute.amazonaws.com:8091 ~/backup/backup-1 -u admin -p password
      .
      bucket: restore, msgs transferred...
      : total | last | per sec
      batch : 1 | 1 | 7.6
      byte : 0 | 0 | 0.0
      msg : 0 | 0 | 0.0
      Traceback (most recent call last):
      File "/opt/couchbase/lib/python/cbbackup", line 12, in <module>
      sys.exit(pump_transfer.Backup().main(sys.argv))
      File "/opt/couchbase/lib/python/pump_transfer.py", line 78, in main
      sink_class, sink).run()
      File "/opt/couchbase/lib/python/pump.py", line 125, in run
      rv = self.transfer_bucket_design(source_bucket, source_map, sink_map)
      File "/opt/couchbase/lib/python/pump.py", line 237, in transfer_bucket_design
      source_bucket, source_map)
      File "/opt/couchbase/lib/python/pump_tap.py", line 63, in provide_design
      (spec_parts), None)
      TypeError: not all arguments converted during string formatting

      Attachments

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

        Activity

          People

            steve Steve Yen
            Chisheng Chisheng Hong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty