Bug 1277712 - unattended installation results in using ips instead of hostnames
Summary: unattended installation results in using ips instead of hostnames
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Samuel Munilla
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-11-03 21:55 UTC by Erik M Jacobs
Modified: 2016-07-04 00:46 UTC (History)
7 users (show)

Fixed In Version: openshift-ansible-3.0.7-1.git.87.c20c024.el7aos
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-20 15:42:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Erik M Jacobs 2015-11-03 21:55:37 UTC
atomic-openshift-utils 3.0.6-1.git.1.e0fd136.el7aos

Using the following YAML configuration file and running the installer unattended, the installer ends up using the ip addresses instead of the hostnames.

If you use the installer interactively then it correctly uses the hostnames:

ansible_log_path: /tmp/ansible.log
ansible_ssh_user: root
hosts:
- hostname: ose3-master.example.com
  ip: 192.168.133.2
  master: true
  node: true
  public_hostname: ose3-master.example.com
  public_ip: 192.168.133.2
- hostname: ose3-node1.example.com
  ip: 192.168.133.3
  node: true
  public_hostname: ose3-node1.example.com
  public_ip: 192.168.133.3
- hostname: ose3-node2.example.com
  ip: 192.168.133.4
  node: true
  public_hostname: ose3-node2.example.com
  public_ip: 192.168.133.4
variant: openshift-enterprise
variant_version: '3.1'

Comment 2 Brenton Leanhardt 2015-11-06 19:19:57 UTC
This should be fixed in the next puddle.


Note You need to log in before you can comment on or make changes to this bug.