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

Application creation fail when manually entering input scaling value in local setup

XMLWordPrintable

    • No
    • 1
    • ODC Sprint 3265, ODC Sprint 3266
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required

      This is a clone of issue OCPBUGS-31388. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-31046. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-26415. The following is the description of the original issue:

      Description of problem:

      In local setup this error appears when creating a deployment with scaling in the git form page locally: 
      `Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal string into Go struct field DeploymentSpec.spec.replicas of type int32`
          

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

      4.16.0-0.nightly-2024-01-05-154400
          

      How reproducible:

      Everytime
          

      Steps to Reproduce:

          1. In the local setup go to the git form page
          2. Enter a git repo and select deployment as the resource type
          3. In scaling enter the value as '5' and click on Create button
          

      Actual results:

      Got this error:
      "Deployment in version "v1" cannot be handled as a Deployment: json: cannot unmarshal string into Go struct field DeploymentSpec.spec.replicas of type int32"
          

      Expected results:

      Deployment should be created
      
          

      Additional info:

      Happening with Deployment-config creation as well
          

              rh-ee-lprabhu Lokananda Prabhu
              openshift-crt-jira-prow OpenShift Prow Bot
              Sanket Pathak Sanket Pathak
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: