[ovirt-users] Re: Can't connect "https://FQDN/ovirt-engine" after reinstall ovirt-engine
On the new system, I restored from the backup ovirt engine 4.1. Restored without errors engine-backup --mode=restore --file=file_name --log=log_file_name --provision-db --provision-dwh-db --restore-permissions Also restored /etc/pki from backup. I did not know what should be the rights to the folders, now they are: drwxr-xr-x. 7 rootroot 213 мар 21 06:17 CA drwxr-xr-x. 4 rootroot 73 мар 20 23:53 ca-trust drwxr-xr-x. 2 rootroot 123 мар 21 06:17 fwupd drwxr-xr-x. 2 rootroot 92 мар 21 06:17 fwupd-metadata drwxr-xr-x. 2 rootroot 21 мар 20 23:53 java drwxr-xr-x. 2 rootroot 103 мар 20 23:53 nssdb drwxr-xr-x. 2 rootroot 30 мар 20 23:53 nss-legacy drwxr-xr-x. 6 ovirt ovirt 4,0K мар 21 05:49 ovirt-engine drwxr-xr-x. 2 ovirt-vmconsole ovirt-vmconsole 142 окт 14 2016 ovirt-vmconsole drwxr-xr-x. 2 rootroot 243 мар 21 06:17 rpm-gpg drwxr-xr-x. 2 rootroot 6 окт 31 08:08 rsyslog drwxr-xr-x. 5 rootroot 104 мар 21 06:17 tls in the ovirt-engine directory for all files, the owner is ovirt, for the ovirt-vmconsole directory for all files is the owner for ovirt-vmconsole I can connect to the web interface at "https://FQDN/ovirt-engine";, I can log in using my login/password, but the Data Center is not active. Here is what it writes in the engine.log: 2019-03-21 16:03:02,029+09 INFO [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Connecting to ovirt-n1.vs.jak/192.168.0.6 2019-03-21 16:03:04,386+09 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (DefaultQuartzScheduler9) [5ecc17d5] Failure to refresh host 'ovirt-n1.vs.jak' runtime info: org/apache/commons/lang/StringUtils 2019-03-21 16:03:04,387+09 ERROR [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] (DefaultQuartzScheduler9) [5ecc17d5] Failed to invoke scheduled method onTimer: null 2019-03-21 16:03:04,419+09 INFO [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Connecting to ovirt-n2.vs.jak/192.168.0.7 2019-03-21 16:03:05,487+09 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (DefaultQuartzScheduler10) [8bfc0e5] Failure to refresh host 'ovirt-n2.vs.jak' runtime info: org/apache/commons/lang/StringUtils 2019-03-21 16:03:05,488+09 ERROR [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] (DefaultQuartzScheduler10) [8bfc0e5] Failed to invoke scheduled method onTimer: null 2019-03-21 16:03:07,436+09 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (DefaultQuartzScheduler9) [5e8dcb07] Failure to refresh host 'ovirt-n1.vs.jak' runtime info: org/apache/commons/lang/StringUtils 2019-03-21 16:03:07,437+09 ERROR [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] (DefaultQuartzScheduler9) [5e8dcb07] Failed to invoke scheduled method onTimer: null 2019-03-21 16:03:08,521+09 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring] (DefaultQuartzScheduler10) [486f9b4] Failure to refresh host 'ovirt-n2.vs.jak' runtime info: org/apache/commons/lang/StringUtils 2019-03-21 16:03:08,521+09 ERROR [org.ovirt.engine.core.utils.timer.SchedulerUtilQuartzImpl] (DefaultQuartzScheduler10) [486f9b4] Failed to invoke scheduled method onTimer: null ___ 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/BFVHTA3ULI4LK42T4JQUF6GLZ7YASQTP/
[ovirt-users] Re: Can't connect "https://FQDN/ovirt-engine" after reinstall ovirt-engine
Hi, Are you the same person sending an email with identical subject, but from a different (similar) email address? Please see my answer to that one. Thanks. On Wed, Mar 20, 2019 at 12:25 PM Александр Егоров wrote: > > How do I repair the ovirt-engine? > > engine.log in attachment > ___ > 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/ZQWNO2O57PCQN2FIJM2D3HI36REHUCMR/ -- Didi ___ 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/HK2UGDND2YPVXHJU6Q2REVHNFVYOB6US/
[ovirt-users] Re: Can't connect "https://FQDN/ovirt-engine" after reinstall ovirt-engine
On Wed, Mar 20, 2019 at 7:35 AM 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-4.2.8.2-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 -- 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/F2XBYZQCONFCA7VOMYU44HYLGRGO2ZAR/