-
Bug
-
Resolution: Done
-
Blocker
-
3.2.0.GA
-
False
-
None
-
False
-
Rejected
Original title:
- Airgap installation of DS 3.2.0 failed on devfile-registry deployment because ReplicaSet had timed out progressing
Revised title after investigation:
- missing RELATED_IMAGE env vars in operator-bundle due to incomplete digest pinning operation in OSBS
-------
Deployment of DS 3.2.0.RC-10-05 to airgap OCP 4.11 failed on devfile-registry deployment step in x86_64 and IBM Power:
status: observedGeneration: 3 replicas: 2 updatedReplicas: 1 readyReplicas: 1 availableReplicas: 1 unavailableReplicas: 1 conditions: - type: Available status: 'True' lastUpdateTime: '2022-10-07T21:56:13Z' lastTransitionTime: '2022-10-07T21:56:13Z' reason: MinimumReplicasAvailable message: Deployment has minimum availability. - type: Progressing status: 'False' lastUpdateTime: '2022-10-07T23:22:45Z' lastTransitionTime: '2022-10-07T23:22:45Z' reason: ProgressDeadlineExceeded message: ReplicaSet "devfile-registry-6d789599b8" has timed out progressing.
deployment-devfile-registry.yaml
Difference: &v1.Deployment{ ... // 2 ignored fields Spec: v1.DeploymentSpec{ ... // 1 ignored field Selector: &{MatchLabels: {"app": "devspaces", "component": "devfile-registry"}}, Template: v1.PodTemplateSpec{ ObjectMeta: {Labels: {"app": "devspaces", "app.kubernetes.io/component": "devfile-registry", "app.kubernetes.io/instance": "devspaces", "app.kubernetes.io/managed-by": "devspaces-operator", ...}}, Spec: v1.PodSpec{ Volumes: nil, InitContainers: nil, Containers: []v1.Container{ { Name: "devfile-registry", Image: strings.Join({ "registry.redhat.io/devspaces/devfileregistry-rhel8@sha256:", - "2add07e7630d646bd2e35a190952d420aea6bdd3b36a74f9f0dd5d1609ff06e", + "9990c5a1ed6d451c81e1b985139e70cdc5b5ed79ba22b62b4ac5b266eb8cd07", "8", }, ""), Command: nil,
devspaces-operator-fd88f9589-h95cv-devspaces-operator (1).log
devfileregistry-rhel8 image: quay.io/devspaces/devfileregistry-rhel8:3.2-32
Root cause of problem: lack of devfile/plugin registry images metadata in devspaces-operator-bundle-container-3.2-158, which has broken deployment of the same devfileregistry image.
There are difference between devspaces-operator-bundle-container-3.2-156 and devspaces-operator-bundle-container-3.2-158 CSV:
Metadata devspaces-operator-bundle-container-3.2-156
clusterserviceversion-devspacesoperator.v3.2.0-156.yaml
- name: >- RELATED_IMAGE_devspaces_code_devfile_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/code-rhel8@sha256:42da1996453b6594233a5772473a88f32c5c52191899c05b99032a70ce459534 - name: >- RELATED_IMAGE_devspaces_code_plugin_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/code-rhel8@sha256:42da1996453b6594233a5772473a88f32c5c52191899c05b99032a70ce459534 - name: >- RELATED_IMAGE_devspaces_idea_devfile_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/idea-rhel8@sha256:ea2c269d7e8907a7cce68e554e0f6cede9f1f811b2dbfcea2b0ed67cd8709ca5 - name: >- RELATED_IMAGE_devspaces_idea_plugin_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/idea-rhel8@sha256:ea2c269d7e8907a7cce68e554e0f6cede9f1f811b2dbfcea2b0ed67cd8709ca5 - name: >- RELATED_IMAGE_devspaces_machineexec_devfile_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/machineexec-rhel8@sha256:30dff710196f7061066932a69ca4d3f680d88c95e2883dd5809d43d3e4a8e39f - name: >- RELATED_IMAGE_devspaces_machineexec_plugin_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/machineexec-rhel8@sha256:30dff710196f7061066932a69ca4d3f680d88c95e2883dd5809d43d3e4a8e39f - name: >- RELATED_IMAGE_devspaces_theia_devfile_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/theia-rhel8@sha256:0f550ba6a88ca8e29bbba1c41829013f88208f47c169f9d1db911866285c684d - name: >- RELATED_IMAGE_devspaces_theia_endpoint_devfile_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/theia-endpoint-rhel8@sha256:e1b120b445f5ac484ba90c04357a2b218e4c990bbdbedbcdb347565c29cb1ea8 - name: >- RELATED_IMAGE_devspaces_theia_endpoint_plugin_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/theia-endpoint-rhel8@sha256:e1b120b445f5ac484ba90c04357a2b218e4c990bbdbedbcdb347565c29cb1ea8 - name: >- RELATED_IMAGE_devspaces_theia_plugin_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/theia-rhel8@sha256:0f550ba6a88ca8e29bbba1c41829013f88208f47c169f9d1db911866285c684d - name: >- RELATED_IMAGE_devspaces_udi_devfile_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/udi-rhel8@sha256:72762feb5ccea26dc7872877b9661fb34a295da05b96581d364c507a4923361e - name: >- RELATED_IMAGE_devspaces_udi_plugin_registry_image_GMXDECQ_ value: >- registry.redhat.io/devspaces/udi-rhel8@sha256:72762feb5ccea26dc7872877b9661fb34a295da05b96581d364c507a4923361e
Metadata devspaces-operator-bundle-container-3.2-158
clusterserviceversion-devspacesoperator.v3.2.0-158.yaml
- name: RELATED_IMAGE_devfile_registry value: >- registry.redhat.io/devspaces/devfileregistry-rhel8@sha256:9990c5a1ed6d451c81e1b985139e70cdc5b5ed79ba22b62b4ac5b266eb8cd078
- is cloned by
-
CRW-3432 Add checks for external_images.txt when scraping registries for containers to add to CSV
- Closed