Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-4116

[Operator] Upgrade process from 8.0.0 to 8.1.0 fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: RHDG 8.1 GA
    • Fix Version/s: None
    • Component/s: Operator
    • Labels:
      None
    • Target Release:
    • Workaround Description:
      • Update your CR to pass the validation
      • Delete both 8.0.3 and 8.1.0 subscriptions without deleting your CRs
      • Install 8.1.0 again

      Description

      If user creates simple Infinispan CR (eg. default one) with 8.0.0 and goes through update process up to 8.1.0 then the upgrade from 8.0.3 to 8.1.0 fails because CR created with 8.0.0 doesn't pass 8.1.0 validation. See the error message:

      error validating existing CRs agains new CRD's schema: infinispans.infinispan.org: error validating custom resource against new schema &apiextensions.CustomResourceValidation{OpenAPIV3Schema:(*apiextensions.JSONSchemaProps)(0xc001bede00)}: [[].spec.expose.type: Unsupported value: "": supported values: "NodePort", "LoadBalancer", "Route", [].spec.logging.categories: Invalid value: "null": spec.logging.categories in body must be of type object: "null", [].spec.service.sites.local.expose.type: Required value, [].spec.service.sites.locations: Invalid value: "null": spec.service.sites.locations in body must be of type array: "null"]
      

      This issue is tightly related to JDG-3557

        Attachments

          Activity

            People

            Assignee:
            rigazilla Vittorio Rigamonti
            Reporter:
            pdrobek Pavel Drobek
            Tester:
            Pavel Drobek Pavel Drobek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: