Hi Didi,
Thanks a lot for taking the time to help!
On Wed, May 5, 2021 at 8:18 AM <ling(a)aliko.com> wrote:
Did you create ovirtmgmt manually, or let the deploy script create it?
I created it
manually.
So, last night, I removed ovirtmgmt I have created manually, and set up eth0 with Type
Ethernet and ip address. This time it went way further, and the engine VM doesn't
pause any more.
Now I run into some other issues:
[ ERROR ] ovirtsdk4.AuthError: Error during SSO authentication access_denied : Cannot
authenticate user 'None@N/A': No valid profile found in credentials..
[ ERROR ] fatal: [localhost]: FAILED! => {"changed": false, "msg":
"Error during SSO authentication access_denied : Cannot authenticate user
'None@N/A': No valid profile found in credentials.."}
[snipped]
[ 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"}
[ ERROR ] Failed to execute stage 'Closing up': Failed executing ansible-playbook
[snipped]
[ ERROR ] fatal: [localhost]: UNREACHABLE! => {"changed": false,
"msg": "Failed to connect to the host via ssh: ssh: connect to host <my
hostname> port 22: No route to host", "skip_reason": "Host
localhost is unreachable", "unreachable": true}
[snipped]
[ ERROR ] Hosted Engine deployment failed: please check the logs for the issue, fix
accordingly or re-deploy from scratch.
Log file is located at
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20210505002924-q8il5m.log
The Engine VM is still running and I could ssh into it. Connecting to the Management GUI,
I am not able to log in using admin and password, or root and password I have given when
running hosted-engine --deploy. I guess it'
I have Kerberos configured for authentication and LDAP for authorization. Would restoring
it this way work? Or should I remove the Kerberos and other SSO configuration, and do a
backup and restoring again?
Also, I do have other "required" networks. But though I answered "Yes"
this time to the question "Pause the execution after adding this host to the
engine?", I didn't get to this stage I think before
You can disable this "Update all packages" by passing e.g.:
hosted-engine --deploy --ansible-extra-vars=he_offline_deployment=true
Thanks for
the option. Looks like I am not stuck here any more.
Any idea what made it become paused? Please check relevant logs (e.g.
/var/log/messages, /var/log/libvirt/qemu/*, /var/log/vdsm/*).
You mean, until it became paused? Or also after that?
In principle you should do nothing - just tell the process which NIC
to use for ovirtmgmt, and it will configure ovirtmgmt for you. All the
other network configuration you can/should do from inside the engine
admin ui. If you have other networks marked "required", the deployment
process will fail trying to add the host to the engine (because it
can't know which NICs/VLANs should be used for which networks) and
will pause, waiting for you to remove some lock file, letting you fix
stuff manually. See also:
https://bugzilla.redhat.com/1893385 .
Yes, storage is handled (also asked about) in a later stage, after the
engine is up and the host added to it.. This is a change from <= 4.2,
and was done so that we can use the engine (and vdsm) for this,
instead of duplicating their functionality in the deploy code.
Good luck and best regards,
...
ling