Bug 1985449
| Summary: | [Assisted-4.8 ][SaaS] error raised "unable to unmarshal connectivity report for host ID xxxx:unexpected end of JSON input" in Assisted Service Pod log | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yuri Obshansky <yobshans> | ||||
| Component: | assisted-installer | Assignee: | Jordi Gil <jgil> | ||||
| assisted-installer sub component: | assisted-service | QA Contact: | Yuri Obshansky <yobshans> | ||||
| Status: | CLOSED ERRATA | Docs Contact: | |||||
| Severity: | medium | ||||||
| Priority: | unspecified | CC: | aos-bugs, jgil, mfilanov, pkliczew | ||||
| Version: | 4.8 | Keywords: | Triaged | ||||
| Target Milestone: | --- | Flags: | jgil:
needinfo-
|
||||
| Target Release: | 4.9.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | OCP-Metal-v1.0.24.1 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-10-18 17:40:56 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: | |||||||
| Attachments: |
|
||||||
|
Description
Yuri Obshansky
2021-07-23 15:07:44 UTC
@jgil looking at the code i found something strange, in captureConnectivityReportMetrics https://github.com/openshift/assisted-service/blob/master/internal/host/host.go#L1154-L1174 I see that `report` (the latest replay from the host) is not used is that intentinal or just a bug? I'm not sure how it's related to the issue, maybe because the existing string in the DB is empty so we don't manage to unmarshal it? @mfilanov good point. It should be the report parameter being used, not the one coming from the host (which is the old one). I'll raise a PR to fix it. Thanks for the analysis! /Jordi Verified on Staging v1.0.24.1 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.9.0 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:3759 |