Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1922648

Summary: FailedCreatePodSandBox due to "failed to pin namespaces [uts]: [pinns:e]: /var/run/utsns exists and is not a directory: File exists"
Product: OpenShift Container Platform Reporter: Clayton Coleman <ccoleman>
Component: NodeAssignee: Peter Hunt <pehunt>
Node sub component: CRI-O QA Contact: Weinan Liu <weinliu>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aos-bugs, mpatel, pehunt, tsweeney, weinliu, wking
Version: 4.7   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 22:37:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Clayton Coleman 2021-01-30 18:32:37 UTC
11.3% of 4.7 runs (not occurring before 4.7) have this error in them

ns/openshift-cluster-node-tuning-operator pod/tuned-qrk7b node/ip-10-0-201-77.us-east-2.compute.internal - never deleted - reason/FailedCreatePodSandBox Failed to create pod sandbox: rpc error: code = Unknown desc = failed to pin namespaces [uts]: [pinns:e]: /var/run/utsns exists and is not a directory: File exists

example job https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-origin-installer-e2e-aws-serial-4.7/1355501971028578304

Looks like we introduced a new race condition in this namespace and it impacts pod stop SLOs.  Must fix for 4.7 because of the prevalence of the regression.

Comment 1 Peter Hunt 2021-02-03 20:14:49 UTC
should be fixed in attached version (not sure, I haven't personally reproduced)

Comment 20 Peter Hunt 2021-03-04 18:38:42 UTC
All of the failures here:
https://search.ci.openshift.org/?search=failed+to+pin+namespaces&maxAge=48h&context=1&type=bug%2Bjunit&name=4.7&maxMatches=5&maxBytes=20971520&groupBy=job
seem to be 4.9 (which I inspected and has an old version of cri-o 1.20 that doesn't have the fixes needed

I believe this is fixed in 4.7

Comment 22 Weinan Liu 2021-03-09 08:51:10 UTC
no long see the failures in above CI jobs

Comment 25 errata-xmlrpc 2021-07-27 22:37:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:2438