Docker Pattern vs Kubernetes Inconsistent Image ID ValuesDescriptionKubernetes and Docker patterns wil create image duplicate CI although they retrieved the same image. Docker images can be retrieved in 4 ways: docker pull nginx@sha256:10d1f5b58f74683ad34eb29287e07dab1e90f10af243f151bb50aa5dbb4d62eedocker pull nginx:1.24-perldocker pull nginx:latestdocker pull nginx The next section explains how sn_itom_pattern.manifest_digest_image_id and sn_itom_pattern.manifest_digest_image_id_truncate true|false system properties impact cmdb_ci_docker_image's image_id population The default combination is problematic because it populates docker local image ids. manifest_digest_image_id = false, manifest_digest_image_id_truncate = false NOTE: Every system property change will require cmdb_ci_docker_container and cmdb_ci_docker_image table flush. Either manifest_digest_image_id = true, manifest_digest_image_id_truncate = true or manifest_digest_image_id = true, manifest_digest_image_id_truncate = false will make sure Docker and Kubernetes patterns won't create cmdb_ci_docker_image duplicates. If manifest_digest_image_id = true, manifest_digest_image_id_truncate = true discovery will truncate image manifest digests and it will assign the first 12 characters to image_ids. Kubernetes manifest_digest_image_id = true, manifest_digest_image_id_truncate = true Name: nginxImage Id: 3c4c1f42a89eImage Digest: 3c4c1f42a89e343c7b050c5e5d6f670a0e0b82e70e0e7d023f10092a04bbb5a7Size (bytes): Image Created: manifest_digest_image_id = false, manifest_digest_image_id_truncate = false Name: nginxImage Id: 10d1f5b58f74Image Digest: 10d1f5b58f74683ad34eb29287e07dab1e90f10af243f151bb50aa5dbb4d62eeSize (bytes):Image Created: manifest_digest_image_id = true, manifest_digest_image_id_truncate = false Name: nginxImage Id: 3c4c1f42a89e343c7b050c5e5d6f670a0e0b82e70e0e7d023f10092a04bbb5a7Image Digest: 3c4c1f42a89e343c7b050c5e5d6f670a0e0b82e70e0e7d023f10092a04bbb5a7Size (bytes):Image Created: Docker manifest_digest_image_id = true, manifest_digest_image_id_truncate = true Name nginxImage Id 3c4c1f42a89eImage Digest 3c4c1f42a89e343c7b050c5e5d6f670a0e0b82e70e0e7d023f10092a04bbb5a7Size (bytes) 186,779,305Image Created 21.11.2023 01:05 manifest_digest_image_id = false, manifest_digest_image_id_truncate = false Name nginxImage Id a6bd71f48f68Image Digest 3c4c1f42a89e343c7b050c5e5d6f670a0e0b82e70e0e7d023f10092a04bbb5a7Size (bytes) 186,779,305Image Created 21.11.2023 01:05 manifest_digest_image_id = true, manifest_digest_image_id_truncate = false Name nginxImage Id 3c4c1f42a89e343c7b050c5e5d6f670a0e0b82e70e0e7d023f10092a04bbb5a7Image Digest 3c4c1f42a89e343c7b050c5e5d6f670a0e0b82e70e0e7d023f10092a04bbb5a7Size (bytes) 186,779,305Image Created 21.11.2023 01:05 Steps to Reproduce 1. Run Discovery using Docker pattern, 2. From the pattern logs, the command should be failing at the step: inspect docker images 3. As a result, the docker pattern will fail to create the relationships due to image_id mismatches.WorkaroundThe code change is going to be released in Feb 2024 in following store releases: Visibility ContentDiscovery and Service Mapping Patterns Otherwise retrieve and commit attached update sets. They are independent which means the commit order is not important. NOTE: Do not commit attached update sets after Feb 2024 because the will be available out of the box!!! sys_remote_update_set_257e14f087e3b1502e1edbdd3fbb3503.xmlsys_remote_update_set_ce5e10f087e3b1502e1edbdd3fbb35bc.xml Kubernetes and Docker population can be tuned by system properties. Create them because they don't exist by default. sn_itom_pattern.manifest_digest_image_id_truncate application = Discovery and Service Mapping Patternssuffix = manifest_digest_image_id_truncatename = sn_itom_pattern.manifest_digest_image_id_truncatetype = true | falsevalue = true sn_itom_pattern.manifest_digest_image_id application = Discovery and Service Mapping Patternssuffix = manifest_digest_image_idname = sn_itom_pattern.manifest_digest_image_idtype = true | falsevalue = true Flush cmdb_ci_docker_image table to get rid of duplicates! Flush cmdb_ci_docker_container table to get rid of duplicates! Rerun discovery!Related Problem: PRB1704453