Bug 2006654 - http: superfluous response.WriteHeader call reported by cri-o while etcd was crashing
Summary: http: superfluous response.WriteHeader call reported by cri-o while etcd was ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 4.7
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
: 4.7.z
Assignee: Sascha Grunert
QA Contact: MinLi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-22 06:37 UTC by Simon Reber
Modified: 2022-03-02 11:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-02 11:57:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github cri-o cri-o pull 5405 0 None open Log HTTP response writer message instead an error 2021-10-14 11:03:44 UTC
Red Hat Product Errata RHBA-2022:0647 0 None None None 2022-03-02 11:57:41 UTC

Description Simon Reber 2021-09-22 06:37:51 UTC
Description of problem:

While investigating an outage of `etcd` in OpenShift Container Platform 4.7.28 the following messages were found.

> Sep 13 05:02:21 master02.example.com crio[1679]: 2021/09/13 05:01:57 http: superfluous response.WriteHeader call from github.com/cri-o/cri-o/server.(*Server).GetInfoMux.func3 (inspect.go:157)
> Sep 13 05:02:54 master02.example.com crio[1679]: 2021/09/13 05:02:53 http: superfluous response.WriteHeader call from github.com/cri-o/cri-o/server.(*Server).GetInfoMux.func3 (inspect.go:157)

It's not clear what happen and whether those are related to the `etcd` outage. But it would be nice to further investigate that messages as it seems `cri-o` was not working as expected and we need to understand the reason for this.

Version-Release number of selected component (if applicable):

 - OpenShift Container Platform 4.7.28
 - cri-o-1.20.4-14.rhaos4.7.gitbce257b.el8.x86_64

How reproducible:

 - N/A

Steps to Reproduce:
1. N/A

Actual results:

It's not clear whether the messages above indicate that `cri-o` was misbehaving or if that is related to the problem OpenShift Container Platform was having.

Expected results:

No such message being reported by `cri-o` or at least with better explaining of what was/is happening.

Additional info:

Comment 3 Sascha Grunert 2021-10-14 11:03:45 UTC
Confirmed, a fix is incoming in https://github.com/cri-o/cri-o/pull/5405. Since the issue does not seem critical I'd like to avoid a backport and just resolve it on the main branch.

Comment 4 Sascha Grunert 2021-10-15 07:26:54 UTC
PR got merged, the latest CRI-O master does contain the fix.

Comment 12 errata-xmlrpc 2022-03-02 11:57:37 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.7.44 bug fix 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/RHBA-2022:0647


Note You need to log in before you can comment on or make changes to this bug.