On Wed, May 5, 2021 at 9:17 PM <[email protected]> wrote:
>
> Hi Didi,
>
> Thanks a lot for taking the time to help!
>
> > On Wed, May 5, 2021 at 8:18 AM <ling(a)aliko.com&gt; 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?

Do you make sure to backup and restore your conf? You can do this
either using engine-backup itself, see e.g.:

https://bugzilla.redhat.com/show_bug.cgi?id=1422980 , comment 15 in particular

and also:

https://www.ovirt.org/documentation/administration_guide/#Configuring_LDAP_and_Kerberos_for_Single_Sign-on

and the specific mentions of engine-backup there, re what files it
always includes, which we added in:

https://bugzilla.redhat.com/show_bug.cgi?id=1693816

Alternatively, you can write custom ansible hooks, see my other reply
(and search the net/bugzilla for examples - there are a few around).

>
> 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

Indeed. Above failure happens before "Add host" (which fails if there
are missing required networks).

Best regards,
-- 
Didi
_______________________________________________
Users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]/message/OMOIEBRA3VAXC4M5BBPFVNGPF5UTCBPG/

Reply via email to