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

[Operator] Nil pointer error on upgrade from dropped Operand version

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • RHDG Operator CSV 8.5.0 GA, RHDG Operator CSV 8.4.15 GA
    • Operator
    • None

      If an operand version specified in an Infinispan CR is removed from the INFINISPAN_OPERAND_VERSIONS json in a subsequent Operator release, then this will result in the Infinispan CR being ignored by the Operator and the following being logged:

      "unable to continue reconcilliation. Operand spec.version='%s' is not supported by this Operator version"

      If the user then tries to update spec.version to use a supported version, this code will throw a nil pointer dereference error as the version specified in the .status.operand.version is now unknown.

      We should update the code so that the upgrade is able to proceed if an unknown version is specified in the .status.operand.version field

              remerson@redhat.com Ryan Emerson
              remerson@redhat.com Ryan Emerson
              Pavel Drobek Pavel Drobek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: