Restoring oVirt after hardware crash

Hi, the machine running my oVirt Engine administrator recently died on me. I have been able to get most of it back up and running again on a new virtual machine with CentOS 6.x in another virtual environment. The local postgresql database is running, and I can login via the web interface. All my VMs, storages, networks and hosts are visible, but marked as being offline/non responsive. Is there a way I can re-add or re-enable my existing hosts on this restored manager? with regards, -- Morten A. Middelthon Email: morten@flipp.net

Hard to help without the logs. Can you attach the engine log and server log? Regards, Oved On Apr 7, 2016 4:37 PM, "Morten A. Middelthon" <morten@flipp.net> wrote:
Hi,
the machine running my oVirt Engine administrator recently died on me. I have been able to get most of it back up and running again on a new virtual machine with CentOS 6.x in another virtual environment. The local postgresql database is running, and I can login via the web interface. All my VMs, storages, networks and hosts are visible, but marked as being offline/non responsive. Is there a way I can re-add or re-enable my existing hosts on this restored manager?
with regards,
-- Morten A. Middelthon Email: morten@flipp.net
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 07. april 2016 19:00, Oved Ourfali wrote:
Hard to help without the logs. Can you attach the engine log and server log?
Yep, forgot the logs... From the engine.log this seems relevant: 2016-04-08 09:30:14,140 ERROR [org.ovirt.engine.core.vdsbroker.HostMonitoring] (DefaultQuartzScheduler_Worker-23) [] Failure to refresh Vds runtime info: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target and 2016-04-08 09:30:14,139 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-23) [] Command 'GetCapabilitiesVDSCommand(HostName = RIT-D2-SSM01, VdsIdAndVdsVDSCommandParametersBase:{runAsync='true', hostId='9af028a1-35ec-4b10-96d3-6dda6e7061e5', vds='Host[RIT-D2-SSM01,9af028a1-35ec-4b10-96d3-6dda6e7061e5]'})' execution failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target The hosts are called RIT-D1-SSM01 and RIT-D2-SSM01 I have uploaded the logs to: http://flipp.net/ovirt/ The engine.log is quite large, so I've put the last 1000 lines of it into: http://flipp.net/ovirt/engine.log.tail -- Morten A. Middelthon Email: morten@flipp.net

On 08/04/16 09:40 +0200, Morten A. Middelthon wrote:
On 07. april 2016 19:00, Oved Ourfali wrote:
Hard to help without the logs. Can you attach the engine log and server log?
Yep, forgot the logs... From the engine.log this seems relevant:
2016-04-08 09:30:14,140 ERROR [org.ovirt.engine.core.vdsbroker.HostMonitoring] (DefaultQuartzScheduler_Worker-23) [] Failure to refresh Vds runtime info: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
and
2016-04-08 09:30:14,139 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-23) [] Command 'GetCapabilitiesVDSCommand(HostName = RIT-D2-SSM01, VdsIdAndVdsVDSCommandParametersBase:{runAsync='true', hostId='9af028a1-35ec-4b10-96d3-6dda6e7061e5', vds='Host[RIT-D2-SSM01,9af028a1-35ec-4b10-96d3-6dda6e7061e5]'})' execution failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Looks like the client certificates need to be refreshed on your hosts.
From the UI, select a host and choose the reinstall option. This will reinstall the certificates and your hosts should be able to activate.
The hosts are called RIT-D1-SSM01 and RIT-D2-SSM01
I have uploaded the logs to:
The engine.log is quite large, so I've put the last 1000 lines of it into:
http://flipp.net/ovirt/engine.log.tail
-- Morten A. Middelthon Email: morten@flipp.net
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Adam Litke

Den 08.04.2016 19:35, skrev Adam Litke:
Looks like the client certificates need to be refreshed on your hosts. From the UI, select a host and choose the reinstall option. This will reinstall the certificates and your hosts should be able to activate.
I assume this won't affect any running VMs on the hosts? -- Morten A. Middelthon

On 08/04/16 19:45 +0200, Morten A. Middelthon wrote:
Den 08.04.2016 19:35, skrev Adam Litke:
Looks like the client certificates need to be refreshed on your hosts. From the UI, select a host and choose the reinstall option. This will reinstall the certificates and your hosts should be able to activate.
I found better option if your engine supports it. Right click your hosts and choose "Enroll certificate".
I assume this won't affect any running VMs on the hosts?
If the hosts are already in Non Responsive or Non Operational then it should not affect them. However, if the reinstall upgrades sanlock that can cause the host to restart. -- Adam Litke
participants (3)
-
Adam Litke
-
Morten A. Middelthon
-
Oved Ourfali