79
80
prefix = block_device.match_device(mappings['root'])[0]
80
81
except (TypeError, AttributeError, ValueError):
81
82
raise exception.InvalidDevicePath(path=mappings['root'])
83
88
LOG.debug(_("Using %(prefix)s instead of %(req_prefix)s") % locals())