Bug 1972183

Summary: Backport enabling of pprof metrics for OpenShift SDN
Product: OpenShift Container Platform Reporter: Alexander Constantinescu <aconstan>
Component: NetworkingAssignee: Christoph Stäbler <cstabler>
Networking sub component: openshift-sdn QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: high    
Priority: unspecified CC: aconstan, cstabler, mrobson, zzhao
Version: 4.6.z   
Target Milestone: ---   
Target Release: 4.7.z   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1970497
: 1972587 (view as bug list) Environment:
Last Closed: 2021-06-29 04:20:27 UTC Type: ---
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: 1970497    
Bug Blocks: 1972587    

Description Alexander Constantinescu 2021-06-15 12:02:04 UTC
+++ This bug was initially created as a clone of Bug #1970497 +++

Description of problem:

Enable pprof by default for OpenShift SDN.

Enable by default in 4.8 via: https://github.com/openshift/cluster-network-operator/pull/988

Would aid in debugging without the need to scale down CVO / CNO and restart pods.

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

4.6.x/4.7.x

How reproducible:
Always

Steps to Reproduce:
1. N/A

Actual results:

Not on by default

Expected results:


Additional info:

Can be enabled today via:

oc scale -n openshift-cluster-version deployments/cluster-version-operator --replicas 0

oc -n openshift-network-operator scale deployment/network-operator --replicas 0

oc -n openshift-sdn edit configmap sdn-config

Set: enableProfiling: true

Save and exit

Comment 2 zhaozhanqi 2021-06-17 07:38:53 UTC
Verified this bug on 4.7.0-0.nightly-2021-06-16-202127

$ oc get cm -n openshift-sdn sdn-config -o yaml | grep enableProfiling
    enableProfiling: true

Comment 5 errata-xmlrpc 2021-06-29 04:20:27 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 (OpenShift Container Platform 4.7.18 bug fix update), 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-2021:2502