
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5nUHJTtHgGKFqBJrGPUJhQQvGpB826XlW Content-Type: multipart/mixed; boundary="q4KOr5GvJA9S6x6AcrRqBLxpovuTHj0SC"; protected-headers="v1" From: Ricky Schneberger <ricky@schneberger.se> Reply-To: ricky@schneberger.se To: users <users@ovirt.org> Message-ID: <041a88c2-9f61-c15d-f2fb-5548d5d430e7@schneberger.se> Subject: engine-backup Ovirt 3.6. --q4KOr5GvJA9S6x6AcrRqBLxpovuTHj0SC Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Its time to move in to Ovirt 4.x. But when I do the backup I got an error telling me "FATAL: Failed notifying engine". The command I us is "engine-backup --mode=3Dbackup=20 --file=3Dengine_2.6.7.tar.gz --log=3Dengine_2.6.7_backup.log" and the what I got is: " Backing up: Notifying engine Notifying engine FATAL: Failed notifying engine " The engine_2.6.7_backup.log says: " 2017-01-27 12:55:20 17029: Start of engine-backup mode backup scope all file engine_2.6.7.tar.gz 2017-01-27 12:55:20 17029: OUTPUT: Backing up: 2017-01-27 12:55:20 17029: Generating pgpass 2017-01-27 12:55:20 17029: OUTPUT: Notifying engine 2017-01-27 12:55:20 17029: pg_cmd running: psql -w -U engine -h localhost -p 5432 engine -t -c SELECT LogEngineBackupEvent('files', now(), 0, 'Started', 'ovirt.actnet.local', '/root/engine_2.6.7_backup.log'); psql: FATAL: password authentication failed for user "engine" 2017-01-27 12:55:20 17029: FATAL: Failed notifying engine 2017-01-27 12:55:20 17029: OUTPUT: Notifying engine 2017-01-27 12:55:20 17029: pg_cmd running: psql -w -U engine -h localhost -p 5432 engine -t -c SELECT LogEngineBackupEvent('files', now(), -1, 'Failed notifying engine', 'ovirt.actnet.local', '/root/engine_2.6.7_backup.log'); psql: FATAL: password authentication failed for user "engine" 2017-01-27 12:55:20 17029: FATAL: Failed notifying engine " I can connect to the database with user"engine" and the password found in the file "10-setup-database.conf". Regards --=20 Ricky Schneberger ------------------------------------ Use PGP to protect your own privacy! Key fingerprint =3D 59E1 2B00 C28B 6E0D C8D1 D85B 39AA 7CD5 B88C 0B63 Key-ID: 0xB88C0B63 --q4KOr5GvJA9S6x6AcrRqBLxpovuTHj0SC-- --5nUHJTtHgGKFqBJrGPUJhQQvGpB826XlW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAliLPYUACgkQOap81biMC2OlsACffNfXK0gQJQa7wJ/2uauVU0hi oOIAnjRT0a3F6dyRniwbh4q5c+lmtGjO =fxxg -----END PGP SIGNATURE----- --5nUHJTtHgGKFqBJrGPUJhQQvGpB826XlW-- -- IMPORTANT! This message has been scanned for viruses and phishing links. However, it is your responsibility to evaluate the links and attachments you choose to click. If you are uncertain, we always try to help. Greetings helpdesk@actnet.se

On Fri, Jan 27, 2017 at 2:31 PM, Ricky Schneberger <ricky@schneberger.se> wrote:
Hi,
Its time to move in to Ovirt 4.x.
Good luck!
But when I do the backup I got an error telling me "FATAL: Failed notifying engine".
The command I us is "engine-backup --mode=backup --file=engine_2.6.7.tar.gz --log=engine_2.6.7_backup.log" and the what I got is:
" Backing up: Notifying engine Notifying engine FATAL: Failed notifying engine "
The engine_2.6.7_backup.log says:
" 2017-01-27 12:55:20 17029: Start of engine-backup mode backup scope all file engine_2.6.7.tar.gz 2017-01-27 12:55:20 17029: OUTPUT: Backing up: 2017-01-27 12:55:20 17029: Generating pgpass 2017-01-27 12:55:20 17029: OUTPUT: Notifying engine 2017-01-27 12:55:20 17029: pg_cmd running: psql -w -U engine -h localhost -p 5432 engine -t -c SELECT LogEngineBackupEvent('files', now(), 0, 'Started', 'ovirt.actnet.local', '/root/engine_2.6.7_backup.log'); psql: FATAL: password authentication failed for user "engine" 2017-01-27 12:55:20 17029: FATAL: Failed notifying engine 2017-01-27 12:55:20 17029: OUTPUT: Notifying engine 2017-01-27 12:55:20 17029: pg_cmd running: psql -w -U engine -h localhost -p 5432 engine -t -c SELECT LogEngineBackupEvent('files', now(), -1, 'Failed notifying engine', 'ovirt.actnet.local', '/root/engine_2.6.7_backup.log'); psql: FATAL: password authentication failed for user "engine" 2017-01-27 12:55:20 17029: FATAL: Failed notifying engine
"
I can connect to the database with user"engine" and the password found in the file "10-setup-database.conf".
What happens when you run the following: PGPASS="$(mktemp)" . /usr/share/ovirt-engine/bin/engine-prolog.sh PASSWORD="$(sed 's;\(["\$]\);\\\1;g' << __EOF__ ${ENGINE_DB_PASSWORD} __EOF__ )" cat > "${PGPASS}" << __EOF__ ${ENGINE_DB_HOST}:${ENGINE_DB_PORT}:${ENGINE_DB_DATABASE}:${ENGINE_DB_USER}:${PASSWORD} __EOF__ PGPASSFILE="${PGPASS}" psql -h "${ENGINE_DB_HOST}" -p "${ENGINE_DB_PORT}" -U "${ENGINE_DB_USER}" -d "${ENGINE_DB_DATABASE}" -c 'select 1' rm "${PGPASS}" Best, -- Didi
participants (2)
-
Ricky Schneberger
-
Yedidyah Bar David