Skip to content

Commit

Permalink
add more debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
abbbi committed Oct 29, 2024
1 parent 0c2a887 commit e5d3eca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libqmpbackup/vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,12 @@ def get_block_devices(blockinfo, argv, excluded_disks, included_disks, uuid):
if driver == "rbd":
log.info("Ceph device found, using image name")
filename = encoded_name["file"]["image"]
log.debug("RBD image name: [%s]", filename)
except KeyError:
log.debug("Non RBD Device detected, use filename setting.")
try:
filename = encoded_name["file"]["next"]["filename"]
log.debug("Filename detected: [%s]", filename)
except KeyError:
log.warning(
"Json encoded setting found but no filename property set for device: [%s]",
Expand Down

0 comments on commit e5d3eca

Please sign in to comment.