Bug 1867103

Summary: [sig-storage] CSI mock volume storage capacity unlimited
Product: OpenShift Container Platform Reporter: Harshal Patil <harpatil>
Component: StorageAssignee: Fabio Bertinatto <fbertina>
Storage sub component: Kubernetes QA Contact: Qin Ping <piqin>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs, jsafrane
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
[sig-storage] CSI mock volume storage capacity unlimited
Last Closed: 2020-10-27 16:25:54 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:

Comment 1 Fabio Bertinatto 2020-08-10 14:32:44 UTC
This seems to be caused by bug 1865857.

* The failure doesn't always happen in the same place in the code.
* The GRPC error message says "transport is closing", which is often caused by the server closing the connection.
* Looking at apiserver logs I see this (around same time when the failure happened):

> W0810 12:23:26.985570      19 dispatcher.go:142] rejected by webhook "validating-is-webhook-configuration-ready.k8s.io": &errors.StatusError{ErrStatus:v1.Status{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ListMeta:v1.ListMeta{SelfLink:"", ResourceVersion:"", Continue:"", RemainingItemCount:(*int64)(nil)}, Status:"Failure", Message:"admission webhook \"validating-is-webhook-configuration-ready.k8s.io\" denied the request: this webhook denies all requests", Reason:"", Details:(*v1.StatusDetails)(nil), Code:400}}
> I0810 12:23:31.004209      19 controlbuf.go:508] transport: loopyWriter.run returning. connection error: desc = "transport is closing"
> E0810 12:23:31.004403      19 status.go:71] apiserver received an error that is not an metav1.Status: &status.statusError{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), Code:14, Message:"transport is closing", Details:[]*anypb.Any(nil)}
> I0810 12:23:31.004617      19 trace.go:205] Trace[1394334857]: "Get" url:/apis/storage.k8s.io/v1/csidrivers/csi-mock-e2e-csi-mock-volumes-46,user-agent:openshift-tests/v0.0.0 (linux/amd64) kubernetes/$Format -- [sig-storage] CSI mock volume storage capacity unlimited [Suite:openshift/conformance/parallel] [Suite:k8s],client:10.0.46.7 (10-Aug-2020 12:23:00.788) (total time: 7216ms):
> Trace[1394334857]: [7.216287437s] [7.216287437s] END
> I0810 12:23:35.066964      19 controlbuf.go:508] transport: loopyWriter.run returning. connection error: desc = "transport is closing"
> W0810 12:23:43.500846      19 dispatcher.go:142] rejected by webhook "deny-attaching-pod.k8s.io": &errors.StatusError{ErrStatus:v1.Status{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ListMeta:v1.ListMeta{SelfLink:"", ResourceVersion:"", Continue:"", RemainingItemCount:(*int64)(nil)}, Status:"Failure", Message:"admission webhook \"deny-attaching-pod.k8s.io\" denied the request: attaching to pod 'to-be-attached-pod' is not allowed", Reason:"", Details:(*v1.StatusDetails)(nil), Code:400}}

Comment 4 Qin Ping 2020-09-16 08:48:02 UTC
Checked last 7 days ci jobs, no test failed for the same reason.

Comment 6 errata-xmlrpc 2020-10-27 16:25:54 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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196