Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1496742 - Lacking of template_service_broker templates after installing atomic-openshift-utils
Lacking of template_service_broker templates after installing atomic-openshif...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.7.0
Unspecified Unspecified
high Severity high
: ---
: 3.7.0
Assigned To: ewolinet
XiuJuan Wang
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-28 05:17 EDT by Gan Huang
Modified: 2017-11-28 17:13 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: No Doc Update
Doc Text:
A newly created role for 3.7 leveraged OCP template files that were sync'd over from the origin repo however the ansible.spec file needed to be updated to include that directory in the building of the openshift-ansible rpm.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:13:20 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 Gan Huang 2017-09-28 05:17:46 EDT
Description of problem:
Lacking of template_service_broker templates after installing atomic-openshift-utils, which resulted in the installation of template_service_broker failed.

Version-Release number of the following components:
atomic-openshift-utils-3.7.0-0.128.0.git.0.89dcad2.el7.noarch

How reproducible:
always

Steps to Reproduce:
1. Install atomic-openshift-utils in ansible master
2. Trigger installation with tempalte service broker


Actual results:
TASK [template_service_broker : copy] ******************************************
Thursday 28 September 2017  06:40:50 +0000 (0:00:00.251)       0:11:33.617 **** 
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: 	/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/playbooks/byo/openshift-cluster/../../common/openshift-cluster/../../../files/origin-components//apiserver-template.yaml
failed: [host-8-241-74.host.centralci.eng.rdu2.redhat.com] (item=apiserver-template.yaml) => {"changed": false, "failed": true, "item": "apiserver-template.yaml", "msg": "Could not find or access '../../../files/origin-components//apiserver-template.yaml'\nSearched in:\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/files/../../../files/origin-components//apiserver-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/../../../files/origin-components//apiserver-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/tasks/files/../../../files/origin-components//apiserver-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/tasks/../../../files/origin-components//apiserver-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/playbooks/byo/openshift-cluster/../../common/openshift-cluster/files/../../../files/origin-components//apiserver-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/playbooks/byo/openshift-cluster/../../common/openshift-cluster/../../../files/origin-components//apiserver-template.yaml"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: 	/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/playbooks/byo/openshift-cluster/../../common/openshift-cluster/../../../files/origin-components//rbac-template.yaml
failed: [host-8-241-74.host.centralci.eng.rdu2.redhat.com] (item=rbac-template.yaml) => {"changed": false, "failed": true, "item": "rbac-template.yaml", "msg": "Could not find or access '../../../files/origin-components//rbac-template.yaml'\nSearched in:\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/files/../../../files/origin-components//rbac-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/../../../files/origin-components//rbac-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/tasks/files/../../../files/origin-components//rbac-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/roles/template_service_broker/tasks/../../../files/origin-components//rbac-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/playbooks/byo/openshift-cluster/../../common/openshift-cluster/files/../../../files/origin-components//rbac-template.yaml\n\t/home/slave3/workspace/Launch Environment Flexy/private-openshift-ansible/playbooks/byo/openshift-cluster/../../common/openshift-cluster/../../../files/origin-components//rbac-template.yaml"}

Expected results:

Additional info:
Check if `files` directory exists after installing atomic-openshift-utils
# ll /usr/share/ansible/openshift-ansible/
library/   playbooks/ roles/     

Check if `files` directory exists for upstream git master
# ll ~/openshift-ansible/files
total 0
drwxr-xr-x. 2 root root 92 Sep 28 04:52 origin-components
Comment 3 Scott Dodson 2017-10-09 10:59:03 EDT
Gan,

We're going to be removing the quick installer in 3.7. I'm going to close this WONTFIX.
Comment 4 Gan Huang 2017-10-09 11:43:28 EDT
If those files (https://github.com/openshift/openshift-ansible/tree/master/files/origin-components) will be packaged into official installer(openshift-ansible) RPMs, that would be fine to close.

AFAICS they're not in yet: https://github.com/openshift/openshift-ansible/blob/master/openshift-ansible.spec
Comment 5 Gan Huang 2017-10-20 05:36:00 EDT
Hi Scott,

There might be some misunderstandings here, this was not a issue of quick-installer, the issue was installer (openshift-ansible rpm package) didn't install those files needed for template_service_broker

This is still a problem while installing template_service_broker. (we could only test it by github checkout)

From https://github.com/openshift/openshift-ansible/pull/5760/files, I'm still not seeing those files would be added to openshift-ansible package. I'd like to reopen it until the issue is fixed.
Comment 8 XiuJuan Wang 2017-10-23 05:46:53 EDT
Could install TSB successfully with rpm install_method
openshift-ansible-3.7.0-0.174.0.git.0.01932ad.el7.noarch.rpm
Comment 12 errata-xmlrpc 2017-11-28 17:13:20 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.