Bug 948311
Summary: | allinone installation fails if host does not contain /etc/hosts entry | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Dave Kline <dkline> | ||||
Component: | ovirt-engine-setup | Assignee: | Sandro Bonazzola <sbonazzo> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Leonid Natapov <lnatapov> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 3.2.0 | CC: | acathrow, alonbl, alourie, bazulay, dougsland, dyasny, iheim, mgoldboi, Rhev-m-bugs, sgrinber, ykaul | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.2.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | integration | ||||||
Fixed In Version: | sf14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | Bug | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Dave Kline
2013-04-04 14:40:32 UTC
Can you please attach /var/log/ovirt-engine/engine-setup_2013_04_03_14_10_58.log , the log related to this run placed in /var/log/ovirt-engine/host-deploy/ and /var/log/ovirt-engine/server.log ? Created attachment 731960 [details]
gzipped tar file of engine-setup_2013_04_03_14_10_58.log, ovirt-20130403151950-rhev.vm-35febd05.log, and server.log
Hello, this is a tgz of the requested logs.
Dave What archiver did you use to create the logs? I can't open it for some reason (tried gunzip and tar/gz). Thanks. Alex, it's a simple tar without compression and wrong extension. Dave, just to be sure, in this bug you're asking to add a message inside rhevm-setup reminding to the user that if the specified FQDN can't be resolved it has to be added to /etc/hosts, right? Because it seems that the provided host name was not resolved by the DNS and the script already prompted asking if you were sure you wanted to proceed with that FQDN. I saw another user reporting such error (not in allinone) over IRC. From my point of view, I won't proceed with setup sharing a message like: "Couldn't resolve host provided [xyz.com], please use DNS or static table lookup for hostnames (/etc/hosts)" Just my 2cents. Cheers Douglas This bug and bug#928667 are related and can be solved using the same approach. So the proposed solution of both this bug and bug #928667 is check if the provided fqdn resolve to a local address not mapped on a loopback device. The check should accept a fqdn not resolved by DNS but resolved by hosts file. If the check fails the setup should not allow to continue the installation. Is this correct? (In reply to comment #8) > So the proposed solution of both this bug and bug #928667 is check if the > provided fqdn resolve to a local address not mapped on a loopback device. Right. > The check should accept a fqdn not resolved by DNS but resolved by hosts > file. I am unsure about that... if we do not want to have DNS involved, we can just add our hosts entry with that address... But if we do want offline operation I guess we cannot relay on DNS. How have we managed this so far? > If the check fails the setup should not allow to continue the installation. Right. From my humble user perspective, rhevm-setup should yell at me for entering and confirming an FQDN that's meaningless or that resolves to loopback. I agree with Alon's comment about #928667, it certainly seems similar. AIO setups, I imagine, will have more DNS errors than tradition deployments. (In reply to comment #9) > > The check should accept a fqdn not resolved by DNS but resolved by hosts > > file. > > I am unsure about that... if we do not want to have DNS involved, we can > just add our hosts entry with that address... > But if we do want offline operation I guess we cannot relay on DNS. > How have we managed this so far? If you have multiple nics with different ip addresses how do you determine what to write in /etc/hosts? I think that the admin should take care of having the desired FQDN assigned to the right address before using it. patch 13933 merged upstream master: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=1dd78501699913486c9cac8b1864975b5147d620 sf17. fixed. 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released 3.2 has been released |