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

Devspaces operator install strategy failed: 'Deployment.apps "devspaces-operator" is invalid: [spec.template.spec.containers[0].env[24].name: Required value'

XMLWordPrintable

    • False
    • None
    • False

      DS 3.1.0.RC-07-21 failed to deploy to OCP 4.10 because of error:

      install strategy failed: Deployment.apps "devspaces-operator" is invalid: [spec.template.spec.containers[0].env[24].name: Required value, spec.template.spec.containers[0].env[26].name: Required value]

      Event log:

      Error updating Endpoint Slices for Service openshift-operators/devspaces-operator-service: failed to delete devspaces-operator-service-fqxjf EndpointSlice for Service openshift-operators/devspaces-operator-service: endpointslices.discovery.k8s.io "devspaces-operator-service-fqxjf" not found

      Test environment:

      CSV from subscription: clusterserviceversion-devspacesoperator.v3.1.0.yaml
      CSV from inside iib:278384 image: csv-file-from-inside-iib-image.json

      Root cause: duplicate node "RELATED_IMAGE_devspaces_udi_devfile_registry_image_GMXDCCQ_" had been added by commit https://github.com/redhat-developer/devspaces-images/commit/8154d1111ee471afc2b46a6af90851d7bf4616ee#

                           - name: >-
                                RELATED_IMAGE_devspaces_udi_devfile_registry_image_GMXDCCQ_
                              value: >-
                                registry.redhat.io/devspaces/udi-rhel8@sha256:378d8bbea8f42551d9dd477f84e2676fc097e8ab229242a705f6883a03b89b2c
                            - name: >-
                                RELATED_IMAGE_devspaces_udi_devfile_registry_image_GMXDCCQ_
                              value: >-
                                registry.redhat.io/devspaces/udi-rhel8@sha256:378d8bbea8f42551d9dd477f84e2676fc097e8ab229242a705f6883a03b89b2c
      

        1. clusterserviceversion-devspacesoperator.v3.1.0.yaml
          120 kB
          Dmytro Nochevnov
        2. csv-file-from-inside-iib-image.json
          102 kB
          Dmytro Nochevnov
        3. ocp410-iib-278384.png
          211 kB
          Shmaraiev Oleksandr
        4. ocp-411-ds-update.png
          197 kB
          Shmaraiev Oleksandr
        5. screenshot-1.png
          59 kB
          Nick Boldt
        6. Screenshot from 2022-07-22 16-13-58.png
          185 kB
          Dmytro Nochevnov
        7. update-ds-duplicate-env-1.png
          309 kB
          Shmaraiev Oleksandr

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

                Created:
                Updated:
                Resolved: