Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.5.3] Unable to complete the Hosted Engine Depolyment successfully #39

Open
mnsmithuk opened this issue Nov 11, 2022 · 8 comments
Open
Labels
help wanted Extra attention is needed

Comments

@mnsmithuk
Copy link

mnsmithuk commented Nov 11, 2022

Hi,

Any ideas what I'm missing? I'm doing a vanilla install of Ovirt Node 4.5.3 from the latest image and I get the following error:

[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Obtain SSO token using username/password credentials]
[ ERROR ] ovirtsdk4.AuthError: Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials.
[ ERROR ] fatal: [localhost]: FAILED! => {"attempts": 50, "changed": false, "msg": "Error during SSO authentication access_denied : Cannot authenticate user Invalid user credentials."}
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Sync on engine machine]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Fetch logs from the engine VM]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set destination directory path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Create destination directory]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Find the local appliance image]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Set local_vm_disk_path]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Give the vm time to flush dirty buffers]
[ INFO ] ok: [localhost -> localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Copy engine logs]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Change ownership of copied engine logs]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Remove local vm dir]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Remove temporary entry in /etc/hosts for the local VM]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : include_tasks]
[ INFO ] ok: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Destroy local storage-pool localvm9vlw234a]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Undefine local storage-pool localvm9vlw234a]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Destroy local storage-pool 74b5f861-b063-4679-9aa9-48b7727e65b6]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Undefine local storage-pool 74b5f861-b063-4679-9aa9-48b7727e65b6]
[ INFO ] changed: [localhost]
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Notify the user about a failure]
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg": "The system may not be provisioned according to the playbook results: please check the logs for the issue, fix accordingly or re-deploy from scratch.\n"}

@Red-Ex
Copy link

Red-Ex commented Jan 16, 2023

Hi mnsmithuk,
It seems, that the password confirmation fails or is missing in cockpit.
The cli-deployment currently works.

@mnsmithuk
Copy link
Author

Not sure how it could be missing cockpit if I'm using the Node image to install.

How do I check the password confirmation as you suggested?

@Red-Ex
Copy link

Red-Ex commented Jan 16, 2023

When you execute the hosted-engine --deploy --4 on cli, you get a password confirmation for the root-user of the vm and the admin-user for managment. During the Cockpit-Installation on web you only set the password once. So I assume, that the confirmation-field is missing or the process do not use the correct variable on ansible.
Currently I can't figuring out, what processes are triggered trough the cockpit-installation cause I started with ovirt some weeks ago:).
I can suggest you the cli-installer cause it currently works.

@mnsmithuk
Copy link
Author

Ok. Thanks for the heads up. I give it another try when I get a chance.

@sandrobonazzola
Copy link
Member

@mnsmithuk can you please update?

@sandrobonazzola sandrobonazzola changed the title Unable to complete the Hosted Engine Depolyment successfully [4.5.3] Unable to complete the Hosted Engine Depolyment successfully Feb 10, 2023
@sandrobonazzola sandrobonazzola transferred this issue from oVirt/ovirt-engine Feb 10, 2023
@Red-Ex
Copy link

Red-Ex commented Mar 2, 2023

@sandrobonazzola could it be an error or a missing part in case of the missing confirmation field in the wizard? Or was that planned to use the password-field in the background for the ansible-deployment? In case of the missing field it is hard to go trough a clean installation:). For a good result you have to start the wizard/cockpit-deployment, which saves some informations for the ansible-deployment. After that fails you can go trough the cli-installation to get a working installation. Otherwise you have to tweak aroun with the virtbr-bridge-interface an so on. If I can help to dig it down or try to find a solution, a hint for the right place would be helpfull.

@sandrobonazzola sandrobonazzola added the help wanted Extra attention is needed label Mar 6, 2023
@sandrobonazzola
Copy link
Member

@Red-Ex I'm sorry I don't know this code enough to help here.

@michalskrivanek
Copy link
Member

note cockpit-ovirt is no actively developed. contributed fixes are still going to be merged, but there's no one around to investigate or fix issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants