Bug 2006698

Summary: [4.8] SNO: LSO diskmaker pod using excessive cpu
Product: OpenShift Container Platform Reporter: Rohan CJ <rojoseph>
Component: StorageAssignee: Roman Bednář <rbednar>
Storage sub component: Local Storage Operator QA Contact: Chao Yang <chaoyang>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: high CC: aos-bugs, browsell, chaoyang, hekumar, jsafrane, keyoung, rojoseph, wduan
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.z   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Frequency at which Local Storage Operator inspects newly added block devices has been lowered to 60 seconds to lower its CPU consumption.
Story Points: ---
Clone Of: 1994035 Environment:
Last Closed: 2022-02-01 12:44:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1994035    
Bug Blocks:    

Comment 1 Rohan CJ 2021-09-22 08:46:22 UTC
Needed for Single Nose Openshift in 4.8

Comment 2 Jan Safranek 2022-01-14 11:19:22 UTC
Rohan is no longer working on LSO and it looks like an important bug that's easy to fix.

Comment 5 Chao Yang 2022-01-27 02:04:28 UTC
E0127 02:01:46.933439  100711 reconcile.go:463] unable to add disk-id /dev/vg00/vol03 to local disk pool: unable to find device at path /dev/vg00/vol03: lstat /dev/vg00/vol03: no such file or directory
{"level":"info","ts":1643248906.937831,"logger":"localvolume-symlink-controller","msg":"creating","request.namespace":"openshift-local-storage","Request.Name":"example7","Device.Name":"/dev/dm-0","pv.Name":"local-pv-179e10"}
{"level":"info","ts":1643248936.5632355,"logger":"deleter","msg":"Looking for released PVs to clean up","Request.Namespace":"openshift-local-storage","Request.Name":""}
I0127 02:02:16.563494  100711 common.go:334] StorageClass "lv-sc" configured with MountDir "/mnt/local-storage/lv-sc", HostDir "/mnt/local-storage/lv-sc", VolumeMode "Filesystem", FsType "ext4", BlockCleanerCommand ["/scripts/quick_reset.sh"]
I0127 02:02:16.563523  100711 common.go:334] StorageClass "lv-sc7" configured with MountDir "/mnt/local-storage/lv-sc7", HostDir "/mnt/local-storage/lv-sc7", VolumeMode "Filesystem", FsType "", BlockCleanerCommand ["/scripts/quick_reset.sh"]
{"level":"info","ts":1643248966.5601373,"logger":"localvolume-symlink-controller","msg":"Reconciling LocalVolume","request.namespace":"openshift-local-storage","Request.Name":"example7"}
I0127 02:02:46.560955  100711 common.go:334] StorageClass "lv-sc" configured with MountDir "/mnt/local-storage/lv-sc", HostDir "/mnt/local-storage/lv-sc", VolumeMode "Filesystem", FsType "ext4", BlockCleanerCommand ["/scripts/quick_reset.sh"]
I0127 02:02:46.561316  100711 common.go:334] StorageClass "lv-sc7" configured with MountDir "/mnt/local-storage/lv-sc7", HostDir "/mnt/local-storage/lv-sc7", VolumeMode "Filesystem", FsType "", BlockCleanerCommand ["/scripts/quick_reset.sh"]
{"level":"info","ts":1643248966.5637686,"logger":"deleter","msg":"Looking for released PVs to clean up","Request.Namespace":"openshift-local-storage","Request.Name":""}
I0127 02:02:46.564813  100711 common.go:334] StorageClass "lv-sc7" configured with MountDir "/mnt/local-storage/lv-sc7", HostDir "/mnt/local-storage/lv-sc7", VolumeMode "Filesystem", FsType "", BlockCleanerCommand ["/scripts/quick_reset.sh"]
I0127 02:02:46.564918  100711 common.go:334] StorageClass "lv-sc" configured with MountDir "/mnt/local-storage/lv-sc", HostDir "/mnt/local-storage/lv-sc", VolumeMode "Filesystem", FsType "ext4", BlockCleanerCommand ["/scripts/quick_reset.sh"]
I0127 02:02:46.674545  100711 reconcile.go:393] ignoring root device "nvme0n1"
I0127 02:02:46.688531  100711 reconcile.go:388] ignoring mount device "nvme0n1p3"
I0127 02:02:46.692464  100711 reconcile.go:388] ignoring mount device "nvme0n1p4"
I0127 02:02:46.698749  100711 reconcile.go:393] ignoring root device "nvme1n1"
E0127 02:02:46.740732  100711 reconcile.go:463] unable to add disk-id /dev/vg00/vol03 to local disk pool: unable to find device at path /dev/vg00/vol03: lstat /dev/vg00/vol03: no such file or directory
{"level":"info","ts":1643248966.7428267,"logger":"localvolume-symlink-controller","msg":"creating","request.namespace":"openshift-local-storage","Request.Name":"example7","Device.Name":"/dev/dm-0","pv.Name":"local-pv-179e10"}

Passed with local-storage-operator.4.8.0-202201210925

Comment 7 errata-xmlrpc 2022-02-01 12:44:33 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.29 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:0278