Bug 2001765 - Some error message in the log of diskmaker-manager caused confusion
Summary: Some error message in the log of diskmaker-manager caused confusion
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.10.0
Assignee: Jan Safranek
QA Contact: Chao Yang
URL:
Whiteboard:
Depends On:
Blocks: 2023614
TreeView+ depends on / blocked
 
Reported: 2021-09-07 07:03 UTC by Chao Yang
Modified: 2022-03-10 16:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 16:07:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift local-storage-operator pull 278 0 None open Bug 2001765: deleter: Don't call reconciler with PVs 2021-09-13 08:53:11 UTC
Red Hat Product Errata RHSA-2022:0056 0 None None None 2022-03-10 16:08:19 UTC

Description Chao Yang 2021-09-07 07:03:27 UTC
Description of problem:
Some error message in the log caused confusion

Version-Release number of selected component (if applicable):
local-storage-operator.4.9.0-202109031123
4.9.0-0.nightly-2021-09-05-204238

How reproducible:
Always

Steps to Reproduce:
1.Deploy LSO
2.Create localvolume cr instance.
oc get localvolume lv1 -o yaml
apiVersion: local.storage.openshift.io/v1
kind: LocalVolume
metadata:
  creationTimestamp: "2021-09-06T08:43:39Z"
  finalizers:
  - storage.openshift.com/local-volume-protection
  generation: 2
  name: lv1
  namespace: openshift-local-storage
  resourceVersion: "166290"
  uid: 958e39ad-8d67-4c0f-9ca3-0302ae9a2367
spec:
  logLevel: TraceAll
  managementState: Managed
  storageClassDevices:
  - devicePaths:
    - /dev/disk/by-id/nvme-Amazon_Elastic_Block_Store_vol06441cbef41a05c35
    storageClassName: lv1
    volumeMode: Filesystem
status:
  conditions:
  - lastTransitionTime: "2021-09-06T08:43:39Z"
    message: Ready
    status: "True"
    type: Available
  generations:
  - group: apps
    lastGeneration: 2
    name: diskmaker-manager
    namespace: openshift-local-storage
    resource: DaemonSet
  managementState: Managed
  observedGeneration: 2
  readyReplicas: 0
3.oc get pv
NAME                CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS      CLAIM   STORAGECLASS   REASON   AGE
local-pv-26ba56f    3Gi        RWO            Delete           Available           lv1                     17h

4
oc logs diskmaker-manager-7w7w9 -c diskmaker-manager
.2021-09-07T02:02:10.912Z	ERROR	deleter	could not get provisioner configmap	{"Request.Namespace": "", "Request.Name": "local-pv-26ba56f", "error": "ConfigMap \"local-provisioner\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:298
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

2021-09-07T03:08:50.915Z	ERROR	deleter	could not get provisioner configmap	{"Request.Namespace": "", "Request.Name": "local-pv-26ba56f", "error": "ConfigMap \"local-provisioner\" not found"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/src/github.com/openshift/local-storage-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:298
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

5
oc get configmap local-provisioner -o yaml
apiVersion: v1
data:
  nodeLabelsForPV: |
    - kubernetes.io/hostname
  storageClassMap: |
    lv1:
      blockCleanerCommand: null
      fsType: ""
      hostDir: /mnt/local-storage/lv1
      mountDir: /mnt/local-storage/lv1
      namePattern: ""
      volumeMode: Filesystem
    lv2:
      blockCleanerCommand: null
      fsType: ""
      hostDir: /mnt/local-storage/lv2
      mountDir: /mnt/local-storage/lv2
      namePattern: ""
      volumeMode: Filesystem
    lvtest:
      blockCleanerCommand: null
      fsType: ""
      hostDir: /mnt/local-storage/lvtest
      mountDir: /mnt/local-storage/lvtest
      namePattern: ""
      volumeMode: Filesystem
  useAlphaAPI: |
    false
kind: ConfigMap
metadata:
  creationTimestamp: "2021-09-06T05:36:44Z"
  labels:
    app: local-provisioner
  name: local-provisioner
  namespace: openshift-local-storage
  ownerReferences:
  - apiVersion: local.storage.openshift.io/v1
    blockOwnerDeletion: false
    controller: false
    kind: LocalVolume
    name: example
    uid: dea0ef70-b235-4b40-a205-76b59225f922
  - apiVersion: local.storage.openshift.io/v1
    blockOwnerDeletion: false
    controller: false
    kind: LocalVolume
    name: lv1
    uid: 958e39ad-8d67-4c0f-9ca3-0302ae9a2367
  - apiVersion: local.storage.openshift.io/v1
    blockOwnerDeletion: false
    controller: false
    kind: LocalVolume
    name: lv2
    uid: 35324815-d385-43cf-82f5-48a426b93614
  resourceVersion: "444964"
  uid: 629cc8db-a057-4624-ae81-a72fdfb4748c

Actual results:
It does not impact deleting localvolume pv.
Expected results:
We'd better to process this error message.

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 2021-09-10 14:43:59 UTC
The message is very annoying, I have literally gigabytes of it right now and the logs are useless. Bumping severity.

Comment 3 Chao Yang 2021-10-08 06:42:47 UTC
 oc logs diskmaker-manager-s7sg5 -c diskmaker-manager | grep -i configmap
2021-10-08T06:38:25.292Z	INFO	controller-runtime.manager.controller.configmap	controller/controller.go:221Starting EventSource	{"reconciler group": "", "reconciler kind": "ConfigMap", "source": "kind source: /, Kind="}
2021-10-08T06:38:25.292Z	INFO	controller-runtime.manager.controller.configmap	controller/controller.go:221Starting EventSource	{"reconciler group": "", "reconciler kind": "ConfigMap", "source": "kind source: /, Kind="}
2021-10-08T06:38:25.292Z	INFO	controller-runtime.manager.controller.configmap	controller/controller.go:221Starting Controller	{"reconciler group": "", "reconciler kind": "ConfigMap"}
2021-10-08T06:38:25.493Z	INFO	controller-runtime.manager.controller.configmap	controller/controller.go:221Starting workers	{"reconciler group": "", "reconciler kind": "ConfigMap", "worker count": 1}

Passed with local-storage-operator.4.10.0-202110052245

Comment 6 errata-xmlrpc 2022-03-10 16:07:48 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 (Moderate: OpenShift Container Platform 4.10.3 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:0056


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