Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1490246 - Install CNS failed due to template file missed
Install CNS failed due to template file missed
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.7.0
Assigned To: Jose A. Rivera
Wenkai Shi
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-11 03:05 EDT by Wenkai Shi
Modified: 2017-11-28 17:09 EST (History)
4 users (show)

See Also:
Fixed In Version: openshift-ansible-3.7.0-0.126.1.git.0.0bb5b0c.el7.noarch
Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:09:56 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:3188 normal SHIPPED_LIVE Moderate: Red Hat OpenShift Container Platform 3.7 security, bug, and enhancement update 2017-11-28 21:34:54 EST

  None (edit)
Description Wenkai Shi 2017-09-11 03:05:12 EDT
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 14:54:15 EDT
PR is already upstream: https://github.com/openshift/openshift-ansible/pull/5315
Comment 4 Jose A. Rivera 2017-09-15 13:19:31 EDT
PR merged.
Comment 5 Wenkai Shi 2017-09-18 03:02:36 EDT
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 17:09:56 EST
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.