Hi Simone,

  I'm seeing the same error with new hosted-engine0setup RPM...
...
[ ERROR ] fatal: [ovirt.gh.ltresources.co.uk]: FAILED! => {"changed": true, "cmd": "engine-backup --mode=restore --log=/var/log/ovirt-engine/setup/restore-backup-$(date -u +%Y%m%d%H%M%S).log --file=/root/engine_backup --provision-all-databases --restore-permissions", "delta": "0:00:12.219742", "end": "2018-10-26 12:28:20.127547", "msg": "non-zero return code", "rc": 1, "start": "2018-10-26 12:28:07.907805", "stderr": "FATAL: Failed checking DbJustRestored", "stderr_lines": ["FATAL: Failed checking DbJustRestored"], "stdout": "Preparing to restore:\n- Unpacking file '/root/engine_backup'\nRestoring:\n- Files\nProvisioning PostgreSQL users/databases:\n- user 'engine', database 'engine'\n- user 'ovirt_engine_history', database 'ovirt_engine_history'\nRestoring:\n- Engine database 'engine'\n  - Cleaning up temporary tables in engine database 'engine'", "stdout_lines": ["Preparing to restore:", "- Unpacking file '/root/engine_backup'", "Restoring:", "- Files", "Provisioning PostgreSQL users/databases:", "- user 'engine', database 'engine'", "- user 'ovirt_engine_history', database 'ovirt_engine_history'", "Restoring:", "- Engine database 'engine'", "  - Cleaning up temporary tables in engine database 'engine'"]}
...

On Fri, 26 Oct 2018 at 09:19, Simone Tiraboschi <stirabos@redhat.com> wrote:


On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett <matonb@ltresources.co.uk> wrote:
Hi Simone,

  Can I simply installed the 4.2.7 hosted-engine-setup rpm on top of the 4.2.6 installation on the node I'm using to redeploy SHE, or should I bump everything to the 4.2.7 pre-release ?

You can simply update ovirt-hosted-engine-setup rpm
 

Regards,
Brett

On Fri, 26 Oct 2018 at 08:35, Simone Tiraboschi <stirabos@redhat.com> wrote:


On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett <matonb@ltresources.co.uk> wrote:
oVirt: 4.2.6.2-1

I'm Moving hosted engine from one storage domain to another by backing up and restoring the engine.

New VM provisioned in new storage domain, I get as far as trying to restore the backup:

but am getting this DbJustRestored Error:

Hi,
you probably hit:

That feature has been reworked for 4.2.7: with next release you will be able to run
  hosted-engine --deploy --restore-from-file=yourbackup.tar.gz
that will automatically inject your backup file.

If you want to have a preview of that feature you can try with



engine-backup --mode=restore --file=engine.backup --log=engine-restore.log --provision-db --provision-dwh-db --restore-permissions
Preparing to restore:
- Unpacking file 'engine.backup'
Restoring:
- Files
Provisioning PostgreSQL users/databases:
- user 'engine', database 'engine'
- user 'ovirt_engine_history', database 'ovirt_engine_history'
Restoring:
- Engine database 'engine'
  - Cleaning up temporary tables in engine database 'engine'
FATAL: Failed checking DbJustRestored

restore log attached, any suggestions ?
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/NJ4USBWDAN3EOVV3YMSYYBJFPCJNXAXB/