Bug 1810680 - Improve logging for machine config daemon content mismatch
Summary: Improve logging for machine config daemon content mismatch
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Machine Config Operator
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 4.6.0
Assignee: Kirsten Garrison
QA Contact: Michael Nguyen
URL:
Whiteboard:
Depends On:
Blocks: 1848473
TreeView+ depends on / blocked
 
Reported: 2020-03-05 17:41 UTC by Robert Bost
Modified: 2023-09-07 22:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 15:56:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift machine-config-operator pull 1719 0 None closed Bug 1810680: make file diffs more user friendly 2020-08-27 02:24:38 UTC
Red Hat Knowledge Base (Solution) 4886001 0 None None None 2020-03-07 00:13:28 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 15:56:33 UTC

Description Robert Bost 2020-03-05 17:41:31 UTC
Description of problem:

Can the logging for a content mismatch be improved to show the current vs desired configuration instead of A vs B?

2020-03-04T13:40:11.990482341Z I0304 13:40:11.990446    7216 daemon.go:671] Current+desired config: rendered-master-a6c68d747dc0ad5893bb4598b21db714
2020-03-04T13:40:12.030771182Z I0304 13:40:12.030667    7216 daemon.go:892] Validating against current config rendered-master-a6c68d747dc0ad5893bb4598b21db714
2020-03-04T13:40:12.034753737Z E0304 13:40:12.032541    7216 daemon.go:1272] content mismatch for file /etc/kubernetes/cloud.conf: [Global]
2020-03-04T13:40:12.034753737Z secret-name      = vsphere-creds
2020-03-04T13:40:12.034753737Z secret-namespace = kube-system
2020-03-04T13:40:12.034753737Z insecure-flag    = 1
2020-03-04T13:40:12.034753737Z 
2020-03-04T13:40:12.034753737Z [Workspace]
2020-03-04T13:40:12.034753737Z server            = mdu
2020-03-04T13:40:12.034753737Z 
2020-03-04T13:40:12.034753737Z A: -p.example.com
2020-03-04T13:40:12.034753737Z datacenter        = testdc
2020-03-04T13:40:12.034753737Z default-datastore = testds
2020-03-04T13:40:12.034753737Z folder            = testf
2020-03-04T13:40:12.034753737Z 
2020-03-04T13:40:12.034753737Z [VirtualCenter "vc-p.example.com"]
2020-03-04T13:40:12.034753737Z datacenters = testdc
2020-03-04T13:40:12.034753737Z 
2020-03-04T13:40:12.034753737Z 
2020-03-04T13:40:12.034753737Z B: .example.com
2020-03-04T13:40:12.034753737Z datacenter        = testdc
2020-03-04T13:40:12.034753737Z default-datastore = testds
...


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


How reproducible: Any content mismatch

Comment 11 errata-xmlrpc 2020-10-27 15:56:30 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.6 GA Images), 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-2020:4196


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