Bug 1261076

Summary: UI submits all template objects to v1 API, regardless of object API version
Product: OKD Reporter: Jordan Liggitt <jliggitt>
Component: Management ConsoleAssignee: Jordan Liggitt <jliggitt>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.xCC: aos-bugs, mmccomas, wsun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1295620 (view as bug list) Environment:
Last Closed: 2015-11-23 21:18:20 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: 1295620    

Description Jordan Liggitt 2015-09-08 14:11:56 UTC
Description of problem:

Cloned from https://github.com/openshift/origin/issues/4410 to add QE test cases.

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


How reproducible:
Always

Steps to Reproduce:
1. Create a template containing v1beta3 object definitions
2. Load the template into the API
3. In the web UI, create from the template

Actual results:
An API error is returned: "Cannot create object... the apiVersion does not match"

Expected results:
Object is created successfully.

Additional info:

Comment 1 Jordan Liggitt 2015-09-08 14:12:39 UTC
Fixed in https://github.com/openshift/origin/pull/4545

Comment 2 Yadan Pei 2015-09-09 10:00:41 UTC
QE added one test case https://goo.gl/rEc12o 

Tested on devenv_fedora_2304, it works well