You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My RHV instance has digital certificate expired. Even though,ovirt_auth has entry insecure set to true the error is still happening. Is this a bug? Or is it something I am missing?
Steps to reproduce
- name: Authenticating to RHV at {{ rhv_host }}ovirt_auth:
url: "https://{{ rhv_host }}/ovirt-engine/api"insecure: truekerberos: true
- name: Get all rhv vmsovirt_vm_info:
auth: "{{ ovirt_auth }}"register: all_rhv_vms
Problem
I would expect the previous code to run successfully (even with the RHV instance with cert epired), but I am finding the following error:
The response content type 'text/html;charset=UTF-8' isn't the expected XML
Is this a bug? Could it be that I am missing something? If this is a bug, is there something I can do to bypass it temporarily?
Thanks in advance,
The text was updated successfully, but these errors were encountered:
HI, are you sure that the Kerberos login is working? The error which you got is because the engine does not return the XML. Could you try logging into the engine with a python api/curl request?
(I'm thinking to implement better logging for these errors.)
Getting similar error when run through ovirt module ovirtsdk4.Error: The response content type 'text/html; charset=utf-8' isn't the expected JSON
When I tried to hit the API with curl and getting this error
Summary
Hi, module ovirt_vm_info is failing with error:
The response content type 'text/html;charset=UTF-8' isn't the expected XML
.Environment:
My RHV instance has digital certificate expired. Even though,
ovirt_auth
has entryinsecure
set totrue
the error is still happening. Is this a bug? Or is it something I am missing?Steps to reproduce
Problem
I would expect the previous code to run successfully (even with the RHV instance with cert epired), but I am finding the following error:
Is this a bug? Could it be that I am missing something? If this is a bug, is there something I can do to bypass it temporarily?
Thanks in advance,
The text was updated successfully, but these errors were encountered: