'Add multihost-access to a volume. Needed for live migration.'

def add_multihost_access(self, volume):

    try:
        cmd = ['volume', 'select', volume['name'], 'multihost-access', 'enable']
        self._eql_execute(*cmd)
    except Exception:
        with excutils.save_and_reraise_exception():
            LOG.error('Failed    to    add    multihost-access    for    volume    "%s".', volume['name'])
