Skip to content
Snippets Groups Projects
Commit 6f3f0881 authored by Anael Beutot's avatar Anael Beutot
Browse files

Improved logging for DRBD job

parent 46526163
No related branches found
No related tags found
No related merge requests found
......@@ -774,7 +774,8 @@ class DRBD(object):
try:
subproc_call([self.DMSETUP, 'create', self.dm_copy], self.dm_table)
except CalledProcessError:
logger.error('Cannot create copy DM of LV')
logger.error('Cannot create copy DM of LV with table "%s"',
self.dm_table)
raise
logger.debug('Setup DRBD device')
# get drbd path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment