During an attempted database recovery, an availability database manager was not found for database id %1!s! with availability ...

During an attempted database recovery, an availability database manager was not found for database id %1!s! with availability group ID %2!s! and group database ID %3!s!.  Recovery was terminated. The most likely cause of this error is that the availability group manager is not running, but the cause could be a metadata error. Ensure that the availability group manager and the WSFC cluster are started, and retry the recovery operation.