- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 06:29 PM
Hello,
I'm trying to discover my RHV(O-virt).
But cannot discover my RHV.
I'm following Red Hat Virtualization discovery (servicenow.com)
My mid servers can access https://<<RHV IP>>/ovirt-engine/api with RHV ID/PW.
So I think connection is OK.
But cannot discover datacenter.
And Mid server log is
2024-03-23T04:14:54.473+0900 INFO (Worker-Interactive:HorizontalDiscoveryProbe-7fd5f81647c9069063a82bbbb36d4353) [FipsLogger:69] Integration crypto failure protocol=HTTPS javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated: peer not authenticated
2024-03-23T04:14:54.473+0900 WARN (Worker-Interactive:HorizontalDiscoveryProbe-7fd5f81647c9069063a82bbbb36d4353) [HTTPClient:828] Request not sent to uri= https://10.3.4.191/ovirt-engine/api/datacenters?search=page1&max=100 : org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted: Session contains no certificates - Untrusted
2024-03-23T04:14:54.474+0900 WARN (Worker-Interactive:HorizontalDiscoveryProbe-7fd5f81647c9069063a82bbbb36d4353) [RhinoExceptions:285] org.mozilla.javascript.EcmaError: Cannot convert null to an object.
Caused by error in MID Server script include 'RHVApiUtil' at line 151
148: Packages.com.snc.sw.log.DiscoLog.getLogger("RHVApiUtil script include.").debug(" RHV Query URL: " + fullUrl);
149: response = httpClient.invoke(CTX, fullUrl, 'GET', null, null, ciType, fullHeader, 'false');
150:
==> 151: if (response.length() < 30 && response.includes('401 Unauthorized') && isToken == 'true'){
Please give me some advice.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 07:43 PM
After changing "Mid Security Policy - intranet" then It works,
Make false - "cetrificate chain check, hostname check, revocation check"
Best Regards,
Hank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 09:01 AM
Hi @Hank Woo ,
Refer the below article, which may helps you.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0994345
Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.
Thanks
AJ
Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/
ServiceNow Community Rising Star 2024
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2024 07:43 PM
After changing "Mid Security Policy - intranet" then It works,
Make false - "cetrificate chain check, hostname check, revocation check"
Best Regards,
Hank.