oVirt / ovirt-engine

The oVirt Engine virtualization manager
Other
519 stars 271 forks source link

Deploying 4.5.1 hosted-engine fails with this SSO error #520

Open dkelson opened 2 years ago

dkelson commented 2 years ago

[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The field 'environment' has an invalid value, which includes an undefined variable. The error was: 'he_admin_username' is undefined\n\nThe error appears to be in '/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/auth_sso.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: Obtain SSO token using username/password credentials\n ^ here\n"}

UXabre commented 2 years ago

As a work-around I've changed the following file: Usr/share/ansible/collctions/ansible_collections/ovirt/ovirt/roles/hosted-engine_setup/defaults/main.yml

he_admin_username: admin@ovirt@internal he_admin_password: *****

This might give an idea to someone somewhere why this isn't working