-
Notifications
You must be signed in to change notification settings - Fork 21
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
neonvm: revert crictl patches #1054
Conversation
728ab37
to
fcc5f64
Compare
788b5b4
to
1ff1fd0
Compare
454070e
to
23e9957
Compare
This reverts commit 95caab1. Signed-off-by: Oleg Vasilev <[email protected]>
23e9957
to
a7fbb7a
Compare
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.
Some questions; overall looks good.
(also, can you prepend "neonvm: " to the PR title?)
- type: Degraded | ||
status: "True" |
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.
Why this change?
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.
Hmm... I am not actually sure. For some reason, when I apply 3e6da9c, status conditions stop updating. Any idea why it might be the case?
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.
from discussion: plan is to fix our usage of status conditions in a separate PR
@@ -33,12 +22,10 @@ RUN apk add --no-cache \ | |||
e2fsprogs \ | |||
qemu-system-x86_64 \ | |||
qemu-img \ | |||
cgroup-tools \ | |||
cgroup-tools \ |
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.
unintended diff? (replaces spaces with a tab; unlike the rest of the block)
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.
It's unrelated, but intended. Do you want me to split it off?
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.
Actually, it is part of the original patch: 5a82cd8
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.
Oof, thanks for digging into it. No preference either way here. Ideally we should have CI check for this in the future.
In many local environments, cgroups v1 no longer works, that's why we had --enable-container-mgr. Now, with crictl patches reverted, we have to --disable-runner-cgroup by default, otherwise local environment doesn't work. Signed-off-by: Oleg Vasilev <[email protected]>
This reverts commit d30687b. Signed-off-by: Oleg Vasilev <[email protected]>
…tart (#749)" This reverts commit 7f17032. Signed-off-by: Oleg Vasilev <[email protected]>
Signed-off-by: Oleg Vasilev <[email protected]>
a7fbb7a
to
f1deb9d
Compare
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.
Looks good. Feel free to merge when the status conditions thing is fixed
Merging this branch will decrease overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. Changed unit test files
HTML Report |
We decided to go another route, and disable outer cgroup altogether in favor of something better.
Closes https://github.com/neondatabase/cloud/issues/13266.