-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Nuke /var/lib/dockershim/sandbox/* while nodes are drained #6110
Conversation
/assign mtnbikenc |
/kind bug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a bug filed for this? Otherwise,
/lgtm
@@ -98,6 +98,11 @@ | |||
failed_when: false | |||
when: not openshift.common.is_containerized | bool | |||
|
|||
# Works around a 3.6 bug that left checkpoint files around | |||
- name: Clean up dockershim data | |||
command: rm -rf /var/lib/dockershim/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/var/lib/dockershim/sandbox/*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my own personal edification, why not use the files module and state=absent?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
so long as the node is drained when this runs, it's fine/good to run on any version. |
6e06e2c
to
89bdef0
Compare
/lgtm |
/hold |
/hold cancel |
/test upgrade |
@sdodson: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
command and shell weren't working as expected, switched to file module. I've verified that /var/lib/dockershim/sandbox is re-created post upgrade as new pods are created. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/cherrypick release-3.7 |
@sdodson: New pull request created: #6113 In response to this:
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. |
…6110-to-release-3.7 Automated cherry-pick of #6110 on release-3.7
Fixes an issue where 3.6 nodes created checkpoint files which could lead to problems after upgrading to 3.7.
As implemented this will happen during all node upgrades regardless of installed or target version.
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1513054