Bug 1702158
| Summary: | Fail to enable the Service Catalog on OCP 4.1 due to the configmaps "etcd-serving-ca" not found | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jian Zhang <jiazha> |
| Component: | Service Catalog | Assignee: | Dan Geoffroy <dageoffr> |
| Status: | CLOSED ERRATA | QA Contact: | Jian Zhang <jiazha> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.1.0 | CC: | bandrade, chezhang, chuo, dyan, jfan, jupierce, scolange, sponnaga, zitang |
| Target Milestone: | --- | Keywords: | Regression, TestBlocker |
| Target Release: | 4.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-04 10:47:50 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
Jian Zhang
2019-04-23 06:23:04 UTC
Thanks Jian, it appears a recent change moved the etcd configmap and secret from kube-system to openshift-config. PR https://github.com/openshift/cluster-svcat-apiserver-operator/pull/48 fixes this. workaround if necessary: Prior to setting the Service Catalog CR resources to managed: manually copy the etcd configmap and secret to the location they used to be found in: $ oc get secret etcd-client -n openshift-config --export -o yaml | oc apply -n kube-system -f - $ oc get configmap etcd-serving-ca -n openshift-config --export -o yaml | oc apply -n kube-system -f - Thanks!@Jay, LGTM, verify it. Details as below:
service-catalog-apiserver-operator version info:
io.openshift.build.commit.id=9d2fffe6e7d10fa88b7534fb07c38e997a6e887f
Cluster version is 4.1.0-0.nightly-2019-04-23-223857
mac:~ jianzhang$ oc edit servicecatalogapiserver
servicecatalogapiserver.operator.openshift.io/cluster edited
mac:~ jianzhang$ oc get pods -n openshift-service-catalog-apiserver
NAME READY STATUS RESTARTS AGE
apiserver-bgxzb 1/1 Running 0 2m23s
apiserver-dn7ns 1/1 Running 0 2m23s
apiserver-h2m8m 1/1 Running 0 2m23s
mac:~ jianzhang$ oc edit servicecatalogcontrollermanager
servicecatalogcontrollermanager.operator.openshift.io/cluster edited
mac:~ jianzhang$ oc get pods -n openshift-service-catalog-controller-manager
NAME READY STATUS RESTARTS AGE
controller-manager-pn6lw 1/1 Running 0 2m15s
controller-manager-srsx2 1/1 Running 0 2m15s
controller-manager-w9pj5 1/1 Running 0 2m15s
mac:~ jianzhang$ oc get apiservice v1beta1.servicecatalog.k8s.io -o yaml
apiVersion: apiregistration.k8s.io/v1
kind: APIService
metadata:
annotations:
service.alpha.openshift.io/inject-cabundle: "true"
creationTimestamp: 2019-04-24T02:58:36Z
name: v1beta1.servicecatalog.k8s.io
resourceVersion: "29779"
selfLink: /apis/apiregistration.k8s.io/v1/apiservices/v1beta1.servicecatalog.k8s.io
uid: da9ae1d2-663c-11e9-a06a-06bc4f05f9d4
spec:
caBundle: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURDakNDQWZLZ0F3SUJBZ0lCQVRBTkJna3Foa2lHOXcwQkFRc0ZBREEyTVRRd01nWURWUVFEREN0dmNHVnUKYzJocFpuUXRjMlZ5ZG1salpTMXpaWEoyYVc1bkxYTnBaMjVsY2tBeE5UVTJNRGN4TkRNeE1CNFhEVEU1TURReQpOREF5TURNMU1Wb1hEVEl3TURReU16QXlNRE0xTWxvd05qRTBNRElHQTFVRUF3d3JiM0JsYm5Ob2FXWjBMWE5sCmNuWnBZMlV0YzJWeWRtbHVaeTF6YVdkdVpYSkFNVFUxTmpBM01UUXpNVENDQVNJd0RRWUpLb1pJaHZjTkFRRUIKQlFBRGdnRVBBRENDQVFvQ2dnRUJBTHBDbk0xdVUwT0dZaU1ldTBwQ1B5WDR0eUJ2VWh4cFRJdklnTGRCU2p4YQpXZUpKbElKU3pDdEZUc05PaW0reld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version: v1beta1
versionPriority: 15
status:
conditions:
- lastTransitionTime: 2019-04-24T02:58:36Z
message: all checks passed
reason: Passed
status: "True"
type: Available
mac:~ jianzhang$ oc get svc -n openshift-service-catalog-apiserver
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
api ClusterIP 172.30.86.86 <none> 443/TCP 4m49s
mac:~ jianzhang$ oc get clusterservicebroker
No resources found.
*** Bug 1708793 has been marked as a duplicate of this bug. *** 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:0758 |