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

Incorrect error with cbbackupmgr collect-log and --output-dir

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 7.0.0
    • 6.6.3
    • tools
    • None
    • Untriaged
    • 1
    • Unknown

    Description

      Problem
      When a file path is provided instead of a folder to -output-dir argument of the collect-logs subcommand the error prints the repo incorrectly instead of the value passed to -output-dir

      Steps to Reproduce

      1. Create a repo

      cbbackupmgr config -a arch -r repo
      

      2.

      /opt/couchbase/bin/cbbackupmgr collect-logs -a arch   -o /never
      Collecting logs from arch failed: no such file or directory
      

      Expectation
      For the correct error message to be produce

      /opt/couchbase/bin/cbbackupmgr collect-logs -a arch   -o /never
      Collecting logs from /never failed: no such file or directory
      

      Work around
      Provide the correct value to --output-dir

      Attachments

        Issue Links

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

          Activity

            People

              pvarley Patrick Varley (Inactive)
              pvarley Patrick Varley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty