You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I incorrectly used vg-targetd/thinpool instead of vg-targetd/thin_pool in the configuration file. When I started the service it came up OK, but when I exercised the service I would get the following exception:
DEBUG:root:Traceback (most recent call last):
File "/home/tasleson/projects/targetd-master/targetd/main.py", line 117, in do_POST
result = mapping[method](self)
File "/home/tasleson/projects/targetd-master/targetd/main.py", line 247, in pool_list
return list(itertools.chain(block.block_pools(req), fs.fs_pools(req)))
File "/home/tasleson/projects/targetd-master/targetd/block.py", line 340, in block_pools
thinp = vg.lvFromName(tp_name)
LibLVMError: (0, '')
This should be improved so that we catch this as start-up and we exit with a nice error message instead of a cryptic stack exception.
The text was updated successfully, but these errors were encountered:
tasleson
added a commit
to tasleson/targetd
that referenced
this issue
Jul 5, 2019
I incorrectly used
vg-targetd/thinpool
instead ofvg-targetd/thin_pool
in the configuration file. When I started the service it came up OK, but when I exercised the service I would get the following exception:This should be improved so that we catch this as start-up and we exit with a nice error message instead of a cryptic stack exception.
The text was updated successfully, but these errors were encountered: