Skip to content

Commit 583cdff

Browse files
committed
OCPBUGS-55971: Enable debug logging for nodeip-configuration
We turned off most of the log messages from the node-ip command in runtimecfg because it was spamming the keepalived logs. However, for nodeip-configuration we still want those logs in order to debug problems with ip selection. This only runs once per boot so the additional messages won't repeat like they do in the keepalived pod.
1 parent 647e51e commit 583cdff

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

templates/common/_base/units/nodeip-configuration.service.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ contents: |
1919
until \
2020
/usr/bin/podman run --rm \
2121
--authfile /var/lib/kubelet/config.json \
22+
--env 'ENABLE_NODEIP_DEBUG=true' \
2223
--net=host \
2324
--security-opt label=disable \
2425
--volume /etc/systemd/system:/etc/systemd/system \

templates/common/on-prem/units/nodeip-configuration.service.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ contents: |
2020
until \
2121
/usr/bin/podman run --rm \
2222
--authfile /var/lib/kubelet/config.json \
23+
--env 'ENABLE_NODEIP_DEBUG=true' \
2324
--net=host \
2425
--security-opt label=disable \
2526
--volume /etc/systemd/system:/etc/systemd/system \

templates/common/vsphere/units/nodeip-configuration-vsphere-upi.service.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ contents: |
3030
until \
3131
/usr/bin/podman run --rm \
3232
--authfile /var/lib/kubelet/config.json \
33+
--env 'ENABLE_NODEIP_DEBUG=true' \
3334
--net=host \
3435
--security-opt label=disable \
3536
--volume /etc/systemd/system:/etc/systemd/system \

0 commit comments

Comments
 (0)