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 <[email protected]> wrote:

> Any suggestions on the FATAL: Failed checking DbJustRestored error ?
>
> On Sat, 27 Oct 2018 at 16:01, Maton, Brett <[email protected]>
> 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 <[email protected]>
>> 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 <[email protected]>
>>> 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 <[email protected]>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Fri, Oct 26, 2018 at 9:52 AM Maton, Brett <[email protected]>
>>>>> 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 <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Oct 26, 2018 at 9:23 AM Maton, Brett <
>>>>>>> [email protected]> 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 -- [email protected]
>>>>>>>> To unsubscribe send an email to [email protected]
>>>>>>>> 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/[email protected]/message/NJ4USBWDAN3EOVV3YMSYYBJFPCJNXAXB/
>>>>>>>>
>>>>>>>
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/3PT2SGTMNMN7MTJB67KZITYCHLHS6X3E/

Reply via email to