Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-5677

operator backup with preexisting pv does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.11.0 GA
    • None
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • No

    Description

      Feature from THREESCALE-5312

      does not work if pre-existing persistentvolume is used. Operator tries to create pvc from that pv, but size definition resources.requests.storage is missing and attempt to create pvc fails. reproducible also manually:

       

      $ echo 'apiVersion: v1
      kind: PersistentVolumeClaim
      metadata:
      {{ name: test-qe-examplepvc}}
      spec:
      {{ accessModes:}}
      {{ - ReadWriteOnce}}
      {{ volumeName: "mypreexistingvolume"' | oc create -f -}}
      The PersistentVolumeClaim "test-qe-examplepvc" is invalid: spec.resources[storage]: Required value

      Attachments

        Activity

          People

            Unassigned Unassigned
            mganisin@redhat.com Marian Ganisin (Inactive)
            Marian Ganisin Marian Ganisin (Inactive)
            Miguel Soriano Miguel Soriano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: