Bug 1461554
| Summary: | Can not create egress router http-proxy pod | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Weibin Liang <weliang> |
| Component: | Networking | Assignee: | Dan Winship <danw> |
| Networking sub component: | router | QA Contact: | zhaozhanqi <zzhao> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aloughla, aos-bugs |
| Version: | 3.6.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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: | 2017-06-21 12:19:40 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: | |||
|
Description
Weibin Liang
2017-06-14 18:54:03 UTC
Egress router setup doc (https://github.com/danwinship/openshift-docs/blob/74a82b5bc35fec4677af72bd5071316cec4397db/admin_guide/managing_networking.adoc) does not require "securityContext":{ "privileged":true } configured for spec.containers. Without "securityContext":{ "privileged":true } configured for spec.containers, pod can not created due to privileged issue. Even create openshift3/ose-egress-http-proxy container image locally, I still see the error which same as case two (see case two infor from bug description) #git clone https://github.com/openshift/origin #cd origin/images/egress/http-proxy/ #docker build -t openshift3/ose-egress-http-proxy . # docker images | grep proxy openshift3/ose-egress-http-proxy latest c954efa3c20c 33 minutes ago 396 MB registry.ops.openshift.com/openshift3/ose-haproxy-router v3.6.74 1c0957067bf5 5 weeks ago 938.4 MB # (In reply to Weibin Liang from comment #2) > Even create openshift3/ose-egress-http-proxy container image locally, I > still see the error which same as case two (see case two infor from bug > description) You need to add "imagePullPolicy": "IfNotPresent", to the JSON. Otherwise it will check the registry first even if the image already exists locally. With that added to your JSON file, it starts up fine for me, without marking the HTTP proxy container privileged. With "imagePullPolicy": "IfNotPresent" in JSON file, creation works |