Bug 1025776 - Platform trace log contains database gear password
Summary: Platform trace log contains database gear password
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Containers
Version: 1.2.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
: 1045303 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-01 14:25 UTC by Andrew Butcher
Modified: 2017-03-08 17:35 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-21 20:27:01 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Andrew Butcher 2013-11-01 14:25:55 UTC
Description of problem:
Creating application which includes database gear will log database credentials in /var/log/openshift/node/platform-trace.log.

Version-Release number of selected component (if applicable):
1.2.1

How reproducible:
Always

Steps to Reproduce:
1. Create app with database gear add on.


Actual results:
From /var/log/openshift/node/platform-trace.log:

CLIENT_RESULT: MySQL 5.1 database added.  Please make note of these credentials:
CLIENT_RESULT:        Root User: <ROOTUSERNAME>
CLIENT_RESULT:    Root Password: <ROOTPASSWORD>
CLIENT_RESULT:    Database Name: <dbname>
...
CART_PROPERTIES: username=<ROOTUSERNAME>
CART_PROPERTIES: password=<ROOTPASSWORD>
CART_PROPERTIES: database_name=<dbname>
...

Expected results:
Passwords are filtered out.

Additional info:
None

Comment 2 Johnny Liu 2014-01-02 12:09:29 UTC
*** Bug 1045303 has been marked as a duplicate of this bug. ***


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