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

Unable to expand pvc created by local storage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • None
    • 4.11.0
    • Storage
    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Customer expanded pvc created by local storage. Everything expanded correctly  but in the PVC objects it still showing old values( from command line & from GUI). pvc describe showing below warning messages

      ~~~
      Warning ExternalExpanding 170m volume_expand Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
      Warning ExternalExpanding 167m volume_expand Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
      Warning ExternalExpanding 165m volume_expand Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.

      ~~~

      Additional info:

      ------------------------
      Storageclass yaml:
      ------------------------
      
      allowVolumeExpansion: true
      apiVersion: storage.k8s.io/v1
      kind: StorageClass
      metadata:
        creationTimestamp: "2022-03-21T00:23:38Z"
        labels:
          local.storage.openshift.io/owner-name: elasticsearch-storage
          local.storage.openshift.io/owner-namespace: openshift-local-storage
        name: do-not-use-internal-class-0
        resourceVersion: "1213951654"
        uid: 3c47a01a-17b4-4340-9059-0323fbb69d23
      provisioner: kubernetes.io/no-provisioner
      reclaimPolicy: Delete
      volumeBindingMode: WaitForFirstConsumer
      
      -------------------------
      PVC describe output:
      -------------------------
      
      Name:          elasticsearch-elasticsearch-cdm-gb83x8wt-1
      Namespace:     openshift-logging
      StorageClass:  do-not-use-internal-class-0
      Status:        Bound
      Volume:        local-pv-f227fb91
      Labels:        logging-cluster=elasticsearch
      Annotations:   pv.kubernetes.io/bind-completed: yes
                     pv.kubernetes.io/bound-by-controller: yes
      Finalizers:    [kubernetes.io/pvc-protection]
      Capacity:      199Gi
      Access Modes:  RWO
      VolumeMode:    Filesystem
      Used By:       elasticsearch-cdm-gb83x8wt-1-ff5fd4687-k6xnr
      Events:
        Type     Reason             Age   From           Message
        ----     ------             ----  ----           -------
        Warning  ExternalExpanding  170m  volume_expand  Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
        Warning  ExternalExpanding  167m  volume_expand  Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
        Warning  ExternalExpanding  165m  volume_expand  Ignoring the PVC: didn't find a plugin capable of expanding the volume; waiting for an external controller to process this PVC.
       

      OCP version --> 4.11

      Documentation --> https://docs.openshift.com/container-platform/4.11/storage/expanding-persistent-volumes.html#add-volume-expansion_expanding-persistent-volumes

       

              Unassigned Unassigned
              rhn-support-shunaik Shubham Naik
              Wei Duan Wei Duan
              Shubham Naik
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: