Uploaded image for project: 'Data Foundation Bugs'
  1. Data Foundation Bugs
  2. DFBUGS-693

[2296533] [4.14.z clone] storagecluster CR is not updated with latest apis after storagesystem is marked as its owner

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Critical Critical
    • None
    • odf-4.14
    • odf-operator
    • False
    • Hide

      None

      Show
      None
    • False
    • 4.14.12
    • Committed
    • Targeted
    • 4.14.12-1
    • Committed
    • None

      +++ This bug was initially created as a clone of Bug #2296521 +++

      Description of problem (please be detailed as possible and provide log
      snippests):
      When we create storagecluster the odf-operator creates storagesystem that is added as the ownerref for storagecluster and when that update is done it uses the spec of storagecluster present in odf-operator codebase (vendor directory) to update it, and that's the reason the latest apis under ocs-operator is removed.

      Version of all relevant components (if applicable):
      4.16

      Does this issue impact your ability to continue to work with the product
      (please explain in detail what is the user impact)?
      N.A

      Is there any workaround available to the best of your knowledge?
      Update the storagecluster CR, after the ownerref is added to it.

      Rate from 1 - 5 the complexity of the scenario you performed that caused this
      bug (1 - very simple, 5 - very complex)?
      1

      Can this issue reproducible?
      Yes

      Can this issue reproduce from the UI?
      No

      If this is a regression, please provide more details to justify this:
      New ODF Deployments with custom values for upgrade reliability params will be overridden.

      Steps to Reproduce:
      1. Deploy ODF Cluster
      2. Create a storagecluster from the CLI and provide custom values for cephConfig.
      3. The custom values will be removed as soon as the ownerref of the storagecluster is updated.

      Actual results:
      The CR is overridden with default values and older storagecluster API.

      Expected results:
      The CR shouldn't be overridden with default values and use the latest storagecluster API.

      Additional info:
      Reference bug: https://bugzilla.redhat.com/show_bug.cgi?id=2276694#c27

              nladha Nikhil Ladha
              nladha Nikhil Ladha
              Elad Ben Aharon Elad Ben Aharon
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: