From 1becd754a8cae83cd993662a467f19aeedcc4750 Mon Sep 17 00:00:00 2001 From: Kenjiro Nakayama Date: Thu, 24 May 2018 17:32:18 +0900 Subject: [origin] Collect {resolv,node-dnsmasq}.conf under /etc/origin/node Since OCP 3.6+, there are some DNS config under /etc/origin/node/ such as `node-dnsmasq.conf` and `resolv.conf`. Although current sosreport does not gather them, these are important for troubleshooting of DNS issues. This patch updates origin.py to collect {resolv,node-dnsmasq}.conf under /etc/origin/node/. Resolves: #1311 Signed-off-by: Kenjiro Nakayama Signed-off-by: Bryn M. Reeves --- sos/plugins/origin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sos/plugins/origin.py b/sos/plugins/origin.py index 6b03a76a..02bc047a 100644 --- a/sos/plugins/origin.py +++ b/sos/plugins/origin.py @@ -159,6 +159,8 @@ class OpenShiftOrigin(Plugin): bstrap_node_cfg, bstrap_kubeconfig, os.path.join(self.node_base_dir, "*.crt"), + os.path.join(self.node_base_dir, "resolv.conf"), + os.path.join(self.node_base_dir, "node-dnsmasq.conf"), ]) self.add_journal(units="atomic-openshift-node") -- cgit