Misleading error message on LVM backup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Backup/Restore and DR (Freezer) |
New
|
Undecided
|
Unassigned |
Bug Description
When you do not pass the correct or if you ommit '--lvm-snapsize' option and you may have a smaller LVM volume than the default 5GB you will get the following error:
test_lvm_
test_lvm_level0 (backup_
test_no_lvm_level0 (backup_
test_utils_methods (backup_
=======
ERROR: test_lvm_
-------
Traceback (most recent call last):
File "/home/
main.
File "/home/
freezer_
File "/home/
retval = func(self)
File "/home/
self.conf, self.start_
File "/home/
lvm_
File "/home/
raise Exception('lvm snapshot mounting error: {0}'.format(
Exception: lvm snapshot mounting error: mount: special device /dev/freezer-
-------
Ran 4 tests in 2.585s
FAILED (errors=1)
Which does not communicate the real LVM error.
description: | updated |