Bug 1711043
Summary: | After disabling servicecatalog operators the apiservice remains - prevents project deletion | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Jay Boyd <jaboyd> |
Component: | Service Catalog | Assignee: | Dan Geoffroy <dageoffr> |
Status: | CLOSED ERRATA | QA Contact: | Jian Zhang <jiazha> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.1.0 | CC: | jesusr, jforrest, jiazha, jupierce |
Target Milestone: | --- | ||
Target Release: | 4.1.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1710937 | Environment: | |
Last Closed: | 2019-06-04 10:48:49 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1710937 | ||
Bug Blocks: |
Comment 1
Jay Boyd
2019-05-17 01:23:25 UTC
That fixed PR wasn't merged in the payload: 4.1.0-0.nightly-2019-05-16-223922, but 4.1.0-0.nightly-2019-05-17-041605. 1, Enable Service Catalog by changing `managementState: Removed` to `managementState: Managed`. mac:~ jianzhang$ oc get pods -n openshift-service-catalog-apiserver NAME READY STATUS RESTARTS AGE apiserver-45tbw 1/1 Running 0 36m apiserver-cn5sm 1/1 Running 0 36m apiserver-wxhnh 1/1 Running 0 36m mac:~ jianzhang$ oc get pods -n openshift-service-catalog-controller-manager NAME READY STATUS RESTARTS AGE controller-manager-g9srl 1/1 Running 0 36m controller-manager-hkkgc 1/1 Running 0 36m controller-manager-l4s2s 1/1 Running 0 36m 2, Deploy a sample broker. mac:~ jianzhang$ oc get clusterservicebroker NAME URL STATUS AGE ups-broker http://ups-broker.kube-service-catalog.svc.cluster.local Ready 1m mac:~ jianzhang$ oc get clusterserviceclass NAME EXTERNAL-NAME BROKER AGE 4f6e6cf6-ffdd-425f-a2c7-3c9258ad2468 user-provided-service ups-broker 1m 5f6e6cf6-ffdd-425f-a2c7-3c9258ad2468 user-provided-service-single-plan ups-broker 1m 8a6229d4-239e-4790-ba1f-8367004d0473 user-provided-service-with-schemas ups-broker 1m mac:~ jianzhang$ oc get pods -n kube-service-catalog NAME READY STATUS RESTARTS AGE ups-broker-5f8568bc95-fzp9q 1/1 Running 0 4m16s 3, Disable Service Catalog by changing `managementState: Managed` to `managementState: Removed`. The APIServer ignore the `Removed` status, and the controller-manager worked as before. And the `openshift-service-catalog-controller-manager` project was deleted as expected. mac:~ jianzhang$ oc get servicecatalogapiserver cluster -o yaml apiVersion: operator.openshift.io/v1 kind: ServiceCatalogAPIServer metadata: annotations: release.openshift.io/create-only: "true" creationTimestamp: "2019-05-17T08:51:17Z" generation: 3 name: cluster resourceVersion: "29211" selfLink: /apis/operator.openshift.io/v1/servicecatalogapiservers/cluster uid: ef5a050b-7880-11e9-aad8-02aeb8a97e12 spec: logLevel: Normal managementState: Removed status: conditions: - lastTransitionTime: "2019-05-17T09:19:13Z" status: "True" type: Available - lastTransitionTime: "2019-05-17T09:18:02Z" status: "False" type: Progressing - lastTransitionTime: "2019-05-17T08:57:55Z" reason: Removed status: "False" type: Degraded - lastTransitionTime: "2019-05-17T09:17:53Z" reason: NoUnsupportedConfigOverrides status: "True" type: UnsupportedConfigOverridesUpgradeable - lastTransitionTime: "2019-05-17T09:17:53Z" status: "False" type: ResourceSyncControllerDegraded - lastTransitionTime: "2019-05-17T09:17:59Z" status: "False" type: WorkloadDegraded - lastTransitionTime: "2019-05-17T09:57:53Z" message: Unable to automatically remove Service Catalog once installed. Request to remove will be ignored. See documentation for more details. reason: Unable to automatically remove Service Catalog once installed. status: "True" type: RemovalRequestIgnored generations: - group: apps hash: "" lastGeneration: 2 name: apiserver namespace: openshift-service-catalog-apiserver resource: daemonsets observedGeneration: 2 readyReplicas: 0 mac:~ jianzhang$ oc get servicecatalogcontrollermanager cluster -o yaml apiVersion: operator.openshift.io/v1 kind: ServiceCatalogControllerManager metadata: creationTimestamp: "2019-05-17T08:57:55Z" generation: 3 name: cluster resourceVersion: "29341" selfLink: /apis/operator.openshift.io/v1/servicecatalogcontrollermanagers/cluster uid: dc6d898d-7881-11e9-952c-022716466838 spec: logLevel: Normal managementState: Removed status: conditions: - lastTransitionTime: "2019-05-17T09:19:20Z" reason: Removed status: "True" type: Available - lastTransitionTime: "2019-05-17T09:18:25Z" reason: Removed status: "False" type: Progressing - lastTransitionTime: "2019-05-17T08:57:55Z" reason: Removed status: "False" type: Degraded - lastTransitionTime: "2019-05-17T09:18:22Z" status: "False" type: WorkloadDegraded generations: - group: apps hash: "" lastGeneration: 2 name: controller-manager namespace: openshift-service-catalog-controller-manager resource: daemonsets observedGeneration: 2 readyReplicas: 0 version: 4.1.0-0.nightly-2019-05-17-041605 LGTM for the current fix. 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:0758 |