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

Cannot edit HPA via cluster dashboard.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 4.13, 4.12, 4.14, 4.15
    • Dev Console
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • None
    • No
    • None
    • None
    • Rejected
    • PODAUTO - Sprint 260
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • 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

              rh-ee-lprabhu Lokananda Prabhu
              rhn-support-anisal Apurva Nisal
              None
              None
              None
              None
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: