Hello, I'm trying to install Ovirt 4.5 and I got the following error.
FAILED! => {"attempts": 50, "changed": false, "msg": "Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials."} The node and hosted-engine vm password is the same and does not have any problem. Here are detailed logs. What am I doing wrong? Thank you. Regards 2023-05-18 18:49:25,924+0000 DEBUG ansible on_any args localhost TASK: ovirt.ovirt.hosted_engine_setup : include_tasks kwargs 2023-05-18 18:49:26,601+0000 INFO ansible ok {'status': 'OK', 'ansible_type': 'task', 'ansible_playbook': '/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml', 'ansible_host': 'localhost', 'ansible_task': '', 'task_duration': 1} 2023-05-18 18:49:26,601+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa5580> kwargs 2023-05-18 18:49:26,644+0000 DEBUG ansible on_any args /usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/auth_sso.yml (args={} vars={}): [localhost] kwargs 2023-05-18 18:49:27,317+0000 INFO ansible task start {'status': 'OK', 'ansible_type': 'task', 'ansible_playbook': '/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml', 'ansible_task': 'ovirt.ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials'} 2023-05-18 18:49:27,317+0000 DEBUG ansible on_any args TASK: ovirt.ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials kwargs is_conditional:False 2023-05-18 18:49:27,318+0000 DEBUG ansible on_any args localhost TASK: ovirt.ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials kwargs 2023-05-18 18:49:29,447+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f970781b430> kwargs 2023-05-18 18:49:40,175+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97079b9190> kwargs 2023-05-18 18:49:50,869+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97079cb460> kwargs 2023-05-18 18:50:01,565+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97079b9190> kwargs 2023-05-18 18:50:12,258+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707864b50> kwargs 2023-05-18 18:50:22,932+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97079b9b80> kwargs 2023-05-18 18:50:33,638+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9709cb0370> kwargs 2023-05-18 18:50:44,319+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97079b9190> kwargs 2023-05-18 18:50:54,990+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9709cb0370> kwargs 2023-05-18 18:51:05,683+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97079b9b80> kwargs 2023-05-18 18:51:16,375+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9709cb0370> kwargs 2023-05-18 18:51:27,062+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97079b9190> kwargs 2023-05-18 18:51:37,766+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9709cb0a60> kwargs 2023-05-18 18:51:48,422+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97077c3670> kwargs 2023-05-18 18:51:59,125+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97078c2a30> kwargs 2023-05-18 18:52:09,821+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa5730> kwargs 2023-05-18 18:52:20,489+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707a41ac0> kwargs 2023-05-18 18:52:31,188+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f970781b700> kwargs 2023-05-18 18:52:41,873+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707894580> kwargs 2023-05-18 18:52:52,559+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707894760> kwargs 2023-05-18 18:53:03,260+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97079f3d00> kwargs 2023-05-18 18:53:13,923+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa14f0> kwargs 2023-05-18 18:53:24,622+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707a01310> kwargs 2023-05-18 18:53:35,311+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97076b0700> kwargs 2023-05-18 18:53:45,964+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa14f0> kwargs 2023-05-18 18:53:56,661+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f970771afa0> kwargs 2023-05-18 18:54:07,346+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa15e0> kwargs 2023-05-18 18:54:18,018+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa5730> kwargs 2023-05-18 18:54:28,715+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa5c40> kwargs 2023-05-18 18:54:39,387+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97076f8cd0> kwargs 2023-05-18 18:54:50,067+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa17c0> kwargs 2023-05-18 18:55:00,773+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa5730> kwargs 2023-05-18 18:55:11,426+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707a36c40> kwargs 2023-05-18 18:55:22,121+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa5c40> kwargs 2023-05-18 18:55:32,809+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97077b5880> kwargs 2023-05-18 18:55:43,463+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97075dc0d0> kwargs 2023-05-18 18:55:54,157+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa14f0> kwargs 2023-05-18 18:56:04,841+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa5c40> kwargs 2023-05-18 18:56:15,500+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97079b9250> kwargs 2023-05-18 18:56:26,193+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97076b05e0> kwargs 2023-05-18 18:56:36,875+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f970787c790> kwargs 2023-05-18 18:56:47,557+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f970769ba00> kwargs 2023-05-18 18:56:58,257+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707aa14f0> kwargs 2023-05-18 18:57:08,912+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97076f8c10> kwargs 2023-05-18 18:57:19,612+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97076f8040> kwargs 2023-05-18 18:57:30,302+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97077b5160> kwargs 2023-05-18 18:57:40,969+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f970769b160> kwargs 2023-05-18 18:57:51,664+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f9707516b80> kwargs 2023-05-18 18:58:02,347+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97073f1c40> kwargs 2023-05-18 18:58:13,021+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f970769bb20> kwargs 2023-05-18 18:58:24,784+0000 DEBUG var changed: host "localhost" var "ansible_failed_task" type "<class 'dict'>" value: "{ "action": "ovirt_auth", "any_errors_fatal": false, "args": { "_ansible_check_mode": false, "_ansible_debug": false, "_ansible_diff": false, "_ansible_keep_remote_files": false, "_ansible_module_name": "ovirt_auth", "_ansible_no_log": false, "_ansible_remote_tmp": "~/.ansible/tmp", "_ansible_selinux_special_fs": [ "fuse", "nfs", "vboxsf", "ramfs", "9p", "vfat" ], "_ansible_shell_executable": "/bin/sh", "_ansible_socket": null, "_ansible_string_conversion_action": "warn", "_ansible_syslog_facility": "LOG_USER", "_ansible_tmpdir": "/root/.ansible/tmp/ansible-tmp-1684436303.0466125-36573-187227954552032/", "_ansible_verbosity": 0, "_ansible_version": "2.13.5", "insecure": true }, "async": 0, "async_val": 0, "become": false, "become_exe": null, "become_flags": null, "become_method": "sudo", "become_user": null, "changed_when": [], "check_mode": false, "collections": [ "ovirt.ovirt", "ansible.builtin" ], "connection": "local", "debugger": null, "delay": 10, "delegate_facts": null, "delegate_to": null, "diff": false, "environment": [ { "OVIRT_PASSWORD": "**FILTERED**", "OVIRT_URL": "https://eng.xxxx.net/ovirt-engine/api", "OVIRT_USERNAME": "admin@internal" } ], "failed_when": [], "finalized": true, "ignore_errors": null, "ignore_unreachable": null, "loop": null, "loop_control": null, "loop_with": null, "module_defaults": [], "name": "Obtain SSO token using username/password credentials", "no_log": null, "notify": null, "poll": 15, "port": null, "register": "ovirt_sso_auth", "remote_user": null, "retries": 50, "run_once": null, "squashed": true, "tags": [ "never", "bootstrap_local_vm", "never" ], "throttle": 0, "timeout": 0, "until": [ "ovirt_sso_auth is succeeded" ], "uuid": "1866daab-9d24-cf71-0985-00000000181c", "vars": {}, "when": [] }" 2023-05-18 18:58:24,784+0000 DEBUG var changed: host "localhost" var "ansible_failed_result" type "<class 'dict'>" value: "{ "_ansible_no_log": null, "_ansible_parsed": true, "attempts": 50, "changed": false, "exception": "Traceback (most recent call last):\n File \"/tmp/ansible_ovirt_auth_payload_x_h__rn9/ansible_ovirt_auth_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_auth.py\", line 287, in main\n File \"/usr/lib64/python3.6/site-packages/ovirtsdk4/__init__.py\", line 382, in authenticate\n self._sso_token = self._get_access_token()\n File \"/usr/lib64/python3.6/site-packages/ovirtsdk4/__init__.py\", line 627, in _get_access_token\n sso_error[1]\novirtsdk4.AuthError: Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials.\n", "failed": true, "invocation": { "module_args": { "ca_file": null, "compress": true, "headers": null, "hostname": null, "insecure": true, "kerberos": false, "ovirt_auth": null, "password": null, "state": "present", "timeout": 0, "token": null, "url": null, "username": null } }, "msg": "Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials." }" 2023-05-18 18:58:24,784+0000 ERROR ansible failed { "ansible_host": "localhost", "ansible_playbook": "/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml", "ansible_result": { "_ansible_no_log": null, "attempts": 50, "changed": false, "exception": "Traceback (most recent call last):\n File \"/tmp/ansible_ovirt_auth_payload_x_h__rn9/ansible_ovirt_auth_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_auth.py\", line 287, in main\n File \"/usr/lib64/python3.6/site-packages/ovirtsdk4/__init__.py\", line 382, in authenticate\n self._sso_token = self._get_access_token()\n File \"/usr/lib64/python3.6/site-packages/ovirtsdk4/__init__.py\", line 627, in _get_access_token\n sso_error[1]\novirtsdk4.AuthError: Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials.\n", "invocation": { "module_args": { "ca_file": null, "compress": true, "headers": null, "hostname": null, "insecure": true, "kerberos": false, "ovirt_auth": null, "password": null, "state": "present", "timeout": 0, "token": null, "url": null, "username": null } }, "msg": "Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials." }, "ansible_task": "Obtain SSO token using username/password credentials", "ansible_type": "task", "status": "FAILED", "task_duration": 538 } 2023-05-18 18:58:24,784+0000 DEBUG ansible on_any args <ansible.executor.task_result.TaskResult object at 0x7f97073f1520> kwargs ignore_errors:None 2023-05-18 18:58:25,487+0000 DEBUG var changed: host "localhost" var "ovirt_sso_auth" type "<class 'dict'>" value: "{ "attempts": 50, "changed": false, "exception": "Traceback (most recent call last):\n File \"/tmp/ansible_ovirt_auth_payload_x_h__rn9/ansible_ovirt_auth_payload.zip/ansible_collections/ovirt/ovirt/plugins/modules/ovirt_auth.py\", line 287, in main\n File \"/usr/lib64/python3.6/site-packages/ovirtsdk4/__init__.py\", line 382, in authenticate\n self._sso_token = self._get_access_token()\n File \"/usr/lib64/python3.6/site-packages/ovirtsdk4/__init__.py\", line 627, in _get_access_token\n sso_error[1]\novirtsdk4.AuthError: Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials.\n", "failed": true, "msg": "Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials." }" 2023-05-18 18:58:25,487+0000 INFO ansible task start {'status': 'OK', 'ansible_type': 'task', 'ansible_playbook': '/usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml', 'ansible_task': 'ovirt.ovirt.hosted_engine_setup : Sync on engine machine'} 2023-05-18 18:58:25,487+0000 DEBUG ansible on_any args TASK: ovirt.ovirt.hosted_engine_setup : Sync on engine machine kwargs is_conditional:False
_______________________________________________ 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/HVBG5GU7C2H5ID6PUQYH2KBAWFFZXJZE/