Bug 1412897
Summary: | system fails to report any FQDN because hostname -I does not work on RHEL5 | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
Component: | general | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Dan Callaghan <dcallagh> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | develop | CC: | dcallagh, mjia, rjoost |
Target Milestone: | 24.4 | Keywords: | Patch |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-10-03 03:57:49 UTC | 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: |
Description
Dan Callaghan
2017-01-13 04:43:40 UTC
Going to delay this one more milestone. Don't feel confident that I can thoroughly test this. Ideally we would just use hostname -i, which already prints the first IP address, and exists back to RHEL3. Unfortunately on RHEL5 and earlier, it just always prints 127.0.0.1 which is of no help. As a last resort on RHEL5 and earlier we can use a hack like this: ip addr show | grep -v ' lo' | grep -Po '(?<=inet )[0-9.]+' tested on RHEL3, RHEL4, and RHEL5. https://gerrit.beaker-project.org/5761 hostname -I option does not exist on older RHELs https://gerrit.beaker-project.org/5762 accept install_done call with missing fqdn Beaker 24.4 has been released. |