Bug 1509052 - Non-Developer Deployments of Ansible Service Broker should not use log file
Summary: Non-Developer Deployments of Ansible Service Broker should not use log file
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.7.0
Assignee: David Zager
QA Contact: Weihua Meng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-02 19:47 UTC by David Zager
Modified: 2017-11-28 22:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-11-28 22:21:23 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 David Zager 2017-11-02 19:47:12 UTC
Description of problem:

Since Kubernetes and OpenShift have their own logging mechanics when containers log to stdout, it is not necessary to log to file when deploying the Ansible Service Broker (except for development purposes).


Steps to Reproduce:
https://github.com/openshift/openshift-ansible/blob/129e91a3654943228c9ddeb38d6119a706cedcc2/roles/ansible_service_broker/tasks/install.yml#L319

Expected results: Broker should not use logfile

Comment 1 David Zager 2017-11-02 19:48:58 UTC
It's important to note that changes for this bug will only impact deployments of the Ansible Service Broker via the openshift-ansible project.

Comment 3 openshift-github-bot 2017-11-06 18:28:46 UTC
Commits pushed to master at https://github.com/openshift/openshift-ansible

https://github.com/openshift/openshift-ansible/commit/d9a3b42cc832b8634f624b14cbee4f6db9345cf6
Bug 1509052 - Remove logfile from broker config

https://github.com/openshift/openshift-ansible/commit/9e5462826beb7bece09e55b20f3fe47a65c8b44c
Merge pull request #5994 from djzager/bz1509052-broker-logfile

Bug 1509052 - Remove logfile from broker config

Comment 5 Weihua Meng 2017-11-07 10:25:51 UTC
Fixed. 
openshift-ansible-3.7.0-0.196.0.git.0.27cd7ec.el7.noarch.rpm

# oc get configmap broker-config -o yaml -n openshift-ansible-service-broker

    log:
      stdout: true
      level: info
      color: true
    openshift:

Comment 8 errata-xmlrpc 2017-11-28 22:21:23 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.