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

Include VR condition message in VRG status

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • odf-4.17.9
    • odf-4.17
    • odf-dr/ramen
    • None
    • False
    • Hide

      None

      Show
      None
    • True
    • Committed
    • ?
    • ?
    • 4.17.9-2
    • Committed
    • RamenDR sprint 2024 #20, RamenDR sprint 2024 #21
    • Moderate
    • None

      In 4.18, VR conditions include a detailed error message explaining why a condition is not met. We want to include this error message in the VRG protected pvcs conditions to make debugging easier.

      The csi-addons adding the condition message should be backported 4.17.

      When using csi-addons that report empty condition message (""), ramen will use the generic message. When using csi-addons with this fix, ramen will use the message from the vr conditions.

      Upstream fix: https://github.com/red-hat-storage/ramen/pull/394

      How to test

      1. Cause the VR to go in failure state
        1. Example: use a clone pvc with dr-policy not enabling flattening
      2. Wait until the VR report a condition with non empty error message
      3. Check the VRG protectedPVCs conditions: The error from the VR should be included

      Note: If the VR does not report a message in the condition, ramen reports a generic error message.

              nsoffer@redhat.com Nir Soffer
              nsoffer@redhat.com Nir Soffer
              Nir Soffer
              Sidhant Agrawal Sidhant Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              21 Start watching this issue

                Created:
                Updated: