Bug 2012111 - LSO still try to find localvolumeset which is already deleted
Summary: LSO still try to find localvolumeset which is already deleted
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.11.0
Assignee: Jan Safranek
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-08 09:55 UTC by Chao Yang
Modified: 2022-08-10 10:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 10:38:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 318 0 None open Bug 2012111: Stop enqueing LocalVolumeSet after NotFound error 2022-02-08 09:53:37 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:38:21 UTC

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


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