Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-37721

Example YAML for Configuring the Fence Agents Remediation Operator is incorrect

XMLWordPrintable

    • None
    • 2
    • T&PS 2024 #9, T&PS 2024 #10
    • 2
    • False
    • Hide

      None

      Show
      None
    • Hide
      2024-09-25: Republished & Verified
      2024-09-18: Awaiting republishing of 24.3, 24.2 and 24.1 to verify the changes
      2024-09-17: Manually cherry-picked to 24.1
      2024-09-13: Approved. Cherrypicked to main, 24.3 & 24.2
      2024-09-11: Update applied / MR created / Out for review
      2024-09-04: WIP
      Show
      2024-09-25: Republished & Verified 2024-09-18: Awaiting republishing of 24.3, 24.2 and 24.1 to verify the changes 2024-09-17: Manually cherry-picked to 24.1 2024-09-13: Approved. Cherrypicked to main, 24.3 & 24.2 2024-09-11: Update applied / MR created / Out for review 2024-09-04: WIP

      Description of problem:

      The sample YAML for deploying a "FenceAgentsRemediationTemplate" is incorrect. Specifically the  "timeout" is missing the units value and will not apply correctly. The value in the example should be updated to "60s" so as to contain the seconds unit identifier.
      See the YAML here: https://docs.redhat.com/en/documentation/workload_availability_for_red_hat_openshift/24.3/html/remediation_fencing_and_maintenance/fence-agents-remediation-operator-remediate-nodes#configuring-fence-agents-remediation-operator_fence-agents-remediation-operator-remediate-nodes (section 3.4).

      Version-Release number of selected component (if applicable):

      Documentation version 24.3

      How reproducible:

       Every time

      Steps to Reproduce:

          1. Follow documentation to create a FAR
          2. Error will appear stating that the units value is missing and the FAR will not apply
      
      The exact error is:
      $ oc create -f fence-agent-remediation-template-ilo5.yaml 
      Error from server: error when creating "fence-agent-remediation-template-ilo5 copy.yaml": admission webhook "mfenceagentsremediationtemplate.kb.io" denied the request: time: missing unit in duration "60"      

      Actual results:

          

      Expected results:

      Documentation should reflect a working configuration, that can be applied without errors.

      Additional info:

          

              rhn-support-pogrady Padraig OGrady
              mdeneve@redhat.com Mark DeNeve
              Francisco Javier Moreno Moreno Francisco Javier Moreno Moreno
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: