Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add and clear err message about RemoveVolumeFromReportAsAttached() #42317

Conversation

NickrenREN
Copy link
Contributor

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Mar 1, 2017
@k8s-github-robot k8s-github-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. release-note-none Denotes a PR that doesn't merit a release note. labels Mar 1, 2017
@NickrenREN
Copy link
Contributor Author

@k8s-bot cvm gce e2e test this

@k8s-reviewable
Copy link

This change is Reviewable

@NickrenREN
Copy link
Contributor Author

keep-open
ping @pmorie , small change, ptal

@pmorie
Copy link
Member

pmorie commented Apr 25, 2017

@NickrenREN reviewing now - sorry for the latency

@pmorie pmorie added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 25, 2017
@pmorie
Copy link
Member

pmorie commented Apr 25, 2017

Thanks for the patch, @NickrenREN

@NickrenREN
Copy link
Contributor Author

@k8s-bot unit test this

@NickrenREN
Copy link
Contributor Author

@k8s-bot kops aws e2e test this

rc.actualStateOfWorld.RemoveVolumeFromReportAsAttached(attachedVolume.VolumeName, attachedVolume.NodeName)
err = rc.actualStateOfWorld.RemoveVolumeFromReportAsAttached(attachedVolume.VolumeName, attachedVolume.NodeName)
if err != nil {
glog.Errorf("RemoveVolumeFromReportAsAttached failed while removing volume %q from node %q with: %v",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

glog.V(5).Infof instead of glog.Errorf since the error is non-blocking. I want to prevent spamming logs so I'm cautious when adding new errors with high visibility to loops.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, done

@saad-ali saad-ali self-assigned this May 5, 2017
@NickrenREN NickrenREN force-pushed the attach-detach-error-info-print branch from a0c72d6 to 0861688 Compare May 8, 2017 01:37
@k8s-github-robot k8s-github-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 8, 2017
@saad-ali
Copy link
Member

saad-ali commented May 9, 2017

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 9, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: NickrenREN, saad-ali

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 9, 2017
@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 202a9f8 into kubernetes:master May 9, 2017
@NickrenREN NickrenREN deleted the attach-detach-error-info-print branch May 10, 2017 00:41
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants