2015-02-25 16:49:34 |
Zahari Zahariev |
description |
Freezer displays a misguiding error when you try to backup path or file that does not exist. The other starnge thing is although it returns a "Critical error" it still creates the backup containers for that execution.
Example:
========
zahari@zahari-z420:~/workspace/freezer-review$ swift list
zahari@zahari-z420:~/workspace/freezer-review$ freezerc --action backup --path-to-backup /tmp/kiss_me --container TEST199 --backup-name backup1
log file at /var/log/freezer.log
[*] Critical Error: Error: Please ALL the following options: --path-to-backup, --backup-name
zahari@zahari-z420:~/workspace/freezer-review$ swift list
freezer_TEST199
freezer_TEST199_segments
========
Correct behavior should be to report helpful error message that path is non-existant and to fail all further actions so no Swift containser should be created. |
Freezer displays a misguiding error when you try to backup path or file that does not exist. The other starnge thing is although it returns a "Critical error" it still creates the backup containers for that execution.
Found in:
=========
zahari@zahari-z420:~$ freezerc --version
freezer version 1.1.2
Example:
========
zahari@zahari-z420:~$ swift list
zahari@zahari-z420:~$ freezerc --action backup --path-to-backup /tmp/kiss_me --container TEST199 --backup-name backup1
log file at /var/log/freezer.log
[*] Critical Error: Error: Please ALL the following options: --path-to-backup, --backup-name
zahari@zahari-z420:~$ swift list
freezer_TEST199
freezer_TEST199_segments
========
Correct behavior should be to report helpful error message that path is non-existant and to fail all further actions so no Swift containser should be created. |
|