From 8d40bc0b5187679d18f517439b956c06dbbd1ae2 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 29 Mar 2021 18:25:34 -0400 Subject: [PATCH] debuginfod: reduce verbosity, improve debuggability Have Dockerfile add a few rpms needed for "oc rsync" and "oc rsh" diagnostics. Reduce default verbosity to -vv to avoid flooding logs with traversal msgs. Reduce scanner concurrency to 3, considering limited cpu resources on .stg. --- roles/openshift-apps/debuginfod/files/buildconfig.yml | 2 +- .../openshift-apps/debuginfod/templates/deploymentconfig.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/openshift-apps/debuginfod/files/buildconfig.yml b/roles/openshift-apps/debuginfod/files/buildconfig.yml index f127755b9d..30793d36c0 100644 --- a/roles/openshift-apps/debuginfod/files/buildconfig.yml +++ b/roles/openshift-apps/debuginfod/files/buildconfig.yml @@ -17,7 +17,7 @@ items: vendor="Fedora Infrastructure" WORKDIR / EXPOSE 8002 - RUN dnf -y install bsdtar elfutils-debuginfod && \ + RUN dnf -y install bsdtar elfutils-debuginfod sqlite3 procps-ng rsync tar && \ dnf autoremove -y type: Dockerfile strategy: diff --git a/roles/openshift-apps/debuginfod/templates/deploymentconfig.yml b/roles/openshift-apps/debuginfod/templates/deploymentconfig.yml index b0623b5289..957f39435d 100644 --- a/roles/openshift-apps/debuginfod/templates/deploymentconfig.yml +++ b/roles/openshift-apps/debuginfod/templates/deploymentconfig.yml @@ -25,9 +25,9 @@ spec: - name: debuginfod image: debuginfod:latest command: ["/usr/bin/debuginfod", - "-vvv", + "-vv", "-d", "/var/cache/debuginfod/db.sqlite", - "-c", "8", + "-c", "3", "-t", "3600", "-g", "604800", # exclude signed etc. variants, just want original RPMs