Bug 1121195
Summary: | oo-iptables-port-proxy fails unhelpfully if EXTERNAL_ETH_DEV is set incorrectly | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Miciah Dashiel Butler Masters <mmasters> | |
Component: | Containers | Assignee: | Miciah Dashiel Butler Masters <mmasters> | |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 2.1.0 | CC: | adellape, anli, bleanhar, jdetiber, jokerman, libra-onpremise-devel, mmccomas | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: |
When the EXTERNAL_ETH_DEV parameter in the /etc/openshift/node.conf file was set to a device that did not have a globally scoped IPv4 address, such as "lo", the oo-iptables-port-proxy command failed with unhelpful output. As a result, after an application creation failed because of this issue, it was difficult to determine the root cause when investigating logs on a node host. This bug fix adds logic to the oo-iptables-port-proxy command to produce better logs when a device does not have a globally scoped IPv4 address, and the logs when investigating this type of issue are now more clear.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1121200 (view as bug list) | Environment: | ||
Last Closed: | 2014-11-03 19:54:33 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: | ||||
Bug Depends On: | 1121200 | |||
Bug Blocks: |
Description
Miciah Dashiel Butler Masters
2014-07-18 15:38:31 UTC
This was pulled in with the original 2.2 rebases, any 2.2 puddle will include this fix. Verified and pass on OSE-2.2 2014-10-07.2 1. Set EXTERNAL_ETH_DEV=lo in /etc/openshift/node.conf on the node 2. Create a scalable application on the PaaS created in Step 1 using rhc. 3. Look for errors in /var/log/openshift/node/platform.log on the node, we can find the obvious message as below: October 14 23:24:45 INFO openshift-agent: request end: action=cartridge_do, requestid=99e9b3782e085a87b8c9f5cd8cd269e7, senderid=broker.ose22-auto.com.cn, statuscode=1, data={:time=>nil, :output=>"System proxy set for 43206=>127.3.249.129:8080 failed(1): stdout: stderr: /usr/bin/oo-iptables-port-proxy: line 18: ipaddr: lo has no globally scoped IPv4 address\n: uid=2035", :exitcode=>1, :addtl_params=>nil} 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://rhn.redhat.com/errata/RHSA-2014-1796.html |