Bug 1578936
Summary: | service-catalog-controller cannot create configmaps in the namespace default | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jay Boyd <jaboyd> |
Component: | Service Catalog | Assignee: | Dan Geoffroy <dageoffr> |
Status: | CLOSED ERRATA | QA Contact: | Jian Zhang <jiazha> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.10.0 | CC: | chezhang, zitang |
Target Milestone: | --- | ||
Target Release: | 3.10.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-08-21 13:52:05 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
Jay Boyd
2018-05-16 16:21:43 UTC
Was also an issue upstream. Fixed upstream with https://github.com/kubernetes-incubator/service-catalog/pull/2042 Need to fix this in openshift by specifying the kube-service-catalog namespace in the controller's --cluster-id-configmap-namespace argument. fixed for Cluster Up in origin: https://github.com/openshift/origin/pull/19757 fixed in OCP: https://github.com/openshift/openshift-ansible/pull/8441 For OCP side, used the openshift-ansible master branch to install it and it works well, details: [root@qe-jiazha-test310master-etcd-1 ~]# oc get role cluster-info-configmap -o yaml| grep namespace namespace: kube-service-catalog selfLink: /apis/authorization.openshift.io/v1/namespaces/kube-service-catalog/roles/cluster-info-configmap [root@qe-jiazha-test310master-etcd-1 ~]# oc get daemonset controller-manager -o yaml| grep namespace ... - --cluster-id-configmap-namespace=kube-service-catalog fieldPath: metadata.namespace [root@qe-jiazha-test310master-etcd-1 ~]# oc version oc v3.10.25 kubernetes v1.10.0+b81c8f8 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://qe-jiazha-test310master-etcd-1:8443 openshift v3.10.25 kubernetes v1.10.0+b81c8f8 For origin side, start the cluster by below command: #oc cluster up --enable='*,service-catalog,template-service-broker' --image='brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/openshift3/ose-${component}:${version}' --public-hostname=10.8.241.46 --base-dir=jian1 [root@preserved-cluster-up-ui-long-term-use ~]$ oc version oc v3.10.25 kubernetes v1.10.0+b81c8f8 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://10.8.241.46:8443 openshift v3.10.27 kubernetes v1.10.0+b81c8f8 [root@preserved-cluster-up-ui-long-term-use ~]$ oc get role cluster-info-configmap -o yaml | grep namespace namespace: kube-service-catalog selfLink: /apis/rbac.authorization.k8s.io/v1/namespaces/kube-service-catalog/roles/cluster-info-configmap [root@preserved-cluster-up-ui-long-term-use ~]$ oc get deployment controller-manager -o yaml | grep "cluster-id-configmap-namespace=kube-service-catalog" ... - --cluster-id-configmap-namespace=kube-service-catalog And, I didn't find the report errors. LGTM, verify it. 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/RHBA-2019:2509 |