KB 10160 Connectivity problem with Ovirt-like hypervisor
KB ID: 10160
Product: Storware Backup & Recovery
Version: 6.0.0 and above
Hypervisor: Ovirt-like
Published: 2023-09-30
Last modified: 2023-09-30
Problem
After update Storware Backup & Recovery you have a problem with connectivity with Ovirt-like Hypervisor Managers:
[2023-09-12 00:36:09.322] DEBUG [pool-5-thread-20] RhvConnection.connect:99
[69e5ae83-6a69-4cb0-a727-06669c42361e] Connecting to https://ovirt.address.local/ovirt-engine/api as admin@internal@internalsso
[2023-09-12 00:36:09.330] ERROR [pool-5-thread-20] RhvConnection.lambda$getRetryPolicy$1:80
[69e5ae83-6a69-4cb0-a727-06669c42361e] Attempt number: 6 failed.
org.ovirt.engine.sdk4.Error: Failed to parse JSON response
at org.ovirt.engine.sdk4.internal.HttpConnection.getSsoResponse(HttpConnection.java:435) ~[engine.jar:?]
at org.ovirt.engine.sdk4.internal.HttpConnection.getAccessToken(HttpConnection.java:375) ~[engine.jar:?]
at org.ovirt.engine.sdk4.internal.HttpConnection.authenticate(HttpConnection.java:305) ~[engine.jar:?]
at eu.storware.vprotect.engine.hypervisormanager.rhv.api.RhvConnection.connect(RhvConnection.java:100) ~[engine.jar:?]
at dev.failsafe.Functions.lambda$toCtxSupplier$11(Functions.java:243) ~[engine.jar:?]
at dev.failsafe.Functions.lambda$get$0(Functions.java:46) ~[engine.jar:?]
at dev.failsafe.internal.RetryPolicyExecutor.lambda$apply$0(RetryPolicyExecutor.java:74) ~[engine.jar:?]
at dev.failsafe.SyncExecutionImpl.executeSync(SyncExecutionImpl.java:187) [engine.jar:?]
at dev.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:376) [engine.jar:?]
at dev.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:112) [engine.jar:?]
at eu.storware.vprotect.engine.hypervisormanager.rhv.api.RhvConnection.getConnection(RhvConnection.java:70) [engine.jar:?]
at eu.storware.vprotect.engine.hypervisormanager.rhv.api.RhvConnection.getSystemSvc(RhvConnection.java:144) [engine.jar:?]
at eu.storware.vprotect.engine.hypervisormanager.rhv.api.RhvConnection.getVmsSvc(RhvConnection.java:150) [engine.jar:?]
at eu.storware.vprotect.engine.hypervisormanager.rhv.api.RhvConnection.getVmSvc(RhvConnection.java:156) [engine.jar:?]
at eu.storware.vprotect.engine.hypervisormanager.rhv.api.RhvConnection.getDiskAttachmentsSvc(RhvConnection.java:186) [engine.jar:?]
at eu.storware.vprotect.engine.hypervisormanager.rhv.RhvUtil.getDiskAttachmentToDiskMap(RhvUtil.java:97) [engine.jar:?]
at eu.storware.vprotect.engine.hypervisormanager.rhv.RhvHypervisorManager.syncDisks(RhvHypervisorManager.java:524) [engine.jar:?]
at eu.storware.vprotect.engine.hypervisormanager.rhv.RhvHypervisorManager.syncDisks(RhvHypervisorManager.java:102) [engine.jar:?]
at eu.storware.vprotect.engine.task.ExportTask.run(ExportTask.java:125) [engine.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: javax.net.ssl.SSLPeerUnverifiedException: Certificate for <ovirt.address.local> doesn't match any of the subject alternative names: [ovirt.address.localdomain]
Solution
There are two ways to resolve that:
You can in Hypervisor Manager configuration tab set “Trust all Certificates“ switch.
You can check certificates and FQDN for hosts of hypervisor. It must match (certificate and FQDN), and certificate must be valid.