Fixes #23589, #23590 - Handle remote dbs during service actions
When service command is used on deployment with remote dbs we do not have access to the DB services. We try to access the DB and log the status. On service start we make sure the remote DB is up and running.
Related issues
Bug #23589: Service command operates with the local Postgres even when Satellite uses remote DB
Bug #23590: service command operates with the local Mongo even when Pulp uses remote DB
Fixes #23589, #23590 - Handle remote dbs during service actions
When service command is used on deployment with remote dbs we
do not have access to the DB services. We try to access the DB
and log the status. On service start we make sure the remote DB
is up and running.