Bug 1463553 - Templates in openshift-ansible are not up-to-date to reflect new change for origin pull request #14486
Summary: Templates in openshift-ansible are not up-to-date to reflect new change for o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Russell Teague
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-21 08:40 UTC by Wenjing Zheng
Modified: 2017-08-16 19:51 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Templates updated to origin latest.
Clone Of:
Environment:
Last Closed: 2017-08-10 05:28:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1716 0 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.6 RPM Release Advisory 2017-08-10 09:02:50 UTC

Description Wenjing Zheng 2017-06-21 08:40:11 UTC
Description of problem:
Updated templates in below pull request are not synced to openshift-ansible which cause no new template after environment is launched: https://github.com/openshift/origin/pull/14486

These templates are updated in ose repo:
https://github.com/openshift/ose/tree/master/examples/db-templates

Version-Release number of selected component (if applicable):
openshift-ansible-3.6.121-1.git.0.ed0b72c.el7.noarch.rpm

https://github.com/openshift/openshift-ansible/tree/openshift-ansible-3.6.121-1/roles/openshift_examples/files/examples/v3.6

How reproducible:
always

Steps to Reproduce:
1. Check the templates installed in ocp
2.
3.

Actual results:
No change for below pull request:
https://github.com/openshift/origin/pull/14486

Expected results:
The templates should contain changes in origin pull request #14486.

Additional info:

Comment 1 Scott Dodson 2017-06-21 14:17:49 UTC
cd roles/openshift_examples
./examples-sync.sh

review diff, commit, push up a pr

Comment 2 Russell Teague 2017-06-21 14:26:57 UTC
Proposed: https://github.com/openshift/openshift-ansible/pull/4528

Comment 3 Russell Teague 2017-06-22 17:11:44 UTC
Merged: https://github.com/openshift/openshift-ansible/pull/4528

Comment 5 Johnny Liu 2017-06-26 06:23:35 UTC
Verified this bug with openshift-ansible-3.6.124-1.git.0.507a059.el7.noarch, and PASS.
# oc edit template mariadb-ephemeral -n openshift -o json
<--snip-->
    "objects": [
        {
            "apiVersion": "v1",
            "kind": "Secret",
            "metadata": {
                "annotations": {
                    "template.openshift.io/expose-password": "{.data['database-password']}",
                    "template.openshift.io/expose-root-password": "{.data['database-root-password']}",
                    "template.openshift.io/expose-username": "{.data['database-user']}"
                },
                "name": "${DATABASE_SERVICE_NAME}"
            },
            "stringData": {
                "database-password": "${MYSQL_PASSWORD}",
                "database-root-password": "${MYSQL_ROOT_PASSWORD}",
                "database-user": "${MYSQL_USER}"
            }
        },
<--snip-->

# oc get template -n openshift|grep httpd-example
httpd-example                                   An example Httpd application that serves static content. For more information...   9 (3 blank)       5
# oc get is -n openshift|grep http
httpd                                 docker-registry.default.svc:5000/openshift/httpd                               latest,2.4                         3 hours ago

Comment 7 errata-xmlrpc 2017-08-10 05:28:56 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-2017:1716


Note You need to log in before you can comment on or make changes to this bug.