Bug 1960716 - Missing details for debugging
Summary: Missing details for debugging
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.8.0
Assignee: Ben Nemec
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-14 16:44 UTC by Ben Nemec
Modified: 2021-07-27 23:08 UTC (History)
0 users

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-27 23:08:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift baremetal-runtimecfg pull 138 0 None open Bug 1960716: Log the output of render operations 2021-05-14 16:47:09 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 23:08:45 UTC

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


Note You need to log in before you can comment on or make changes to this bug.