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
- duplicates
-
MB-40926 [CBM] Collect log ouput directory not valid error is vague
- Closed