Bug 1471881
| Summary: | Service Catalog cannot create podpresets.settings.k8s.io in project "demo" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | John Matthews <jmatthew> | ||||
| Component: | Installer | Assignee: | ewolinet | ||||
| Status: | CLOSED ERRATA | QA Contact: | DeShuai Ma <dma> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.6.0 | CC: | aos-bugs, dma, ewolinet, jokerman, mmccomas | ||||
| 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-08-10 05:31:01 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: | |||||||
| Attachments: |
|
||||||
|
Description
John Matthews
2017-07-17 14:57:59 UTC
Please see comment: https://bugzilla.redhat.com/show_bug.cgi?id=1469986#c8 Created attachment 1304626 [details]
binding successfully
verify on openshift v3.6.170
kubernetes v1.6.1+5115d708d7
etcd 3.2.1
After bindings, I can create podpreset successfully.
[root@host-8-175-47 ~]# oc get podpreset -n dma1
NAME AGE
postgresql-apb-5xphm-lmesf 2h
I saw some error in service-catalog controller-manager log
1) can't delete secret and podpresets.settings.k8s.io
I0726 08:22:57.957331 1 controller_binding.go:400] Deleting PodPreset dma1/postgresql-apb-5xphm-lmesf
W0726 08:22:57.961271 1 controller_binding.go:268] Error deleting secret: User "system:serviceaccount:kube-service-catalog:service-catalog-controller" cannot delete podpresets.settings.k8s.io in project "dma1"
I0726 08:22:57.961290 1 controller_binding.go:447] Found status change for Binding "dma1/postgresql-apb-5xphm-gv5s4" condition "Ready": "True" -> "Unknown"; setting lastTransitionTime to 2017-07-26 08:22:57.961286317 +0000 UTC
I0726 08:22:57.961307 1 controller_binding.go:461] Updating Ready condition for Binding dma1/postgresql-apb-5xphm-gv5s4 to Unknown (Reason: "ErrorEjectingBinding", Message: "Error ejecting binding.Error deleting secret: User \"system:serviceaccount:kube-service-catalog:service-catalog-controller\" cannot delete podpresets.settings.k8s.io in project \"dma1\"")
I0726 08:31:06.977898 1 controller.go:195] Error syncing Binding dma1/postgresql-apb-5xphm-gv5s4: User "system:serviceaccount:kube-service-catalog:service-catalog-controller" cannot delete podpresets.settings.k8s.io in project "dma1"
I0726 08:31:06.978206 1 event.go:217] Event(v1.ObjectReference{Kind:"Binding", Namespace:"dma1", Name:"postgresql-apb-5xphm-gv5s4", UID:"990f157f-71c7-11e7-aff0-0a580a800002", APIVersion:"servicecatalog.k8s.io", ResourceVersion:"21586", FieldPath:""}): type: 'Warning' reason: 'ErrorEjectingBinding' Error ejecting binding. Error deleting secret: User "system:serviceaccount:kube-service-catalog:service-catalog-controller" cannot delete podpresets.settings.k8s.io in project "dma1"
2) can't get instance
E0726 08:26:06.581465 1 controller_instance.go:543] Error getting Instance / to finalize: User "system:serviceaccount:kube-service-catalog:service-catalog-controller" cannot get instances.servicecatalog.k8s.io in project "xp-26"
Additional changes in openshift-ansible-3.6.172 Verify on openshift-ansible-3.6.172.0.0-1.git.0.d90ca2b.el7.noarch.rpm After deprovision, there is no this error in controller-manager.log 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/RHEA-2017:1716 |