On Mon, Jun 22, 2020 at 9:12 AM Yedidyah Bar David <[email protected]> wrote: > > I agree. Would you like to open a bug about this? It's not always easy > to know the root cause for the failure, nor to pass it through the > various components until it can reach the end-user.
Sure. Happy to. Against which bugzilla component? > > > Not sure it must abort. In principle, you could have supplied custom > ansible code to be ran inside the appliance, to add the items yourself > to /etc/hosts, or in theory it can also happen that you configured stuff > so that the host fails DNS resolution but the engine VM does not. > > It also asked you: > > 2020-06-21 10:49:18,562-0400 DEBUG otopi.plugins.otopi.dialog.human > dialog.__logString:204 DIALOG:SEND Add lines for the > appliance itself and for this host to /etc/hosts on the engine VM? > 2020-06-21 10:49:18,562-0400 DEBUG otopi.plugins.otopi.dialog.human > dialog.__logString:204 DIALOG:SEND Note: ensuring that > this host could resolve the engine VM hostname is still up to you > 2020-06-21 10:49:18,563-0400 DEBUG otopi.plugins.otopi.dialog.human > dialog.__logString:204 DIALOG:SEND (Yes, No)[No] > > And you accepted the default 'No'. > > Perhaps we should change the default to Yes. I must have missed it. In this case: A. It is essentially PBKAC. B. I believe that given the fact the problem was actually detected by the installer early on, I believe the installer should enforce having either hosts entry or working DNS setup. (Or at least show a big red flashing message saying: "Look, are you sure you want to set up a broken hosted engine VM and that cannot possibly resolve the host address and will uncertainly fail miserably once we try and deploy the hosted engine?") > > Of course - Yes is also a risk - a user not noticing it, then later on > changing the DNS, and not understanding why it "does not work"... Indeed. > In theory, you can examine the ansible code, and see what (not very > many) next steps it should have done if it didn't fail there, and do > that yourself (or decide that they are not important). In practice, > I'd personally deploy again cleanly, unless this is for a quick test > or something. > > Best regards, > -- I'll simply clean up and redeploy. Hopefully after suffering a long string of PBKAC and DNS related failures, I'll finally have a working setup :) And again, many thanks for taking the time to assist me. I appreciate it! - Gilboa _______________________________________________ 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/NHDX3ER4Z6HAA6WQ7GTGBPR4Y2O74P4N/

