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

Cannot edit HPA via cluster dashboard.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.12
    • Pod Autoscaler
    • None
    • No
    • 3
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      Cannot edit HPA via cluster dashboard, getting below error:
      "HorizontalPodAutoscaler in version "v2beta2" cannot be handled as HorizontalPodAutoscaler: json: cannot delete string into struct field Go HorizontalPodAutoscalerSpec.spec.maxReplica is of type int32"

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

      4.12.39

      How reproducible:

       at CU's end 

      Steps to Reproduce:

          1.Create a project 
          2.Create application DC with adding request CPU and limit CPU
          3.Add HPA using [A]
          3.Error is observed wile editing the added HPA vis openshift webconsole 
          [A] https://docs.openshift.com/container-platform/4.14/nodes/pods/nodes-pods-autoscaling.html#nodes-pods-autoscaling-creating-web-console_nodes-pods-autoscaling

      Actual results:

      "HorizontalPodAutoscaler in version "v2beta2" cannot be handled as HorizontalPodAutoscaler: json: cannot delete string into struct field Go HorizontalPodAutoscalerSpec.spec.maxReplica is of type int32"

      Expected results:

          Configutaion should get added without any issue as request anf limit CPU both are added

            joelsmith.redhat Joel Smith
            rhn-support-anisal Apurva Nisal
            Sunil Choudhary Sunil Choudhary
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: