'Force failover to a secondary replication target.'

@utils.trace
def failover_host(self, context, volumes, secondary_id=None, groups=None):

    common = self._login(timeout=30)
    try:
        (active_backend_id, volume_updates) = common.failover_host(context, volumes, secondary_id)
        self._active_backend_id = active_backend_id
        return (active_backend_id, volume_updates, [])
    finally:
        self._logout(common)
