Bug 1306011
Summary: | Deployer pods incorrectly using the host entry from openshiftLoopbackKubeconfig | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jason DeTiberus <jdetiber> |
Component: | openshift-controller-manager | Assignee: | Dan Mace <dmace> |
Status: | CLOSED ERRATA | QA Contact: | Johnny Liu <jialiu> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.1.0 | CC: | aos-bugs, dmace, dsafford, jdetiber, sdodson, tdawson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | v3.1.1.902 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-12 16:28:35 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
Jason DeTiberus
2016-02-09 20:16:15 UTC
I discussed this with deads2k and liggitt on #openshift-dev about this. The deployer pod should be using a serviceaccount and dns for config rather than the ENV variables injected from the openshiftLoopbackKubeconfig like it currently is.The deployment should be successful I agree with David and Jordan's assessment. The cited deployer code predates the user of service accounts and was never updated when SAs were introduced. Since this bug is OSE's bug, could you please provide the puddle or package version. thanks. Still waiting for https://github.com/openshift/origin/pull/7197 to be incorporated into OSE. Once I have a tag containing the fix, I'll update the bz and clear the needinfo. Thanks! Steps for updating the context: > oc config view Take note of the name value of the user listed under users, it will start with 'system:admin/' > oc config set-cluster --certificate-authority=/etc/origin/master/ca.crt \ --embed-certs=true --server=https://<openshift_hostname>:<api port> \ my_loopback_cluster --config=/etc/origin/master/openshift-master.kubeconfig > oc config set-context --cluster=my_loopback_cluster --namespace=default \ --user=<system admin name> my_loopback_context \ --config=/etc/origin/master/openshift-master.kubeconfig > oc config use-context my_loopback_context \ --config=/etc/origin/master/openshift-master.kubeconfig 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/RHSA-2016:1064 |