Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/vdsm/storage/managedvolume.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@

# Tested by Moritz Wanzenböck <technik+ovirt (at) linbit.com>
"local",

# Tested by Viktor Ivanov <info (at) storpool.com>
"storpool",
)

log = logging.getLogger("storage.managedvolume")
Expand Down Expand Up @@ -234,6 +237,9 @@ def _resolve_path(vol_id, connection_info, attachment):
elif vol_type == "rbd":
# /dev/rbd/poolname/volume-vol-id
return os.path.join(DEV_RBD, connection_info['data']['name'])
elif vol_type == "storpool":
# StorPool returns a full device path
return attachment["path"]
else:
log.warning("Managed Volume without multipath info: %s",
attachment)
Expand Down