Description of problem: Proxy settings can't be written in inventory hosts file when start to install a proxy env. Version-Release number of selected component (if applicable): openshift-ansible-3.0.87-1.git.0.7f67d5d.el7.noarch How reproducible: Always Steps to Reproduce: 1.Run "atomic-openshift-installer install --gen-inventory" 2.Input proxy hostname and no_proxy hostname If a proxy is needed to reach HTTP and HTTPS traffic please enter the name below. This proxy will be configured by default for all processes needing to reach systems outside the cluster. More advanced configuration is possible if using ansible directly: https://docs.openshift.com/enterprise/latest/install_config/http_proxies.html Specify the hostname for your proxy? (ENTER for none) []: www.proxy.com List any hosts that should be excluded from your proxy. (ENTER for none) []: x.x.6.125 Actual results: #cat ~/.config/openshift/hosts [OSEv3:children] masters nodes nfs [OSEv3:vars] ansible_ssh_user=root openshift_master_default_subdomain=test deployment_type=openshift-enterprise [masters] x.x.6.125 [nodes] x.x.6.125 openshift_schedulable=True [nfs] x.x.6.125 Expected results: Additional info:
https://github.com/openshift/openshift-ansible/pull/1873
Please move to ON_QA once commited to package atomic-openshift-utils.
verified with atomic-openshift-utils-3.0.90-1.git.0.a077b68.el7.noarch Run "atomic-openshift-installer install --gen-inventory" Input the http_proxy, https_proxy and no_proxy. #[root@host-xxx ~]# grep proxy .config/openshift/hosts openshift_http_proxy=http://test1.redhat.com openshift_https_proxy=https://test2.redhat.com openshift_no_proxy=example.test.local
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:1208