-
Bug
-
Resolution: Done-Errata
-
Undefined
-
4.14.z
-
No
-
ODC Sprint 3254
-
1
-
False
-
-
Release Note Not Required
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
- blocks
-
OCPBUGS-44356 Application creation fail when manually entering input scaling value in local setup
- Verified
- clones
-
OCPBUGS-31046 Application creation fail when manually entering input scaling value in local setup
- Closed
- is blocked by
-
OCPBUGS-31046 Application creation fail when manually entering input scaling value in local setup
- Closed
- is cloned by
-
OCPBUGS-44356 Application creation fail when manually entering input scaling value in local setup
- Verified
- links to
-
RHBA-2024:2051 OpenShift Container Platform 4.14.z bug fix update