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