Bug 1280171
| Summary: | Fail to install env on Atomic when 'openshift_set_hostname' is true | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Ma xiaoqiang <xiama> |
| Component: | Installer | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED ERRATA | QA Contact: | Ma xiaoqiang <xiama> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.1.0 | CC: | aos-bugs, bleanhar, cryan, jokerman, mmccomas, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-01-27 19:42:45 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
Ma xiaoqiang
2015-11-11 05:22:59 UTC
I've submitted https://github.com/openshift/openshift-ansible/pull/924 to remove setting the hostname. Since the hostname workaround is no longer needed, we should pull this into the containerization work as well. The setting of hostname has been removed from ansible. I'd say that the SDN requires the nodename be resolvable at this point in time. This isn't a containerization specific issue. If we do not set hostname. we can not start the master service. The setting of hostname has been removed from ansible, so the master still can not be restarted. Even if the ansible set the hostname, the module 'hostname' in ansible still doesn't support atomic platform. I need to check with Jason on the latest for when we need to set the hostname. I don't think that we need this functionality in the majority of cases. After discussing this with Jason there are still major problems associated with setting a hostname that doesn't resolve and those won't be fixed until kube 1.2 or later. However if you want to set the hostname of a host to a valid hostname we should allow you to do that. Here's my proposed fix https://github.com/openshift/openshift-ansible/pull/1165 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:0075 |