Bug 1638797

Summary: 3.11 Openshift deployment via Director fails because openshift_release and openshift_version vars are set to 3.10 in tripleo-heat-templates
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: openstack-tripleo-heat-templatesAssignee: Martin André <m.andre>
Status: CLOSED ERRATA QA Contact: Marius Cornea <mcornea>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 14.0 (Rocky)CC: dbecker, jtrowbri, m.andre, mburns, morazi, racedoro
Target Milestone: betaKeywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-9.0.1-0.20181013060876.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:53:55 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:

Description Marius Cornea 2018-10-12 13:12:48 UTC
Description of problem:

3.11 Openshift deployment via Director fails because openshift_release and openshift_release vars are set to 3.10 in tripleo-heat-templates:

https://github.com/openstack/tripleo-heat-templates/blob/master/extraconfig/services/openshift-master.yaml#L146-L147

Failure:

TASK [openshift_version : assert openshift_release in openshift_image_tag] *****
Thursday 11 October 2018  22:43:59 -0400 (0:00:00.082)       0:01:44.010 ****** 
fatal: [openshift-master-0]: FAILED! => {
    "assertion": "openshift_release in openshift_image_tag", 
    "changed": false, 
    "evaluated_to": false, 
    "msg": "openshift_image_tag must match same major version as openshift_release. You provided: 3.10 and v3.11\n"
}

PLAY RECAP *********************************************************************
localhost                  : ok=12   changed=0    unreachable=0    failed=0   
openshift-master-0         : ok=37   changed=8    unreachable=0    failed=1   
openshift-worker-0         : ok=26   changed=8    unreachable=0    failed=0   


Version-Release number of selected component (if applicable):
openstack-tripleo-heat-templates-9.0.0-0.20180919080945.0rc1.0rc1.el7ost.noarch

How reproducible:
100%

Comment 1 Martin André 2018-10-12 16:21:43 UTC
We may have to hardcode the vars downstream to point to the v3.11 release until we have some packages available upstream.

Comment 8 Martin André 2019-01-10 10:25:07 UTC
No doc text required.

Comment 9 errata-xmlrpc 2019-01-11 11:53:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045