Bug 1589734
| Summary: | node hostname is not added into NO_PROXY list in /etc/origin/master/master.env after upgrade | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Johnny Liu <jialiu> | ||||
| Component: | Cluster Version Operator | Assignee: | Vadim Rutkovsky <vrutkovs> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Johnny Liu <jialiu> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.10.0 | CC: | aos-bugs, jialiu, jokerman, mmccomas, vlaad, vrutkovs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.10.z | ||||||
| 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: | 2018-10-08 14:13:11 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: | |||||||
| Attachments: |
|
||||||
|
Description
Johnny Liu
2018-06-11 09:46:13 UTC
Node hostnames should be added to noproxy list, which is composed of hostnames in oo_nodes_to_config, oo_masters_to_config and oo_etcd_to_config. I see `openshift_no_proxy_internal_hostnames` is being set on master during node upgrade, was this change not propagated to master.env? If this is reproducible could you attach a dump of ansible facts - /etc/ansible/facts.d on hosts - to check if openshift.common.no_proxy was set. Turns out we've excluded facts collection from nodes during upgrade, but it should be required for 3.10 Created https://github.com/openshift/openshift-ansible/pull/8782 Fix is available in openshift-ansible-3.10.2-1 Verified this bug with openshift-ansible-3.10.3-1.git.200.e950396.el7.noarch, and PASS. After upgrade, node hostname is added into NO_PROXY list. # cat /etc/origin/master/master.env # Proxy configuration # See https://docs.openshift.com/enterprise/latest/install_config/install/advanced_install.html#configuring-global-proxy HTTP_PROXY=http://file.rdu.redhat.com:3128 HTTPS_PROXY=http://file.rdu.redhat.com:3128 NO_PROXY=.centralci.eng.rdu2.redhat.com,.cluster.local,.lab.sjc.redhat.com,.svc,10.14.89.4,169.254.169.254,172.30.0.1,192.168.100.9,qe-jialiu39-master-etcd-nfs-1,qe-jialiu39-node-registry-router-1,172.30.0.0/16,10.128.0.0/14 DEBUG_LOGLEVEL=5 `oc log` is running well. # oc logs registry-console-2-jpkh4 INFO: cockpit-ws: Using certificate: /etc/cockpit/ws-certs.d/0-self-signed.cert |