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

Bug 2012111

Summary: LSO still try to find localvolumeset which is already deleted
Product: OpenShift Container Platform Reporter: Chao Yang <chaoyang>
Component: StorageAssignee: Jan Safranek <jsafrane>
Storage sub component: Local Storage Operator QA Contact: Chao Yang <chaoyang>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs, jsafrane
Version: 4.10   
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:38:04 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 Chao Yang 2021-10-08 09:55:57 UTC
Description of problem:
LSO still try to find localvolumeset which is already deleted

Version-Release number of selected component (if applicable):
local-storage-operator.4.10.0-202110052245
4.10.0-0.nightly-2021-10-07-212540

How reproducible:
Always

Steps to Reproduce:
1.Deploy Local Storage Operator
2.Create CR Localvolumeset
3.Delete Localvolumeset after a while
2021-10-08T06:24:44.697Z	INFO	controllers.LocalVolumeSet	localvolumeset/localvolumeset_controller.go:94	deletionTimeStamp found, waiting for 0 bound PVs	{"Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest"}
2021-10-08T06:24:44.698Z	INFO	controllers.LocalVolumeSet	localvolumeset/localvolumeset_controller.go:94	no bound/released PVs found, removing finalizer	{"Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest", "Request.Namespace": "openshift-local-storage", "Request.Name": "lvstest"}

4.After two hours, lso still report error in the log.
"LocalVolumeSet.local.storage.openshift.io \"lvstest\" not found"

oc logs local-storage-operator-8464989787-kd79m
2021-10-08T08:26:35.357Z	ERROR	controller-runtime.manager.controller.localvolumeset	controller/controller.go:253	Reconciler error	{"reconciler group": "local.storage.openshift.io", "reconciler kind": "LocalVolumeSet", "name": "lvstest", "namespace": "openshift-local-storage", "error": "LocalVolumeSet.local.storage.openshift.io \"lvstest\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:253
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
	/go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:214

Actual results:
LSO still try to find localvolumeset which is already deleted

Expected results:
Should stop to find or report this error in the LSO log
LocalVolumeSet.local.storage.openshift.io \"lvstest\" not found

Master Log:

Node Log (of failed PODs):

PV Dump:

PVC Dump:

StorageClass Dump (if StorageClass used by PV/PVC):

Additional info:

Comment 1 Jan Safranek 2022-01-14 11:20:30 UTC
Rohan is no longer working on LSO.

Comment 3 Chao Yang 2022-02-21 10:27:19 UTC
Passed with local-storage-operator.4.11.0-202202172124

Comment 5 errata-xmlrpc 2022-08-10 10:38:04 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 (Important: OpenShift Container Platform 4.11.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-2022:5069