2024-02-16 21:05:28,499+0000 DEBUG var changed: host "localhost" var 
"ovirt_sso_auth" type "<type 'dict'>" value: "{
    "attempts": 50, 
    "changed": false, 
    "exception": "Traceback (most recent call last):\n  File 
\"/tmp/ansible_ovirt_auth_payload_GY8VTT/ansible_ovirt_auth_payload.zip/ansible/modules/cloud/ovirt/ovirt_auth.py\",
 line 276, in main\n  File 
\"/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py\", line 382, in 
authenticate\n    self._sso_token = self._get_access_token()\n  File 
\"/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py\", line 618, in 
_get_access_token\n    sso_response = self._get_sso_response(self._sso_url, 
post_data)\n  File 
\"/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py\", line 703, in 
_get_sso_response\n    self._check_content_type(self.__JSON_CONTENT_TYPE_RE, 
'JSON', header_lines)\n  File 
\"/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py\", line 890, in 
_check_content_type\n    raise Error(msg)\nError: The response content type 
'text/html; charset=iso-8859-1' isn't the expected JSON\n", 
    "failed": true, 
    "msg": "The response content type 'text/html; charset=iso-8859-1' isn't the 
expected JSON"
}"
2024-02-16 21:05:28,499+0000 DEBUG var changed: host "localhost" var 
"ansible_play_hosts" type "<type 'list'>" value: "[]"
2024-02-16 21:05:28,499+0000 DEBUG var changed: host "localhost" var 
"play_hosts" type "<type 'list'>" value: "[]"
2024-02-16 21:05:28,499+0000 DEBUG var changed: host "localhost" var 
"ansible_play_batch" type "<type 'list'>" value: "[]"
2024-02-16 21:05:28,500+0000 ERROR ansible failed {'status': 'FAILED', 
'ansible_type': 'task', 'ansible_task': u'Obtain SSO token using 
username/password credentials', 'ansible_result': u'type: <type \'dict\'>\nstr: 
{u\'exception\': u\'Traceback (most recent call last):\\n  File 
"/tmp/ansible_ovirt_auth_payload_GY8VTT/ansible_ovirt_auth_payload.zip/ansible/modules/cloud/ovirt/ovirt_auth.py",
 line 276, in main\\n  File 
"/usr/lib64/python2.7/site-packages/ovirtsdk4/__init__.py", line 382, in 
authenticate\\n    self._ss', 'task_duration': 955, 'ansible_host': 
u'localhost', 'ansible_playbook': 
u'/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml'}
2024-02-16 21:05:28,500+0000 DEBUG ansible on_any args 
<ansible.executor.task_result.TaskResult object at 0x7f70e7500750> kwargs 
ignore_errors:None 
2024-02-16 21:05:28,506+0000 INFO ansible stats {
    "ansible_playbook": 
"/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml", 
    "ansible_playbook_duration": "16:00 Minutes", 
    "ansible_result": "type: <type 'dict'>\nstr: {u'localhost': {'ignored': 0, 
'skipped': 1, 'ok': 4, 'failures': 1, 'unreachable': 0, 'rescued': 0, 
'changed': 0}}", 
    "ansible_type": "finish", 
    "status": "FAILED"
}
2024-02-16 21:05:28,506+0000 INFO SUMMARY:
Duration        Task Name
--------        --------
[ < 1 sec ]     Execute just a specific set of steps
[  00:01  ]     Force facts gathering
[ < 1 sec ]     Check local VM dir stat
[ FAILED  ]     Obtain SSO token using username/password credentials
2024-02-16 21:05:28,507+0000 DEBUG ansible on_any args 
<ansible.executor.stats.AggregateStats object at 0x7f70f6095690> kwargs 
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZEJQDL4JGDU3L6KWXKNRVOXVGMTW7JWM/

Reply via email to