The cinder.volume.flows.common Module

error_out(resource, reason=None, status='error')

Sets status to error for any persistent OVO.

make_pretty_name(method)

Makes a pretty name for a function/method.

restore_source_status(context, db, volume_spec)