Bug 1590106
| Summary: | Hpa has incorrect ref apiversion if it is created with app creation | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Yanping Zhang <yanpzhan> | |
| Component: | Management Console | Assignee: | Samuel Padgett <spadgett> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 3.10.0 | CC: | aos-bugs, jokerman, mmccomas | |
| Target Milestone: | --- | |||
| Target Release: | 3.10.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1590936 (view as bug list) | Environment: | ||
| Last Closed: | 2018-06-20 13:26:50 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1590936 | |||
Commits pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/22684c2a29e0e6c84a6c0dd00f69ef2e419b07fe Bug 1590106 - Fix HPA target resource for new app flow Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1590106 https://github.com/openshift/origin-web-console/commit/0360c0443d760bbcb342d1476f0199761ee6f330 Merge pull request #3024 from spadgett/fix-hpa Bug 1590106 - Fix HPA target resource for new app flow Checked on OCP v3.10.1. Created hpa with new app flow on web console, the target resource api version is "apps.openshift.io/v1". The bug has been fixed, so move it to Verified. |
Description of problem: When create app from image, and set hpa at the same time, on the page "/create/fromimage?", after creation, the hpa has incorrect ref apiversion and could not work normally Version-Release number of selected component (if applicable): openshift v3.10.0-0.64.0 kubernetes v1.10.0+b81c8f8 How reproducible: Always Steps to Reproduce: 1.Create app from image, and set auto scaling in advanced options 2.Check ref apiversion in hpa. 3.Check event. Actual results: 2.$ oc get hpa pytest -o yaml |grep scaleTargetRef -A 3 scaleTargetRef: apiVersion: extensions/v1beta1 kind: DeploymentConfig name: pytest 3. Check on the events page, there is warning info: pytest Horizontal Pod Autoscaler Warning Failed Get Scale no matches for kind "DeploymentConfig" in group "extensions" Expected results: 2.Should have correct ref apiversion Additional info: