[ovirt-users] Re: Engine restore failing
OK, found the real error is here: 2018-10-26 08:16:17 1874: pg_cmd running: pg_restore -w -U engine -h localhost -p 5432 -d engine -j 2 /tmp/engine-backup.uqg1Ha3mFP/db/engine_backup.db pg_restore: [archiver] unsupported version (1.13) in file header So pg_restore is restoring nothing and everything else after that fails with strange results. On Wed, Oct 31, 2018 at 7:52 AM Maton, Brett wrote: > Raised bug report https://bugzilla.redhat.com/show_bug.cgi?id=1644550 > > 5 days with no hosted engine to manage production servers > > On Tue, 30 Oct 2018 at 06:45, Maton, Brett > wrote: > >> Any suggestions on the FATAL: Failed checking DbJustRestored error ? >> >> On Sat, 27 Oct 2018 at 16:01, Maton, Brett >> wrote: >> >>> Not sure what you mean by ovirt-engine-appliance, I just deploy with >>> 'hosted-engine --deploy...' and keep it upto date. >>> >>> On Fri, 26 Oct 2018 at 13:23, Simone Tiraboschi >>> wrote: >>> Adding also Didi on this. Brett, are you using the latest ovirt-engine-appliance? On Fri, Oct 26, 2018 at 1:31 PM Maton, Brett wrote: > 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 > wrote: > >> >> >> On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett < >> mat...@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 >>> wrote: >>> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett < mat...@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: https://bugzilla.redhat.com/show_bug.cgi?id=1620314 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 https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm > 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 attac
[ovirt-users] Re: Engine restore failing
Raised bug report https://bugzilla.redhat.com/show_bug.cgi?id=1644550 5 days with no hosted engine to manage production servers On Tue, 30 Oct 2018 at 06:45, Maton, Brett wrote: > Any suggestions on the FATAL: Failed checking DbJustRestored error ? > > On Sat, 27 Oct 2018 at 16:01, Maton, Brett > wrote: > >> Not sure what you mean by ovirt-engine-appliance, I just deploy with >> 'hosted-engine --deploy...' and keep it upto date. >> >> On Fri, 26 Oct 2018 at 13:23, Simone Tiraboschi >> wrote: >> >>> Adding also Didi on this. >>> Brett, are you using the latest ovirt-engine-appliance? >>> >>> On Fri, Oct 26, 2018 at 1:31 PM Maton, Brett >>> wrote: >>> 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 wrote: > > > On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett > 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 >> wrote: >> >>> >>> >>> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett < >>> mat...@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: >>> https://bugzilla.redhat.com/show_bug.cgi?id=1620314 >>> >>> 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 >>> >>> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm >>> >>> >>> 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-le...@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/ >>> ___ Users mailing list --
[ovirt-users] Re: Engine restore failing
Any suggestions on the FATAL: Failed checking DbJustRestored error ? On Sat, 27 Oct 2018 at 16:01, Maton, Brett wrote: > Not sure what you mean by ovirt-engine-appliance, I just deploy with > 'hosted-engine --deploy...' and keep it upto date. > > On Fri, 26 Oct 2018 at 13:23, Simone Tiraboschi > wrote: > >> Adding also Didi on this. >> Brett, are you using the latest ovirt-engine-appliance? >> >> On Fri, Oct 26, 2018 at 1:31 PM Maton, Brett >> wrote: >> >>> 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 >>> wrote: >>> On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett 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 > wrote: > >> >> >> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett < >> mat...@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: >> https://bugzilla.redhat.com/show_bug.cgi?id=1620314 >> >> 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 >> >> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm >> >> >> >>> 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-le...@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/ >>> >> ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/DWSFEUBAOPV7GQUEAY
[ovirt-users] Re: Engine restore failing
Not sure what you mean by ovirt-engine-appliance, I just deploy with 'hosted-engine --deploy...' and keep it upto date. On Fri, 26 Oct 2018 at 13:23, Simone Tiraboschi wrote: > Adding also Didi on this. > Brett, are you using the latest ovirt-engine-appliance? > > On Fri, Oct 26, 2018 at 1:31 PM Maton, Brett > wrote: > >> 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 >> wrote: >> >>> >>> >>> On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett >>> 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 wrote: > > > On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett > 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: > https://bugzilla.redhat.com/show_bug.cgi?id=1620314 > > 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 > > https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm > > > >> 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-le...@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/ >> > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/45F2AFAEUVJSJDSLZNKGXL3RC6XYJJGN/
[ovirt-users] Re: Engine restore failing
Adding also Didi on this. Brett, are you using the latest ovirt-engine-appliance? On Fri, Oct 26, 2018 at 1:31 PM Maton, Brett wrote: > 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 > wrote: > >> >> >> On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett >> 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 >>> wrote: >>> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett 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: https://bugzilla.redhat.com/show_bug.cgi?id=1620314 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 https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm > 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-le...@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/ > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/UCCVMVJTRPDT65JSSXV6YJWUTJE2HRAG/
[ovirt-users] Re: Engine restore failing
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 wrote: > > > On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett > 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 >> wrote: >> >>> >>> >>> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett >>> 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: >>> https://bugzilla.redhat.com/show_bug.cgi?id=1620314 >>> >>> 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 >>> >>> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm >>> >>> >>> 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-le...@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/ >>> ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/RETYBZH3W5AKYZBTDRAJ7FHQTL7XMGOJ/
[ovirt-users] Re: Engine restore failing
On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett 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 > wrote: > >> >> >> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett >> 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: >> https://bugzilla.redhat.com/show_bug.cgi?id=1620314 >> >> 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 >> >> https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm >> >> >> >>> 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-le...@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/ >>> >> ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/6C5OQNLNVU2ZHCZ2PPJ6263Y526J6C2L/
[ovirt-users] Re: Engine restore failing
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 ? Regards, Brett On Fri, 26 Oct 2018 at 08:35, Simone Tiraboschi wrote: > > > On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett > 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: > https://bugzilla.redhat.com/show_bug.cgi?id=1620314 > > 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 > > https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm > > > >> 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-le...@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/ >> > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/7QIPAX45FPT6LAWEVQKHWLQPECZO2M5W/
[ovirt-users] Re: Engine restore failing
On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett 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: https://bugzilla.redhat.com/show_bug.cgi?id=1620314 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 https://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_4.2_build-artifacts-el7-x86_64/161/artifact/exported-artifacts/ovirt-hosted-engine-setup-2.2.30-1.el7.noarch.rpm > 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-le...@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/ > ___ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@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/GBCZEALRUHVDSSMNG43ESNX35AGSS4UO/