Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-12887

Diskmaker-manager pod logs show misleading messages of creation and deletion of PVs running in a loop

XMLWordPrintable

    • -
    • No
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress
    • 5/24: telco reviewed

      Description of problem:

      Diskmaker-manager pod logs show misleading messages of creation and deletion of PVs running in a loop:
      
      
      I0426 03:53:58.788863  786279 reconcile.go:42] "Looking for released PVs to cleanup" namespace="openshift-local-storage" name="local-provisioner"
      I0426 03:53:58.789259  786279 common.go:345] StorageClass "example-storage-class-1" configured with MountDir "/mnt/local-storage/example-storage-class-1", HostDir "/mnt/local-storage/example-storage-class-1", VolumeMode "Filesystem", FsType "xfs", BlockCleanerCommand ["/scripts/quick_reset.sh"], NamePattern "*"
      I0426 03:53:58.790054  786279 reconcile.go:70] Deleting PVs through sig storage deleter
      I0426 03:53:59.950101  786279 reconcile.go:42] "Looking for released PVs to cleanup" namespace="openshift-local-storage" name=""
      I0426 03:53:59.950463  786279 common.go:345] StorageClass "example-storage-class-1" configured with MountDir "/mnt/local-storage/example-storage-class-1", HostDir "/mnt/local-storage/example-storage-class-1", VolumeMode "Filesystem", FsType "xfs", BlockCleanerCommand ["/scripts/quick_reset.sh"], NamePattern "*"
      I0426 03:53:59.950490  786279 reconcile.go:70] Deleting PVs through sig storage deleter
      I0426 03:54:28.790291  786279 reconcile.go:42] "Looking for released PVs to cleanup" namespace="openshift-local-storage" name="local-provisioner"
      I0426 03:54:28.790977  786279 common.go:345] StorageClass "example-storage-class-1" configured with MountDir "/mnt/local-storage/example-storage-class-1", HostDir "/mnt/local-storage/example-storage-class-1", VolumeMode "Filesystem", FsType "xfs", BlockCleanerCommand ["/scripts/quick_reset.sh"], NamePattern "*"
      I0426 03:54:28.791087  786279 reconcile.go:70] Deleting PVs through sig storage deleter
      I0426 03:54:29.950714  786279 reconcile.go:42] "Looking for released PVs to cleanup" namespace="openshift-local-storage" name=""
      I0426 03:54:29.951201  786279 common.go:345] StorageClass "example-storage-class-1" configured with MountDir "/mnt/local-storage/example-storage-class-1", HostDir "/mnt/local-storage/example-storage-class-1", VolumeMode "Filesystem", FsType "xfs", BlockCleanerCommand ["/scripts/quick_reset.sh"], NamePattern "*"
      I0426 03:54:29.951228  786279 reconcile.go:70] Deleting PVs through sig storage deleter
      I0426 03:54:44.121965  786279 reconcile.go:260] "Reconciling LocalVolume" namespace="openshift-local-storage" name="local-disks"
      I0426 03:54:44.122302  786279 common.go:345] StorageClass "example-storage-class-1" configured with MountDir "/mnt/local-storage/example-storage-class-1", HostDir "/mnt/local-storage/example-storage-class-1", VolumeMode "Filesystem", FsType "xfs", BlockCleanerCommand ["/scripts/quick_reset.sh"], NamePattern "*"
      I0426 03:54:44.782927  786279 reconcile.go:495] "ignoring root device" devName="sda"
      I0426 03:54:44.783489  786279 reconcile.go:490] "ignoring mount device" devName="sda3"
      I0426 03:54:44.783677  786279 reconcile.go:490] "ignoring mount device" devName="sda4"
      I0426 03:54:44.784173  786279 reconcile.go:495] "ignoring root device" devName="sdc"
      I0426 03:54:44.916141  786279 provisioner_utils.go:188] "creating PV" pvName="local-pv-197e212d"
      I0426 03:54:44.919093  786279 provisioner_utils.go:188] "creating PV" pvName="local-pv-ecc852a8"
      I0426 03:54:44.921522  786279 provisioner_utils.go:188] "creating PV" pvName="local-pv-99ef505f"
      I0426 03:54:44.924018  786279 provisioner_utils.go:188] "creating PV" pvName="local-pv-e22ef192"
      I0426 03:54:44.926701  786279 provisioner_utils.go:188] "creating PV" pvName="local-pv-186c7749"
      I0426 03:54:44.929159  786279 provisioner_utils.go:188] "creating PV" pvName="local-pv-7c26dc24"
      I0426 03:54:44.931795  786279 provisioner_utils.go:188] "creating PV" pvName="local-pv-9ad611eb"
      
      The PVs are still seen to be available:
      
      NAME                CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS      CLAIM   STORAGECLASS              REASON   AGE                                                                                                                     
      local-pv-1169613e   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-14c9f5c0   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-176de719   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-17efc7d0   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-183eac19   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-186c7749   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-197e212d   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-1ea10f63   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-225446c5   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-2302ed3a   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-23f5d0c5   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-265a791    1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-2a5d69d3   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-2bfef3d3   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-2d230671   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-2f03fff6   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-30a589f6   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-336ceabd   1Gi        RWO            Delete           Available           example-storage-class-1            12h                                                                                                                    
      local-pv-343dafbd   1Gi        RWO            Delete           Available           example-storage-class-1            12h                    

      Version-Release number of selected component (if applicable):

      OCP 4.12.14
      Kernel: 4.18.0-372.51.1.rt7.208.el8_6.x86_64
      CRI-O version: cri-o://1.25.3-2.rhaos4.12.git592efcd.el8

      How reproducible:

      Install local storage operator and create local volumes

      Steps to Reproduce:

      1.
      2.
      3.
      

      Actual results:

      These messages are misleading and filling up space while the actual PVs are not affected

      Expected results:

       

      Additional info:

       

            rbednar@redhat.com Roman Bednar
            nchhabra@redhat.com Noreen Chhabra
            Chao Yang Chao Yang
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: