Commit 6f3f0881 authored by Anael Beutot's avatar Anael Beutot
Browse files

Improved logging for DRBD job

parent 46526163
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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