-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
require conmon v2.0.1 #3792
require conmon v2.0.1 #3792
Conversation
LGTM |
7d39628
to
c6898fd
Compare
Changes LGTM, but some tests aren't hip |
libpod/runtime.go
Outdated
// minConmonMajor is the major version required for conmon | ||
minConmonMajor = 2 | ||
// minConmonVersion is a string used to display the minimum conmon version | ||
minConmonVersion = "v2.0.0" |
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.
Can you make this
minConmonVersion = fmt.Sprintf("v%d.0.0", minConmonMajor)
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.
Or better yet remove this variable and just use the minConmonMajor in the error message below.
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.
fixed
c6898fd
to
823c4b6
Compare
libpod/runtime.go
Outdated
@@ -829,7 +829,7 @@ func makeRuntime(ctx context.Context, runtime *Runtime) (err error) { | |||
|
|||
if !foundConmon { | |||
if foundOutdatedConmon { | |||
return errors.Wrapf(define.ErrConmonOutdated, "please update to v1.0.0 or later") | |||
return errors.Wrapf(define.ErrConmonOutdated, "please update to v%s.0.0 or later", minConmonMajor) |
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.
Should be v%d.0.0
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.
oopsies
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.
golang is so forgiving...
823c4b6
to
e43b6d5
Compare
/lgtm |
Large quantities of test failures - does this need a rebase? |
e43b6d5
to
9ccf681
Compare
@mheon let's try that :D |
9ccf681
to
9eba4c2
Compare
/approve |
@haircommander Any chance we can get a rebase for the 1.6.0 release? |
If we can get 2.0.1 images, that'd be good - otherwise, ensuring 2.0.0 is probably sufficient. |
9eba4c2
to
cd3936d
Compare
Conmon is now in place on F30 and f31. |
cd3936d
to
85a5bfc
Compare
/hold |
Hung on a failed test |
Restarted podman-in-podman but failures might be legitimate |
sorry folks, I think I missed the step of updating the dockerfile. |
/lgtm |
@cevich am I correct in saying that this PR needs to be merged before the changes in the dockerfile get used in the |
Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
Signed-off-by: Peter Hunt <[email protected]>
97b2ca5
to
49e251f
Compare
manually pushed to the in_podman image. It should pass, then once we merge the post merge action will overwrite it organically. can I have a new lgtm @rhatdan @baude @vrothberg @TomSweeneyRedHat @mheon |
happy tests PTAL |
@@ -57,7 +57,7 @@ RUN set -x \ | |||
&& rm -rf "$GOPATH" | |||
|
|||
# Install conmon | |||
ENV CONMON_COMMIT 6f3572558b97bc60dd8f8c7f0807748e6ce2c440 | |||
ENV CONMON_COMMIT 65fe0226d85b69fc9e527e376795c9791199153d |
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.
This is fine for now, but consider changing this over to the tag for the release like 'v2.0.2' then below I think (didn't try it) you can do git checkout tags/CONMON_COMMIT
, at least that's the theory.
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.
I think actually the next step is to enable pulling conmon from a package (like the other vms do) instead of by git commit
LGTM |
/lgtm |
/hold cancel |
Note that the code will slightly change as soon as I need to merge it into #4352 |
Signed-off-by: Peter Hunt [email protected]