Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1500164 - "debug_level" isn't working
"debug_level" isn't working
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: Michael Gugino
Gan Huang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-10 02:06 EDT by Gan Huang
Modified: 2017-11-28 17:15 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-11-28 17:15:54 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-10-10 02:06:08 EDT
Description of problem:
The log level of all system configurations is set to 2 no matter what debug_level is in inventory host.

Version-Release number of the following components:
openshift-ansible-3.7.0-0.146.0.git.0.3038a60.el7.noarch.rpm

How reproducible:
always

Steps to Reproduce:
1.Trigger installation with "debug_level=5" set in inventory host


Actual results:
Check loglevel after the installation:

On master:
# grep -nir "loglevel" /etc/sysconfig/*
/etc/sysconfig/atomic-openshift-master:1:OPTIONS="--loglevel=0"
/etc/sysconfig/atomic-openshift-master-api:1:OPTIONS=--loglevel=2 --listen=https://0.0.0.0:8443 --master=https://OpenShift-126.lab.sjc.Redhat.com:8443
/etc/sysconfig/atomic-openshift-master-controllers:1:OPTIONS=--loglevel=2 --listen=https://0.0.0.0:8444
/etc/sysconfig/atomic-openshift-node:1:OPTIONS=--loglevel=2

On node:
# grep -nir "loglevel" /etc/sysconfig/*
/etc/sysconfig/atomic-openshift-node:1:OPTIONS=--loglevel=2

Expected results:
The loglevel in system configurations should be consistent with "debug_level" set in inventory host

Additional info:
Please attach logs from ansible-playbook with the -vvv flag
Comment 1 Michael Gugino 2017-10-10 13:25:20 EDT
PR Created: https://github.com/openshift/openshift-ansible/pull/5716
Comment 3 Gan Huang 2017-10-17 05:20:12 EDT
Verified with openshift-ansible-3.7.0-0.153.0.git.0.d5028b3.el7.noarch.rpm
Comment 6 errata-xmlrpc 2017-11-28 17:15:54 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.