Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2824

'service "devworkspace-controller-manager-service" not found' error when deploy DevSpaces

    XMLWordPrintable

Details

    • False
    • None
    • False

    Description

      DevSpaces 3.0.0 installation had failed on QE OCP 4.9:

      crwctl bundle: crwctl/2.16.0-CI-redhat.d2cffa9 linux-x64 node-v16.13.2

      Test metadata:

      • registry-proxy.engineering.redhat.com/rh-osbs/codeready-workspaces-operator-bundle:2.16-129
      • registry-proxy.engineering.redhat.com/rh-osbs/iib:193718
      install command
      crwctl server:deploy --no-olm-suggested-namespace --package-manifest-name=devspaces --catalog-source-name=crw-2-16-osbs-stable --catalog-source-namespace=openshift-marketplace --olm-channel=stable --listr-renderer=verbose -n openshift-operators
      
      error
      Failed
      error validating existing CRs against new CRD's schema for "devworkspacetemplates.workspace.devfile.io": error listing resources in GroupVersionResource schema.GroupVersionResource{Group:"workspace.devfile.io", Version:"v1alpha1", Resource:"devworkspacetemplates"}: conversion webhook for workspace.devfile.io/v1alpha2, Kind=DevWorkspaceTemplate failed: Post "https://devworkspace-controller-manager-service.openshift-operators.svc:443/convert?timeout=30s": service "devworkspace-controller-manager-service" not found
      

      codeready-subscription
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        creationTimestamp: '2022-03-15T10:02:40Z'
        generation: 1
        labels:
          operators.coreos.com/devspaces.openshift-operators: ''
        managedFields:
          - apiVersion: operators.coreos.com/v1alpha1
            fieldsType: FieldsV1
            fieldsV1:
              'f:metadata':
                'f:labels':
                  .: {}
                  'f:operators.coreos.com/devspaces.openshift-operators': {}
            manager: olm
            operation: Update
            time: '2022-03-15T10:02:40Z'
          - apiVersion: operators.coreos.com/v1alpha1
            fieldsType: FieldsV1
            fieldsV1:
              'f:spec':
                .: {}
                'f:channel': {}
                'f:installPlanApproval': {}
                'f:name': {}
                'f:source': {}
                'f:sourceNamespace': {}
            manager: unknown
            operation: Update
            time: '2022-03-15T10:02:40Z'
          - apiVersion: operators.coreos.com/v1alpha1
            fieldsType: FieldsV1
            fieldsV1:
              'f:status':
                'f:currentCSV': {}
                'f:catalogHealth': {}
                'f:installPlanRef':
                  .: {}
                  'f:apiVersion': {}
                  'f:kind': {}
                  'f:name': {}
                  'f:namespace': {}
                  'f:resourceVersion': {}
                  'f:uid': {}
                'f:installPlanGeneration': {}
                'f:conditions': {}
                .: {}
                'f:installplan':
                  .: {}
                  'f:apiVersion': {}
                  'f:kind': {}
                  'f:name': {}
                  'f:uuid': {}
                'f:lastUpdated': {}
                'f:state': {}
            manager: catalog
            operation: Update
            subresource: status
            time: '2022-03-15T10:02:44Z'
        name: codeready-subscription
        namespace: openshift-operators
        resourceVersion: '11943708'
        uid: d8c113d0-fa56-47d3-a0b4-a1fa78f4a93d
      spec:
        channel: stable
        installPlanApproval: Automatic
        name: devspaces
        source: crw-2-16-osbs-stable
        sourceNamespace: openshift-marketplace
      status:
        catalogHealth:
          - catalogSourceRef:
              apiVersion: operators.coreos.com/v1alpha1
              kind: CatalogSource
              name: certified-operators
              namespace: openshift-marketplace
              resourceVersion: '11938926'
              uid: d16b594a-c23a-4439-a067-dc8fc25fcb05
            healthy: true
            lastUpdated: '2022-03-15T10:02:49Z'
          - catalogSourceRef:
              apiVersion: operators.coreos.com/v1alpha1
              kind: CatalogSource
              name: community-operators
              namespace: openshift-marketplace
              resourceVersion: '11940907'
              uid: b0dd7764-f397-4add-98fc-536852863ff3
            healthy: true
            lastUpdated: '2022-03-15T10:02:49Z'
          - catalogSourceRef:
              apiVersion: operators.coreos.com/v1alpha1
              kind: CatalogSource
              name: crw-2-15-osbs-stable
              namespace: openshift-marketplace
              resourceVersion: '11767702'
              uid: 85598743-d8eb-4857-89d1-bf1c007faa21
            healthy: true
            lastUpdated: '2022-03-15T10:02:49Z'
          - catalogSourceRef:
              apiVersion: operators.coreos.com/v1alpha1
              kind: CatalogSource
              name: crw-2-16-osbs-stable
              namespace: openshift-marketplace
              resourceVersion: '11941390'
              uid: 4e782e2e-83ac-48ba-a77f-e258c0eb4283
            healthy: true
            lastUpdated: '2022-03-15T10:02:49Z'
          - catalogSourceRef:
              apiVersion: operators.coreos.com/v1alpha1
              kind: CatalogSource
              name: redhat-marketplace
              namespace: openshift-marketplace
              resourceVersion: '11937756'
              uid: e32b16aa-ae17-4dfa-9380-0b33743c2e7f
            healthy: true
            lastUpdated: '2022-03-15T10:02:49Z'
          - catalogSourceRef:
              apiVersion: operators.coreos.com/v1alpha1
              kind: CatalogSource
              name: redhat-operators
              namespace: openshift-marketplace
              resourceVersion: '11940906'
              uid: 22f182fd-5fe5-4af7-817b-6018ca6320a7
            healthy: true
            lastUpdated: '2022-03-15T10:02:49Z'
          - catalogSourceRef:
              apiVersion: operators.coreos.com/v1alpha1
              kind: CatalogSource
              name: staging-catalog-source
              namespace: openshift-marketplace
              resourceVersion: '11767700'
              uid: 8e6cf0bb-ec5c-4ea3-b647-3076c6e86597
            healthy: true
            lastUpdated: '2022-03-15T10:02:49Z'
        conditions:
          - lastTransitionTime: '2022-03-15T10:02:49Z'
            message: all available catalogsources are healthy
            reason: AllCatalogSourcesHealthy
            status: 'False'
            type: CatalogSourcesUnhealthy
          - lastTransitionTime: '2022-03-15T10:08:03Z'
            message: >-
              error validating existing CRs against new CRD's schema for
              "devworkspacetemplates.workspace.devfile.io": error listing resources in
              GroupVersionResource
              schema.GroupVersionResource{Group:"workspace.devfile.io",
              Version:"v1alpha1", Resource:"devworkspacetemplates"}: conversion
              webhook for workspace.devfile.io/v1alpha2, Kind=DevWorkspaceTemplate
              failed: Post
              "https://devworkspace-controller-manager-service.openshift-operators.svc:443/convert?timeout=30s":
              service "devworkspace-controller-manager-service" not found
            reason: InstallComponentFailed
            status: 'True'
            type: InstallPlanFailed
        currentCSV: devspacesoperator.v2.16.0
        installPlanGeneration: 1
        installPlanRef:
          apiVersion: operators.coreos.com/v1alpha1
          kind: InstallPlan
          name: install-7n8sb
          namespace: openshift-operators
          resourceVersion: '11941476'
          uid: caeb7bf9-34fe-4bd8-832d-7de075ea53cd
        installplan:
          apiVersion: operators.coreos.com/v1alpha1
          kind: InstallPlan
          name: install-7n8sb
          uuid: caeb7bf9-34fe-4bd8-832d-7de075ea53cd
        lastUpdated: '2022-03-15T10:08:03Z'
        state: UpgradePending
      

      Attachments

        Activity

          People

            nickboldt Nick Boldt
            dnochevn Dmytro Nochevnov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: