Bug 1960716

Summary: Missing details for debugging
Product: OpenShift Container Platform Reporter: Ben Nemec <bnemec>
Component: NetworkingAssignee: Ben Nemec <bnemec>
Networking sub component: runtime-cfg QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium Keywords: Triaged
Version: 4.8   
Target Milestone: ---   
Target Release: 4.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-27 23:08:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Nemec 2021-05-14 16:44:58 UTC
Description of problem: In on-prem deployments, some services use runtimecfg to template their final configurations. However, the results of this templating are not captured which can cause problems debugging issues. We need to collect the template output from runtimecfg.

Comment 2 Nataf Sharabi 2021-06-04 07:00:29 UTC
According to Ben Nemec:

"Look container logs for either one of the render-config containers or the keepalived-monitor one. You should see the full rendered config file in the output."

I've ran:

sudo crictl logs $(sudo crictl ps -a --name openshift-config-operator | awk 'FNR==2{ print $1}')

We can see the conf. :

time="2021-06-02T12:05:13Z" level=info msg="vrrp_instance ocp-edge-cluster-0_API {"
time="2021-06-02T12:05:13Z" level=info msg="    state BACKUP"
time="2021-06-02T12:05:13Z" level=info msg="    interface br-ex"
time="2021-06-02T12:05:13Z" level=info msg="    virtual_router_id 207"
time="2021-06-02T12:05:13Z" level=info msg="    priority 40"
time="2021-06-02T12:05:13Z" level=info msg="    advert_int 1"
time="2021-06-02T12:05:13Z" level=info msg="    "
time="2021-06-02T12:05:13Z" level=info msg="    unicast_src_ip 192.168.123.121"
time="2021-06-02T12:05:13Z" level=info msg="    unicast_peer {"
time="2021-06-02T12:05:13Z" level=info msg="        192.168.123.143"
time="2021-06-02T12:05:13Z" level=info msg="        192.168.123.89"
time="2021-06-02T12:05:13Z" level=info msg="    }"
time="2021-06-02T12:05:13Z" level=info msg="    "
time="2021-06-02T12:05:13Z" level=info msg="    authentication {"
time="2021-06-02T12:05:13Z" level=info msg="        auth_type PASS"
time="2021-06-02T12:05:13Z" level=info msg="        auth_pass ocp-edge-cluster-0_api_vip"
time="2021-06-02T12:05:13Z" level=info msg="    }"
time="2021-06-02T12:05:13Z" level=info msg="    virtual_ipaddress {"
time="2021-06-02T12:05:13Z" level=info msg="        192.168.123.5/32"
time="2021-06-02T12:05:13Z" level=info msg="    }"
time="2021-06-02T12:05:13Z" level=info msg="    track_script {"
time="2021-06-02T12:05:13Z" level=info msg="        chk_ocp_lb"
time="2021-06-02T12:05:13Z" level=info msg="        chk_ocp_both"
time="2021-06-02T12:05:13Z" level=info msg="    }"
time="2021-06-02T12:05:13Z" level=info msg="}"

You can compare it to /etc/keepalived/keepalived.conf


Verfying!

Comment 6 errata-xmlrpc 2021-07-27 23:08:28 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security 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/RHSA-2021:2438