-
Bug
-
Resolution: Done
-
Critical
-
None
-
quay-v3.11.0
-
False
-
None
-
False
-
-
-
0
Description:
This is an issue found when deploy Quay 3.11 with Quay 3.11 Operator, after created QuayRegistry, the Clair APP POD was failed to start, check OCP events logs, get following error, pls review this issue.
"Error: container create failed: time="2024-02-28T03:43:59Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory"
Quay Version: quay-operator-bundle-container-v3.11.0-11
oc get pod NAME READY STATUS RESTARTS AGE quay-operator.v3.11.0-7bf9ffccf9-9stnn 1/1 Running 0 21m quayregistry-clair-app-67b4b9cb95-n7k8r 0/1 CreateContainerError 0 18m quayregistry-clair-app-67b4b9cb95-tqxvq 0/1 CreateContainerError 0 18m quayregistry-clair-app-868885dc47-gw4f7 0/1 CreateContainerError 0 17m quayregistry-clair-postgres-c79df56cf-mxqwg 1/1 Running 0 17m quayregistry-quay-app-67db9d84dc-9ghcl 1/1 Running 0 17m quayregistry-quay-app-67db9d84dc-b7mfg 1/1 Running 0 17m quayregistry-quay-app-upgrade-sz46m 0/1 Completed 0 17m quayregistry-quay-database-584bfdfb66-bfcwb 1/1 Running 0 17m quayregistry-quay-mirror-5dc584b488-fsbx6 1/1 Running 0 17m quayregistry-quay-mirror-5dc584b488-w4xrn 1/1 Running 0 17m quayregistry-quay-redis-5ffc8fd5cd-59hzf 1/1 Running 0 17m Events: Type Reason Age From Message ---- ------ ---- ---- ------- Normal Scheduled 18m default-scheduler Successfully assigned quay-enterprise-2141/quayregistry-clair-app-67b4b9cb95-n7k8r to ip-10-0-70-30.us-east-2.compute.internal Normal AddedInterface 18m multus Add eth0 [10.131.2.16/23] from openshift-sdn Normal Pulling 18m kubelet Pulling image "registry.redhat.io/quay/clair-rhel8@sha256:813b678ff3b1cfa7cde62f1131370534aebd02eef60cc47f139644249248a2e9" Normal Pulled 18m kubelet Successfully pulled image "registry.redhat.io/quay/clair-rhel8@sha256:813b678ff3b1cfa7cde62f1131370534aebd02eef60cc47f139644249248a2e9" in 1.432922982s (1.432941135s including waiting) Warning Failed 18m kubelet Error: container create failed: time="2024-02-28T03:41:46Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Warning Failed 18m kubelet Error: container create failed: time="2024-02-28T03:41:47Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Warning Failed 18m kubelet Error: container create failed: time="2024-02-28T03:42:00Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Warning Failed 18m kubelet Error: container create failed: time="2024-02-28T03:42:15Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Warning Failed 18m kubelet Error: container create failed: time="2024-02-28T03:42:28Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Warning Failed 17m kubelet Error: container create failed: time="2024-02-28T03:42:41Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Warning Failed 17m kubelet Error: container create failed: time="2024-02-28T03:42:56Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Warning Failed 17m kubelet Error: container create failed: time="2024-02-28T03:43:08Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Warning Failed 17m kubelet Error: container create failed: time="2024-02-28T03:43:21Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Warning Failed 16m (x3 over 16m) kubelet (combined from similar events): Error: container create failed: time="2024-02-28T03:43:59Z" level=error msg="runc create failed: unable to start container process: error during container init: error mounting \"/var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2\" to rootfs at \"/clair/config.yaml.d/01_user_config.yaml\": mount /var/lib/kubelet/pods/79b0e3f7-0c74-4734-89fb-261e141dc08b/volume-subpaths/config/clair-app/2:/clair/config.yaml.d/01_user_config.yaml (via /proc/self/fd/6), flags: 0x5001, data: context=\"system_u:object_r:container_file_t:s0:c26,c15\": not a directory" Normal Pulled 3m37s (x71 over 18m) kubelet Container image "registry.redhat.io/quay/clair-rhel8@sha256:813b678ff3b1cfa7cde62f1131370534aebd02eef60cc47f139644249248a2e9" already present on machine