Thank you!!

That fixed the problem with engine-restore 
now i get the following error when performing engine-setup


 INFO  ] Stage: Transaction setup
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping Image I/O Proxy service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration (early)
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Configuring Image I/O Proxy
[ ERROR ] Failed to execute stage 'Misc configuration': 'NoneType' object has no attribute 'execute'
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Stage: Clean up
          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20190620161000-8bgr10.log
[ INFO  ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20190620161341-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup fail

On Thu, Jun 20, 2019 at 3:44 PM Lucie Leistnerova <lleistne@redhat.com> wrote:
Hi,

On 6/20/19 2:27 PM, ada per wrote:
> Hello everyone,
>
> im running on ovirt 4.3.5
> For some strange reason the httpd service couldn't start on my hosted engine so i could not access the Web interface.After various unsuccessful attempts to fix it, I decided to restore the hosted engine.
>
> Following the steps:
> 1.engine-cleanup
> 2.db had to delete it manually using  rm -rf /var/lib/pgsql/data
> 3.engine-backup --mode=restore --file=backup_file --log=log_file_name --provision-db --no-restore-permissions
> 4.engine-setup
>
> On step 3 it keeps coming with error messages "FATAL: Can't connect to database 'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'.

ovirt_engine_history is DWH database. So I think you miss
--provision-dwh-db parameter.

  --provision-db                     create a PostgreSQL database for
the Engine on restore
  --provision-dwh-db                 create a PostgreSQL database for
Data Warehouse on restore
                                     If provisioning databases, this
option will default.
  --provision-all-databases          on restore, create a PostgreSQL
database for all the
                                    databases that were included in the
backup

>
> i need to get this hosted-engine up and running so please advice
>
> _______________________________________________
> 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/S7AYLQFYRFVDNF7E34FUG6IVCYNATIFE/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe