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

Availability requirement update is initially disabled on Edit PodDisruptionBudget page

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done-Errata
    • Normal
    • 4.14.0
    • 4.14
    • Management Console
    • None
    • No
    • False
    • Hide

      None

      Show
      None

    Description

      Description of problem:

      Availability requirement updates is disabled on Edit PDB page, also when user tries to edit, it clears the current value so that user has no idea what's the current settings

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

      4.14.0-0.nightly-2023-04-03-211601

      How reproducible:

      Always

      Steps to Reproduce:

      1. Goes to deployment page -> Actions -> Add PodDisruptionBudget
      2. on 'Create PodDisruptionBudge' page, set following fields and hit 'Create'
      Name: example-pdb
      Availability requirement:  maxUnavailable: 2
      3. Make sure pdb/example-pdb is successfully created
      $ oc get pdb
      NAME          MIN AVAILABLE   MAX UNAVAILABLE   ALLOWED DISRUPTIONS   AGE
      example-pdb   N/A             2                 2                     99s
      4. Goes to deployment page again,  Actions -> Edit PodDisruptionBudget

      Actual results:

      'Availability requirement' value is disabled from editing by default, when user click 'maxUnavailable', the value is set to empty(user has no idea what's the original value)

      Expected results:

      when editing PDB, we should load the form with current value and user should have permission to update the values by default

      Additional info:

       

      Attachments

        Activity

          People

            rh-ee-gvudinh Giao Vu Dinh (Inactive)
            rhn-support-yapei YaDan Pei
            YaDan Pei YaDan Pei
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: