Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented Apr 13, 2020

Fixing some of the logging from 0517783 (#1948) to avoid things like:

$ openshift-install destroy cluster --dir one
INFO searching VMs by tag=one-6xlb7
INFO Found %!s(int=3) VMs
INFO Stopping VM one-6xlb7-master-1 : errors: %s%!(EXTRA <nil>)
...

because the final err had no %s in the template string to consume it. This commit fixes the two cases which had an errors: %s using up the final template %s, but leaves a lot of other potential logging cleanup in this package alone.

Fixing some of the logging from 0517783 (ovirt: Implement destroy,
2019-10-28, openshift#1948) to avoid things like:

  $ openshift-install destroy cluster --dir one
  INFO searching VMs by tag=one-6xlb7
  INFO Found %!s(int=3) VMs
  INFO Stopping VM one-6xlb7-master-1 : errors: %s%!(EXTRA <nil>)
  ...

because the final 'err' had no %s in the template string to consume
it.  This commit fixes the two cases which had an 'errors: %s' using
up the final template %s, but leaves a lot of other potential logging
cleanup in this package alone.
@wking wking force-pushed the ovirt-vm-logging-cleanup branch from ea5ed48 to d947a58 Compare April 13, 2020 22:28
@abhinavdahiya
Copy link
Contributor

/approve
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Apr 13, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 13, 2020
@openshift-merge-robot openshift-merge-robot merged commit c144c10 into openshift:master Apr 14, 2020
@wking wking deleted the ovirt-vm-logging-cleanup branch April 15, 2020 02:51
@wking
Copy link
Member Author

wking commented Apr 15, 2020

Tracked in rhbz#1818529 if folks want something to hang backports on. Not clear to me how far this is worth backporting.

@crawford
Copy link
Contributor

/cherry-pick release-4.4

@openshift-cherrypick-robot

@crawford: new pull request created: #3475

Details

In response to this:

/cherry-pick release-4.4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants