Bug 1320026

Summary: Can not install RPM env when specifying openshift_image_tag parameters
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: InstallerAssignee: Scott Dodson <sdodson>
Status: CLOSED WONTFIX QA Contact: Xiaoli Tian <xtian>
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: aos-bugs, jokerman, mmccomas, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-24 20:48:49 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:

Description Ma xiaoqiang 2016-03-22 07:20:06 UTC
Description of problem:
Can not install RPM env when specifying openshift_image_tag parameters


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

How reproducible:
always

Steps to Reproduce:
1. Install RPM environment on rhel7 
<--snip-->
openshift_image_tag=v3.2.0.5
<--snip-->

Actual results:

TASK: [openshift_master | Install Master package] ***************************** 
failed: [openshift-142.lab.eng.nay.redhat.com] => {"changed": false, "failed": true, "rc": 0, "results": []}
msg: No Package matching 'atomic-openshift-masterv3.2.0.5' found available, installed or updated



Expected results:
Install env successfully

Additional info:
If user specified the openshift_pkg_version when installing containerized env, it will fail too.
openshift_version: "{{ openshift_pkg_version | default(openshift_image_tag) | default(openshift.common.image_tag) | default('') }}"
the 'openshift_pkg_version' have higher priority than 'openshift_image_tag'