Bug 1490246 - Install CNS failed due to template file missed
Summary: Install CNS failed due to template file missed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.7.0
Assignee: Jose A. Rivera
QA Contact: Wenkai Shi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-11 07:05 UTC by Wenkai Shi
Modified: 2017-11-28 22:09 UTC (History)
4 users (show)

Fixed In Version: openshift-ansible-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 22:09:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 0 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-29 02:34:54 UTC

Description Wenkai Shi 2017-09-11 07:05:12 UTC
Description of problem:
Install CNS failed due to unable to find 'v3.7/glusterfs-template.yml' in expected paths.

Version-Release number of the following components:
openshift-ansible-3.7.0-0.125.0.git.0.91043b6.el7

How reproducible:
100%

Steps to Reproduce:
1. Install OCP with CNS
# cat hosts
...
[nodes]
...
glusterfs1.example.com
glusterfs2.example.com
glusterfs3.example.com
[glusterfs]
glusterfs1.example.com glusterfs_devices="['/dev/sdb']"
glusterfs2.example.com glusterfs_devices="['/dev/sdb']"
glusterfs3.example.com glusterfs_devices="['/dev/sdb']"
2.
3.

Actual results:
# ansible-playbook -i hosts -v /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml
...
TASK [openshift_storage_glusterfs : Copy GlusterFS DaemonSet template] *********
Monday 11 September 2017  06:30:16 +0000 (0:00:01.523)       0:07:18.073 ****** 
fatal: [master.example.com]: FAILED! => {
    "changed": false, 
    "failed": true
}

MSG:

Unable to find 'v3.7/glusterfs-template.yml' in expected paths.
...

Expected results:
Installation succeed.

Additional info:

Comment 1 Jose A. Rivera 2017-09-11 18:54:15 UTC
PR is already upstream: https://github.com/openshift/openshift-ansible/pull/5315

Comment 4 Jose A. Rivera 2017-09-15 17:19:31 UTC
PR merged.

Comment 5 Wenkai Shi 2017-09-18 07:02:36 UTC
Verified with version openshift-ansible-3.7.0-0.126.4.git.0.3fc2b9b.el7, the 3.7  template files directory existing now.

# ls /usr/share/ansible/openshift-ansible/roles/openshift_storage_glusterfs/templates/ | grep v3.7
v3.7

Comment 9 errata-xmlrpc 2017-11-28 22:09: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/RHSA-2017:3188


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