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

image tags missing in plugin reg external_images.txt, which led to 'install strategy failed: Deployment.apps "devspaces-operator" is invalid' error when deploy DS

XMLWordPrintable

    • False
    • None
    • False

      Description of problem:

      DS 3.3.0 failed to deploy to OCP because of error:

      install strategy failed: Deployment.apps "devspaces-operator" is invalid: [spec.template.spec.containers[0].env[35].name: Invalid value: "registry-proxy.engineering.redhat.com/rh-osbs/devspaces-code:": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'), spec.template.spec.containers[0].env[36].name: Required value, spec.template.spec.containers[0].env[37].name: Invalid value: "registry-proxy.engineering.redhat.com/rh-osbs/devspaces-idea:": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'), spec.template.spec.containers[0].env[38].name: Required value, spec.template.spec.containers[0].env[39].name: Invalid value: "registry-proxy.engineering.redhat.com/rh-osbs/devspaces-machineexec:": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'), spec.template.spec.containers[0].env[40].name: Required value, spec.template.spec.containers[0].env[41].name: Invalid value: "registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia:": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'), spec.template.spec.containers[0].env[42].name: Required value, spec.template.spec.containers[0].env[43].name: Invalid value: "registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia_endpoint:": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'), spec.template.spec.containers[0].env[44].name: Required value, spec.template.spec.containers[0].env[45].name: Invalid value: "registry-proxy.engineering.redhat.com/rh-osbs/devspaces-udi:": a valid environment variable name must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1', regex used for validation is '[-._a-zA-Z][-._a-zA-Z0-9]*'), spec.template.spec.containers[0].env[46].name: Required value]
      

      Prerequisites (if any, like setup, operators/versions):

      DS 3.3.0 based on

      • "devspaces-operator-bundle-container-3.3-215"
      • brew.registry.redhat.io/rh-osbs/iib:366572

      Steps to Reproduce

      Deploy DS 3.3.0 to OCP 4.10 using catalog source with iib image brew.registry.redhat.io/rh-osbs/iib:366572

      Actual results:

      DevSpaces operator deployment failed.

      CSV fragment
                          env:
                            - name: ADD_COMPONENT_READINESS_INIT_CONTAINERS
                              value: 'false'
                            - name: CHE_FLAVOR
                              value: devspaces
                            - name: CHE_VERSION
                              value: 3.3.0
                            - name: CONSOLE_LINK_DISPLAY_NAME
                              value: Red Hat OpenShift Dev Spaces
                            - name: CONSOLE_LINK_IMAGE
                              value: /dashboard/assets/branding/loader.svg
                            - name: CONSOLE_LINK_NAME
                              value: che
                            - name: CONSOLE_LINK_SECTION
                              value: Red Hat Applications
                            - name: MAX_CONCURRENT_RECONCILES
                              value: '1'
                            - name: OPERATOR_NAME
                              value: devspaces-operator
                            - name: POD_NAME
                              valueFrom:
                                fieldRef:
                                  fieldPath: metadata.name
                            - name: RELATED_IMAGE_che_server
                              value: >-
                                registry.redhat.io/devspaces/server-rhel8@sha256:3d85b38f21db11aa6dd432cce0a03763a6837d0d25d056b5744fdcc4d6d5f2e8
                            - name: RELATED_IMAGE_dashboard
                              value: >-
                                registry.redhat.io/devspaces/dashboard-rhel8@sha256:bfba3b1d364723fe33b9d197c3c02297cbee48faa8a78d0f2a7fa8f51211beea
                            - name: RELATED_IMAGE_devfile_registry
                              value: >-
                                registry.redhat.io/devspaces/devfileregistry-rhel8@sha256:e7848b5441e235eb051fd7caba763ee1ebfecd7e74278bc27bf218245c45c61c
                            - name: >-
                                RELATED_IMAGE_devspaces_code_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/code-rhel8@sha256:8ae1771ce49129fa6c352fd69c13e6a59928918396165459a11e9265f77b7ea6
                            - name: >-
                                RELATED_IMAGE_devspaces_code_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/code-rhel8@sha256:8ae1771ce49129fa6c352fd69c13e6a59928918396165459a11e9265f77b7ea6
                            - name: >-
                                RELATED_IMAGE_devspaces_machineexec_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/machineexec-rhel8@sha256:998f3489e9e4411e2105ca0fca4b9744c2e8c3e284f8bd51ddc68209515efaa6
                            - name: >-
                                RELATED_IMAGE_devspaces_machineexec_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/machineexec-rhel8@sha256:998f3489e9e4411e2105ca0fca4b9744c2e8c3e284f8bd51ddc68209515efaa6
                            - name: >-
                                RELATED_IMAGE_devspaces_theia_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/theia-rhel8@sha256:589fc528a9356c840fb484c3a7f256236f47b65f1d0ced0cfd04c7face37098f
                            - name: >-
                                RELATED_IMAGE_devspaces_theia_endpoint_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/theia-endpoint-rhel8@sha256:7716d10ba89cb2cb44f6d98e7fd5f4a2005311983afe696656b3cb5fcc922bfe
                            - name: >-
                                RELATED_IMAGE_devspaces_theia_endpoint_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/theia-endpoint-rhel8@sha256:7716d10ba89cb2cb44f6d98e7fd5f4a2005311983afe696656b3cb5fcc922bfe
                            - name: >-
                                RELATED_IMAGE_devspaces_theia_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/theia-rhel8@sha256:589fc528a9356c840fb484c3a7f256236f47b65f1d0ced0cfd04c7face37098f
                            - name: >-
                                RELATED_IMAGE_devspaces_udi_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/udi-rhel8@sha256:cffe2400dd264938d9f390324eb5e90cf82ba6978ca5c2cfe38bececb40b60ec
                            - name: >-
                                RELATED_IMAGE_devspaces_udi_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/udi-rhel8@sha256:cffe2400dd264938d9f390324eb5e90cf82ba6978ca5c2cfe38bececb40b60ec
                            - name: RELATED_IMAGE_devworkspace_controller
                              value: >-
                                registry.redhat.io/devworkspace/devworkspace-rhel8-operator@sha256:ff451e94d2f31812e266ab0d7e548afb2d0ec1d461e0f43262b58d69b5d08a8e
                            - name: RELATED_IMAGE_gateway_authentication_sidecar
                              value: >-
                                registry.redhat.io/openshift4/ose-oauth-proxy@sha256:b6a6278f976db47104dd32608b51fc72b9b077e2ae4da09b24f52f570970d4c4
                            - name: RELATED_IMAGE_gateway_authorization_sidecar
                              value: >-
                                registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:f7993b7a5458679621f6686bdc4ab818659e051ef6cdf6a8e107f627adf5f178
                            - name: RELATED_IMAGE_plugin_registry
                              value: >-
                                registry.redhat.io/devspaces/pluginregistry-rhel8@sha256:92c0502d6da4d790fb19e6ad6cfbcbb8331ec58ffb97fca28d22258c36c96b43
                            - name: RELATED_IMAGE_postgres
                              value: >-
                                registry.redhat.io/rhel8/postgresql-96@sha256:314747a4a64ac16c33ead6a34479dccf16b9a07abf440ea7eeef7cda4cd19e32
                            - name: RELATED_IMAGE_postgres_13_3
                              value: >-
                                registry.redhat.io/rhel8/postgresql-13@sha256:d7149f45a7fd33860634cdbd44f53b4ac4828ec3cebb813c4d3b4e78ad5e5f4e
                            - name: RELATED_IMAGE_pvc_jobs
                              value: >-
                                registry.redhat.io/ubi8/ubi-minimal@sha256:33931dce809712888d1a8061bfa676963f517daca993984afed3251bc1fb5987
                            - name: >-
                                RELATED_IMAGE_rhscl_mongodb_36_rhel7_devfile_registry_image_GEWTKMAK
                              value: >-
                                registry.redhat.io/rhscl/mongodb-36-rhel7@sha256:9f799d356d7d2e442bde9d401b720600fd9059a3d8eefea6f3b2ffa721c0dc73
                            - name: >-
                                RELATED_IMAGE_rhscl_mongodb_36_rhel7_plugin_registry_image_GEWTKMAK
                              value: >-
                                registry.redhat.io/rhscl/mongodb-36-rhel7@sha256:9f799d356d7d2e442bde9d401b720600fd9059a3d8eefea6f3b2ffa721c0dc73
                            - name: RELATED_IMAGE_single_host_gateway
                              value: >-
                                registry.redhat.io/devspaces/traefik-rhel8@sha256:676bd308e8931689191aef34a9c2c1e7527ba252d6713197c87a5dd9610ac6ed
                            - name: RELATED_IMAGE_single_host_gateway_config_sidecar
                              value: >-
                                registry.redhat.io/devspaces/configbump-rhel8@sha256:d26c829ccd77a2933c75268cdda072cf68bb228281593da8f5de30d85a4ebb25
                            - name: WATCH_NAMESPACE
                              valueFrom:
                                fieldRef:
                                  fieldPath: 'metadata.annotations[''olm.targetNamespaces'']'
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-code:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-code-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-code:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-code-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-idea:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-idea-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-idea:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-idea-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-machineexec:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-machineexec-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-machineexec:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-machineexec-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia_endpoint:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia-endpoint-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia_endpoint:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-theia-endpoint-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-udi:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-udi-rhel8:
                            - name: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-udi:
                              value: >-
                                registry-proxy.engineering.redhat.com/rh-osbs/devspaces-udi-rhel8:
      

      Expected results:

      DevSpaces Operator has deployed successfully.

      CSV fragment
                          env:
                            - name: ADD_COMPONENT_READINESS_INIT_CONTAINERS
                              value: 'false'
                            - name: CHE_FLAVOR
                              value: devspaces
                            - name: CHE_VERSION
                              value: 3.3.0
                            - name: CONSOLE_LINK_DISPLAY_NAME
                              value: Red Hat OpenShift Dev Spaces
                            - name: CONSOLE_LINK_IMAGE
                              value: /dashboard/assets/branding/loader.svg
                            - name: CONSOLE_LINK_NAME
                              value: che
                            - name: CONSOLE_LINK_SECTION
                              value: Red Hat Applications
                            - name: MAX_CONCURRENT_RECONCILES
                              value: '1'
                            - name: OPERATOR_NAME
                              value: devspaces-operator
                            - name: POD_NAME
                              valueFrom:
                                fieldRef:
                                  fieldPath: metadata.name
                            - name: RELATED_IMAGE_che_server
                              value: >-
                                registry.redhat.io/devspaces/server-rhel8@sha256:02e57249b8d98b4522af2faee275caf16884fdca06e509d3120f2fbd6d3e5db7
                            - name: RELATED_IMAGE_dashboard
                              value: >-
                                registry.redhat.io/devspaces/dashboard-rhel8@sha256:31e0959bae7959738f74bfe1f059db399d7c1f3ebc2bbdeff87e1cb9b1c6b7c2
                            - name: RELATED_IMAGE_devfile_registry
                              value: >-
                                registry.redhat.io/devspaces/devfileregistry-rhel8@sha256:a585de1c253637b56cdf54344726778cce9d5a32ac2c9f7abd2725f1246cf664
                            - name: >-
                                RELATED_IMAGE_devspaces_code_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/code-rhel8@sha256:03104916add9fc0c868c46e77e276b2b59acc3213bf59ef86f4f9b278b59a7ee
                            - name: >-
                                RELATED_IMAGE_devspaces_code_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/code-rhel8@sha256:03104916add9fc0c868c46e77e276b2b59acc3213bf59ef86f4f9b278b59a7ee
                            - name: >-
                                RELATED_IMAGE_devspaces_idea_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/idea-rhel8@sha256:22681df20a16e18644ec35fbcbaacb441085adc664cf41417747383026123b01
                            - name: >-
                                RELATED_IMAGE_devspaces_idea_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/idea-rhel8@sha256:22681df20a16e18644ec35fbcbaacb441085adc664cf41417747383026123b01
                            - name: >-
                                RELATED_IMAGE_devspaces_machineexec_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/machineexec-rhel8@sha256:d0409886ebab56632ad5da690bc2f7ba0fe118920ee6c19858c3744df374f786
                            - name: >-
                                RELATED_IMAGE_devspaces_machineexec_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/machineexec-rhel8@sha256:d0409886ebab56632ad5da690bc2f7ba0fe118920ee6c19858c3744df374f786
                            - name: >-
                                RELATED_IMAGE_devspaces_theia_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/theia-rhel8@sha256:3b61b6da67d7d62c86c170841e0bb7d177fb31d15a4d8768ce90b5744f55990b
                            - name: >-
                                RELATED_IMAGE_devspaces_theia_endpoint_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/theia-endpoint-rhel8@sha256:7716d10ba89cb2cb44f6d98e7fd5f4a2005311983afe696656b3cb5fcc922bfe
                            - name: >-
                                RELATED_IMAGE_devspaces_theia_endpoint_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/theia-endpoint-rhel8@sha256:7716d10ba89cb2cb44f6d98e7fd5f4a2005311983afe696656b3cb5fcc922bfe
                            - name: >-
                                RELATED_IMAGE_devspaces_theia_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/theia-rhel8@sha256:3b61b6da67d7d62c86c170841e0bb7d177fb31d15a4d8768ce90b5744f55990b
                            - name: >-
                                RELATED_IMAGE_devspaces_udi_devfile_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/udi-rhel8@sha256:028ff833e716b2565117553622e4983c39dfb354cbe41c2567968369dee6a6b4
                            - name: >-
                                RELATED_IMAGE_devspaces_udi_plugin_registry_image_GMXDGCQ_
                              value: >-
                                registry.redhat.io/devspaces/udi-rhel8@sha256:028ff833e716b2565117553622e4983c39dfb354cbe41c2567968369dee6a6b4
                            - name: RELATED_IMAGE_devworkspace_controller
                              value: >-
                                registry.redhat.io/devworkspace/devworkspace-rhel8-operator@sha256:ff451e94d2f31812e266ab0d7e548afb2d0ec1d461e0f43262b58d69b5d08a8e
                            - name: RELATED_IMAGE_gateway_authentication_sidecar
                              value: >-
                                registry.redhat.io/openshift4/ose-oauth-proxy@sha256:f476c330186eeae654b08f6aaee1bcaf430ffbf166dc65232ddb8a78325381bc
                            - name: RELATED_IMAGE_gateway_authorization_sidecar
                              value: >-
                                registry.redhat.io/openshift4/ose-kube-rbac-proxy@sha256:01c7cb194032e5488b4d20e29a2b474a1bfa24984893e625e2544432b950f461
                            - name: RELATED_IMAGE_plugin_registry
                              value: >-
                                registry.redhat.io/devspaces/pluginregistry-rhel8@sha256:944118f9e52ee3028505b4c2686ff76117a14f6a54b21211d850ffab5e76de70
                            - name: RELATED_IMAGE_postgres
                              value: >-
                                registry.redhat.io/rhel8/postgresql-96@sha256:314747a4a64ac16c33ead6a34479dccf16b9a07abf440ea7eeef7cda4cd19e32
                            - name: RELATED_IMAGE_postgres_13_3
                              value: >-
                                registry.redhat.io/rhel8/postgresql-13@sha256:d7149f45a7fd33860634cdbd44f53b4ac4828ec3cebb813c4d3b4e78ad5e5f4e
                            - name: RELATED_IMAGE_pvc_jobs
                              value: >-
                                registry.redhat.io/ubi8/ubi-minimal@sha256:33931dce809712888d1a8061bfa676963f517daca993984afed3251bc1fb5987
                            - name: >-
                                RELATED_IMAGE_rhscl_mongodb_36_rhel7_devfile_registry_image_GEWTKMAK
                              value: >-
                                registry.redhat.io/rhscl/mongodb-36-rhel7@sha256:9f799d356d7d2e442bde9d401b720600fd9059a3d8eefea6f3b2ffa721c0dc73
                            - name: >-
                                RELATED_IMAGE_rhscl_mongodb_36_rhel7_plugin_registry_image_GEWTKMAK
                              value: >-
                                registry.redhat.io/rhscl/mongodb-36-rhel7@sha256:9f799d356d7d2e442bde9d401b720600fd9059a3d8eefea6f3b2ffa721c0dc73
                            - name: RELATED_IMAGE_single_host_gateway
                              value: >-
                                registry.redhat.io/devspaces/traefik-rhel8@sha256:85989695316788bfc1a89595db755d6ba580087536b70e6d74d2c936eb449e2b
                            - name: RELATED_IMAGE_single_host_gateway_config_sidecar
                              value: >-
                                registry.redhat.io/devspaces/configbump-rhel8@sha256:ce6c700a51b2ce40778962ee44a20c6f7d2a65d88e37fc00fd13334b9ad9092d
                            - name: WATCH_NAMESPACE
                              valueFrom:
                                fieldRef:
                                  fieldPath: 'metadata.annotations[''olm.targetNamespaces'']'
      

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info (Such as Logs, Screenshots, etc):

      clusterserviceversion-devspacesoperator.v3.3.0.yaml

      It has also affected DS 3.4.0 metadata "devspaces-operator-bundle:3.4-11" (brew.registry.redhat.io/rh-osbs/iib:366754):
      clusterserviceversion-devspacesoperator.v3.4.0.yaml

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

                Created:
                Updated:
                Resolved: