Bug 1226910
Summary: | Fail nicely on hostname not resolvable | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] ovirt-engine-reports | Reporter: | Kevin Alon Goldblatt <kgoldbla> | ||||
Component: | General | Assignee: | Yedidyah Bar David <didi> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Pavel Stehlik <pstehlik> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | --- | CC: | bugs, didi, gklein, kgoldbla, lsurette, pmatyas, pstehlik, rbalakri, sbonazzo, sradco, srevivo, ykaul, ylavi | ||||
Target Milestone: | --- | Keywords: | EasyFix | ||||
Target Release: | --- | Flags: | ylavi:
ovirt-4.1?
ylavi: planning_ack? sbonazzo: devel_ack+ ylavi: testing_ack? |
||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2016-05-30 12:23:24 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1258789 | ||||||
Attachments: |
|
Description
Kevin Alon Goldblatt
2015-06-01 12:23:31 UTC
Created attachment 1033325 [details]
engine setup log
[java] Caused by: java.net.UnknownHostException: RHEL6.7Server: Name or service not known Please make sure your hostname is resolvable (e.g. by dns or /etc/hosts). Thanks! Probably a clone of bug 1113094. *** Bug 1226907 has been marked as a duplicate of this bug. *** (In reply to Yedidyah Bar David from comment #2) > [java] Caused by: java.net.UnknownHostException: RHEL6.7Server: Name or > service not known > > Please make sure your hostname is resolvable (e.g. by dns or /etc/hosts). > Thanks! > > Probably a clone of bug 1113094. If it is, we might want engine-setup to alert about this sooner and nicer, and not just close duplicate. I made the change by adding the host name to /etc/hosts/ and now the setup worked Ok, so it's a duplicate of bug 1113094. Yaniv, do we want to do anything? Check and abort if hostname is not resolvable? (In reply to Yedidyah Bar David from comment #6) > Ok, so it's a duplicate of bug 1113094. > > Yaniv, do we want to do anything? > > Check and abort if hostname is not resolvable? How complex will it be to do this? (In reply to Yaniv Dary from comment #7) > (In reply to Yedidyah Bar David from comment #6) > > Ok, so it's a duplicate of bug 1113094. > > > > Yaniv, do we want to do anything? > > > > Check and abort if hostname is not resolvable? > > How complex will it be to do this? Not that complex. *** Bug 1243802 has been marked as a duplicate of this bug. *** Moved to 3.6.1 since it's not a 3.6.0 blocker Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. Entering a hostname different (but resolvable) from machine hostname during engine-setup causes ovirt-engine-reportsd service to fail to start (it becomes dead after a while). Machine hostname needs to be set properly in order to run the service. Thus there should be some warning about not matching hostnames as well. *** Bug 1287006 has been marked as a duplicate of this bug. *** *** Bug 1113094 has been marked as a duplicate of this bug. *** Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA. Closing for now. Please reopen if relevant. |