class KeyManagerError(CinderException):
- msg_fmt = _("key manager error: %(reason)s")
+ message = _("key manager error: %(reason)s")
class ManageExistingInvalidReference(CinderException):
class VolumeGroupNotFound(CinderException):
- msg_fmt = _('Unable to find Volume Group: %(vg_name)s')
+ message = _('Unable to find Volume Group: %(vg_name)s')
class VolumeGroupCreationFailed(CinderException):
- msg_fmt = _('Failed to create Volume Group: %(vg_name)s')
+ message = _('Failed to create Volume Group: %(vg_name)s')
class VolumeDeviceNotFound(CinderException):
- msg_fmt = _('Volume device not found at %(device)s.')
+ message = _('Volume device not found at %(device)s.')
# Driver specific exceptions