Bug 2030465 - Network operator changes ovnkube-config too early causing ovnkube-master pods to crashloop during cluster upgrade
Summary: Network operator changes ovnkube-config too early causing ovnkube-master pods...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 4.8.z
Assignee: Christoph Stäbler
QA Contact: Anurag saxena
URL:
Whiteboard:
Depends On: 2027983
Blocks: 2034506
TreeView+ depends on / blocked
 
Reported: 2021-12-08 20:26 UTC by OpenShift BugZilla Robot
Modified: 2022-07-29 09:07 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: ovnkube-node & -master pods fail to start, when the config file contains an unknown field or section. Consequence: Can lead to failures on ovn-kubernetes updates, if a new config field or section was introduced. Imagine the following scenario: 1. ConfigMap is updated 2. ovnkube-node rollout starts 3. somehow an ovnkube-master pod needs to be (re-)started (be it through eviction from a node or something else) 4. the newly started ovnkube-master pod isn't aware of the new config structure (as it is still on the old version) and fails to parse the config, resulting in a crashloop of the newly ovnkube-master. This can result in a stucking rollout. Fix: Make ovn-kube resilient for unknown field in config files and logs a warning instead of exiting if such a field was found. Result: ovn-kube updates do not fail if config file contains an unknown field or section.
Clone Of:
Environment:
Last Closed: 2022-01-05 16:11:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift ovn-kubernetes pull 868 0 None Merged [release-4.8] Bug 2030465: Make config parsing more resilient for unknown fields 2021-12-13 12:07:24 UTC
Red Hat Product Errata RHBA-2021:5209 0 None None None 2022-01-05 16:12:03 UTC

Comment 6 errata-xmlrpc 2022-01-05 16:11:42 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.8.25 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:5209


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