Bug 1472244 - Installation failed when building env behind proxy
Summary: Installation failed when building env behind proxy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Tim Bielawa
QA Contact: Gaoyun Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-18 09:56 UTC by Gaoyun Pei
Modified: 2017-08-16 19:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: A fix for a separate PROXY related issue was merged Consequence: Various proxy related operations began to fail Fix: A correct fix for the original PROXY related issue was merged Result: Functionality restored
Clone Of:
Environment:
Last Closed: 2017-08-10 05:31:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description Gaoyun Pei 2017-07-18 09:56:06 UTC
Description of problem:
Installation failed when building env behind proxy on openstack

Version-Release number of the following components:
openshift-ansible-3.6.153-1.git.0.5a6bf7d.el7.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1.Set the following options in ansible inventory to build env using proxy
openshift_http_proxy=http://proxy.x.com:x
openshift_https_proxy=http://proxy.x.com:x
openshift_no_proxy="169.254.169.254"

2.Start installer

Actual results:
TASK [openshift_facts : Gather Cluster facts and set is_containerized if needed] ***
Tuesday 18 July 2017  08:55:48 +0000 (0:00:00.086)       0:00:28.929 ********** 
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'no_proxy_internal_hostnames'
fatal: [openshift-x.com]: FAILED! => {
    "changed": false, 
    "failed": true, 
    "module_stderr": "Traceback (most recent call last):\n  File \"/tmp/ansible_7JbNKe/ansible_module_openshift_facts.py\", line 2601, in <module>\n    main()\n  File \"/tmp/ansible_7JbNKe/ansible_module_openshift_facts.py\", line 2588, in main\n    protected_facts_to_overwrite)\n  File \"/tmp/ansible_7JbNKe/ansible_module_openshift_facts.py\", line 1992, in __init__\n    protected_facts_to_overwrite)\n  File \"/tmp/ansible_7JbNKe/ansible_module_openshift_facts.py\", line 2058, in generate_facts\n    facts = set_proxy_facts(facts)\n  File \"/tmp/ansible_7JbNKe/ansible_module_openshift_facts.py\", line 1673, in set_proxy_facts\n    auto_hosts = common['no_proxy_internal_hostnames'].split(',')\nKeyError: 'no_proxy_internal_hostnames'\n", 
    "module_stdout": ""
}

MSG:

MODULE FAILURE

        to retry, use: --limit @/home/slave5/workspace/Launch-Environment-Flexy/private-openshift-ansible/playbooks/byo/config.retry


Expected results:


Additional info:

Comment 1 Gaoyun Pei 2017-07-18 10:06:49 UTC
This bug blocks testing on ocp-3.6 cluster with proxy used

Comment 4 Gaoyun Pei 2017-07-24 07:30:29 UTC
Verify this bug with openshift-ansible-3.6.167-1.git.0.0ce5583.el7.noarch.rpm

ocp-3.6 installation with global proxy configured was successful.

Comment 6 errata-xmlrpc 2017-08-10 05:31:01 UTC
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/RHEA-2017:1716


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