On Wed, Mar 20, 2019 at 7:35 AM <excli...@mail.ru> wrote: > > 19.03.2019 on the server with the ovirt engine, I reinstalled the GUI and it > seemed to delete the ovirt-engine, in any case, the installed ovirt-engine > packages were not. I reinstalled the ovirt-engine package, but could not > connect to the web interface. There are such errors in the > /var/log/ovirt-engine/engine.log: > > 2019-03-20 11:37:12,660+09 INFO > [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService > Thread Pool -- 58)  Initializing extension 'internal-authz' > 2019-03-20 11:37:12,661+09 ERROR > [org.ovirt.engine.extension.aaa.jdbc.binding.api.AuthzExtension] > (ServerService Thread Pool -- 58)  Unexpected Exception invoking: > EXTENSION_INITIALIZE[e5ae1b7f-9104-4f23-a444-7b9175ff68d2] > 2019-03-20 11:37:12,662+09 ERROR > [org.ovirt.engine.core.extensions.mgr.ExtensionsManager] (ServerService > Thread Pool -- 58)  Error in activating extension 'internal-authz': > Connection refused. Check that the hostname and port are correct and that the > postmaster is accepting TCP/IP connections. > 2019-03-20 11:37:12,662+09 ERROR > [org.ovirt.engine.core.sso.utils.SsoExtensionsManager] (ServerService Thread > Pool -- 58)  Could not initialize extension 'internal-authz'. Exception > message is: Class: class > org.ovirt.engine.core.extensions.mgr.ExtensionInvokeCommandFailedException > ... > 2019-03-20 11:37:13,046+09 ERROR > [org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataServlet] > (ServerService Thread Pool -- 44)  Could not access engine's DWH > configuration table: java.sql.SQLException: javax.resource.ResourceException: > IJ000453: Unable to get managed connection for java:/ENGINEDataSource > ... > 2019-03-20 11:37:13,049+09 WARN > [org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataServlet] > (ServerService Thread Pool -- 44)  No valid DWH configurations were found, > assuming DWH database isn't setup. > 2019-03-20 11:37:13,049+09 INFO > [org.ovirt.engine.ui.frontend.server.dashboard.DashboardDataServlet] > (ServerService Thread Pool -- 44)  Dashboard DB query cache has been > disabled. > > ovirt-engine-188.8.131.52-1 > CentOS 7, 3.10.0-693.2.2.el7.x86_64 > > I have a backup file, but version 4.1. Recovering from it using engine-backup > is impossible. > I also have a backup /etc before deleting the ovirt-engine. > > Как мне восстановить ovirt-engine?
Please provide more details. What exactly did you do? If it's something like: yum install ovirt-engine engine-setup yum remove ovirt-engine yum install ovirt-engine then: 1. Recovering from that is not supported nor tested, so take the following with a grain of salt. 2. The biggest damage from 'yum remove' is removal of pki. You should find a backup, though, in /etc/pki/ovirt-engine-backups/something. You can try to restore that to /etc/pki/ovirt-engine and see what happens. 3. You can also simply try running 'engine-setup'. It should recreate pki. This will also then require reinstalling all hosts (or at least "Enroll Certificate"). 4. Alternatively, you can try using your 4.1 engine-backup. Best way is by installing 4.1, restoring the backup, then upgrading. Alternatively, you can patch engine-backup to not refuse restoring the older version, see e.g. https://bugzilla.redhat.com/show_bug.cgi?id=1425788 . 5. Alternatively, you can compare your current /etc with the backup you took, and carefully decide which files should be restored. Then you can try running 'egnine-setup' and see what happens. Obviously, this is the best option in terms of chances for success, but is also the most time-consuming. Good luck and best regards, -- Didi _______________________________________________ Users mailing list -- email@example.com 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://firstname.lastname@example.org/message/F2XBYZQCONFCA7VOMYU44HYLGRGO2ZAR/