Hide Forgot
Description of problem: 99-origin-dns.sh is executed every time the network status changes, leaving the following traces in the messages file: May 8 11:12:17 master1 dbus[3030]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' May 8 11:12:17 master1 nm-dispatcher: req:1 'connectivity-change': new request (4 scripts) May 8 11:12:17 master1 nm-dispatcher: req:1 'connectivity-change': start running ordered scripts... May 8 11:12:17 master1 nm-dispatcher: req:2 'down' [eth0]: new request (4 scripts) May 8 11:12:17 master1 nm-dispatcher: + cd /etc/sysconfig/network-scripts May 8 11:12:17 master1 nm-dispatcher: + . ./network-functions May 8 11:12:17 master1 nm-dispatcher: ++ PATH=/sbin:/usr/sbin:/bin:/usr/bin May 8 11:12:17 master1 nm-dispatcher: ++ export PATH May 8 11:12:17 master1 nm-dispatcher: +++ hostname May 8 11:12:17 master1 nm-dispatcher: ++ HOSTNAME=master1.ocplab.com May 8 11:12:17 master1 nm-dispatcher: ++ '[' -z '' ']' May 8 11:12:17 master1 nm-dispatcher: ++ . /etc/init.d/functions May 8 11:12:17 master1 nm-dispatcher: +++ TEXTDOMAIN=initscripts May 8 11:12:17 master1 nm-dispatcher: +++ umask 022 May 8 11:12:17 master1 nm-dispatcher: +++ PATH=/sbin:/usr/sbin:/bin:/usr/bin May 8 11:12:17 master1 nm-dispatcher: +++ export PATH May 8 11:12:17 master1 nm-dispatcher: +++ '[' 62390 -ne 1 -a -z '' ']' May 8 11:12:17 master1 nm-dispatcher: +++ '[' -d /run/systemd/system ']' May 8 11:12:17 master1 nm-dispatcher: +++ case "$0" in May 8 11:12:17 master1 nm-dispatcher: +++ '[' -z '' ']' May 8 11:12:17 master1 nm-dispatcher: +++ COLUMNS=80 May 8 11:12:17 master1 nm-dispatcher: +++ '[' -z '' ']' May 8 11:12:17 master1 nm-dispatcher: +++ '[' -c /dev/stderr -a -r /dev/stderr ']' May 8 11:12:17 master1 nm-dispatcher: +++ CONSOLETYPE=serial May 8 11:12:17 master1 nm-dispatcher: +++ '[' -z '' ']' May 8 11:12:17 master1 nm-dispatcher: +++ '[' -z '' ']' May 8 11:12:17 master1 nm-dispatcher: +++ '[' -f /etc/sysconfig/i18n -o -f /etc/locale.conf ']' May 8 11:12:17 master1 nm-dispatcher: +++ . /etc/profile.d/lang.sh May 8 11:12:17 master1 nm-dispatcher: +++ unset LANGSH_SOURCED May 8 11:12:17 master1 nm-dispatcher: +++ '[' -z '' ']' May 8 11:12:17 master1 nm-dispatcher: +++ '[' -f /etc/sysconfig/init ']' May 8 11:12:17 master1 nm-dispatcher: +++ . /etc/sysconfig/init [...] This is not harmful at all, but in terms of monitoring, it causes noise which the customer would prefer to avoid. The remediation is simple, but they would like to know why does the debug flag is set to ON? and does it needs to be set to ON? Could you add further clarification on this? thanks!
Passing to the installer team because they may know the history.
It was useful in debugging when we first started using this. I think it can be safely removed now.
ack, is there any plan to remove the debug flag at short term?
https://github.com/openshift/openshift-ansible/pull/11592
Verify this bug with openshift-ansible-3.11.117-1.git.0.add13ff.el7.noarch.rpm After fresh install, check the 99-origin-dns.sh file, "-x" has been removed. [root@ip-172-18-14-236 dispatcher.d]# head -n1 99-origin-dns.sh #!/bin/bash Restart NetworkManager service, no debug info shown in messages log
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/RHBA-2019:1605