Controller logging#419
Conversation
|
/approve |
There was a problem hiding this comment.
# github.com/openshift/machine-config-operator/pkg/controller/node
pkg/controller/node/node_controller.go:383: Infof format %v reads arg #2, but call has 1 arg
pkg/controller/node/status.go:32: Infof format %s has arg newPool.Status of wrong type github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1.MachineConfigPoolStatus
There was a problem hiding this comment.
OK I dropped the status patch, did that at the last second and hadn't tested it. Doing that "right" is probably changing the operator to do the logging, as it already has the code to render things to a string.
A pool may not be configured on initial cluster bringup. Let's not spam the logs about it. It's also not an error.
So an admin can look at the logs and see progress there.
96ed6d0 to
8ea73fb
Compare
/test rhel-images |
|
OK this is passing tests and looks a bit nicer: |
|
/lgtm |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ashcrow, cgwalters, runcom The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
Router related /test e2e-aws |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
4 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
A few patches for the node controller to help me debug #385