Bug 1952549

Summary: [assisted operator] Seeing error="record not found" after spoke cluster installation
Product: OpenShift Container Platform Reporter: Trey West <trwest>
Component: assisted-installerAssignee: Michael Filanov <mfilanov>
assisted-installer sub component: assisted-service QA Contact: Yuri Obshansky <yobshans>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: medium CC: aos-bugs, ohochman
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AI-Team-Hive
Fixed In Version: OCP-Metal-v1.0.19.1 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-31 16:17:10 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 Trey West 2021-04-22 14:24:09 UTC
Description of problem:

assisted-service is outputting error logs after installing spoke SNO cluster



How reproducible:
100%


Steps to Reproduce:
1. Complete SNO spoke installation with assisted-service operator


Actual results:
Errors complaining that "record not found"


Expected results:
No errors reported from assisted-service


Additional info:

time="2021-04-22T11:29:38Z" level=info msg="complete cluster c856f90c-f9ac-4bae-bb11-1fde41804d88 installation" func="github.com/openshift/assisted-service/internal/bminventory.(*bareMetalInventory).CompleteInstallation" file="/go/src/github.com/openshift/origin/internal/bminventory/inventory.go:3816" cluster_id=c856f90c-f9ac-4bae-bb11-1fde41804d88 go-id=378856 pkg=Inventory request_id=44bd1cbb-e3d5-4273-9bed-cffe14c8d763
time="2021-04-22T11:29:38Z" level=info msg="complete cluster c856f90c-f9ac-4bae-bb11-1fde41804d88 installation" func="github.com/openshift/assisted-service/internal/bminventory.(*bareMetalInventory).CompleteInstallation" file="/go/src/github.com/openshift/origin/internal/bminventory/inventory.go:3816" cluster_id=c856f90c-f9ac-4bae-bb11-1fde41804d88 go-id=378856 pkg=Inventory request_id=44bd1cbb-e3d5-4273-9bed-cffe14c8d763
time="2021-04-22T11:29:39Z" level=error msg="Updating state with error for sno-cluster-deployment assisted-installer" func="github.com/openshift/assisted-service/internal/controller/controllers.(*ClusterDeploymentsReconciler).updateState" file="/go/src/github.com/openshift/origin/internal/controller/controllers/clusterdeployments_controller.go:533" error="record not found"
time="2021-04-22T11:29:39Z" level=error msg="Updating state with error for sno-cluster-deployment assisted-installer" func="github.com/openshift/assisted-service/internal/controller/controllers.(*ClusterDeploymentsReconciler).updateState" file="/go/src/github.com/openshift/origin/internal/controller/controllers/clusterdeployments_controller.go:533" error="record not found"
time="2021-04-22T11:29:45Z" level=info msg="complete cluster c856f90c-f9ac-4bae-bb11-1fde41804d88 installation" func="github.com/openshift/assisted-service/internal/bminventory.(*bareMetalInventory).CompleteInstallation" file="/go/src/github.com/openshift/origin/internal/bminventory/inventory.go:3816" cluster_id=c856f90c-f9ac-4bae-bb11-1fde41804d88 go-id=378856 pkg=Inventory request_id=44bd1cbb-e3d5-4273-9bed-cffe14c8d763

Comment 1 Trey West 2021-04-22 14:24:58 UTC
@mfilanov has more info on this and knows of a fix

Comment 2 Michael Filanov 2021-04-22 14:47:55 UTC
https://github.com/openshift/assisted-service/pull/1551

Comment 4 ximhan 2021-08-20 07:21:39 UTC
OpenShift engineering has decided to NOT ship 4.8.6 on 8/23 due to the following issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1995785
All the fixes part will be now included in 4.8.7 on 8/30.

Comment 8 errata-xmlrpc 2021-08-31 16:17:10 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.8.9 bug fix), 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-2021:3247