Bug 1171254

Summary: Rename watchman log files to be more descriptive
Product: OpenShift Container Platform Reporter: Brenton Leanhardt <bleanhar>
Component: ContainersAssignee: Brenton Leanhardt <bleanhar>
Status: CLOSED ERRATA QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: high    
Version: 2.2.0CC: anli, bmeng, jhonce, jokerman, libra-bugs, libra-onpremise-devel, mmccomas, ofayans
Target Milestone: ---Keywords: Upstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-openshift-origin-node-1.33.1.1-1, openshift-origin-node-util-1.32.2.1-1 Doc Type: Enhancement
Doc Text:
Feature: Watchman logs are now named more clearly. Reason: Watchman logs were previously named cgroups.log and cgroups-trace.log. They have now been renamed to watchman.log and watchman-trace.log respectively. Result: Watchman logs are now named more clearly.
Story Points: ---
Clone Of: 1163910 Environment:
Last Closed: 2015-01-08 15:34:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1163910    
Bug Blocks:    

Description Brenton Leanhardt 2014-12-05 18:40:13 UTC
+++ This bug was initially created as a clone of Bug #1163910 +++

Description of problem:


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
/var/log/openshift/node/cgroups.log
/var/log/openshift/node/cgroups-trace.log

Expected results:
/var/log/openshift/node/watchman.log
/var/log/openshift/node/watchman-trace.log

Additional info:

--- Additional comment from Jhon Honce on 2014-11-13 13:28:47 EST ---

Fixed in https://github.com/openshift/origin-server/pull/5957

--- Additional comment from openshift-github-bot on 2014-11-13 14:19:41 EST ---

Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/8bf8f01584864e4fba0377f5d61298075f339b4b
Bug 1163910 - Rename watchman log files

* Rename /var/log/openshift/node/cgroup*log files to watchman*.log

--- Additional comment from Meng Bo on 2014-11-13 21:57:45 EST ---

Checked on devenv_5300, the cgroups.log and cgroups-trace.log are renamed to watchman.log and watchman-trace.log.

Move bug to verified.

Comment 3 Anping Li 2014-12-09 02:34:24 UTC
Verified and pass on puddle-2-2-2014-12-08
1) watchman.log& watchman-trace.log are created.
[root@node1 node]# ls -l watchman*
-rw-rw----. 1 root root 115015 Dec  9 10:31 watchman.log
-rw-rw----. 1 root root      0 Dec  9 09:59 watchman-trace.log

2) monitor watchman.log,watchman-trace.log and cgroup.log and cgroup-trace.log.the log message is writen to watchman*.log. No log message is writen to cgroup*log now.

Comment 5 errata-xmlrpc 2015-01-08 15:34:45 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://rhn.redhat.com/errata/RHBA-2015-0019.html