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

Change the base image for the Pbench Server container to ubi8 #3461

Closed

Conversation

webbnh
Copy link
Member

@webbnh webbnh commented Jun 8, 2023

Since running a container using a "newer" base image on an "older" kernel is not reliable, this PR changes the default base image used to build the Pbench Server container from ubi9 to ubi8 so that it can be run on our Production server (which is currently RHEL-8.7).

PBENCH-1181

@webbnh webbnh added bug Server Code Infrastructure Containerization Of and relating to the process of setting up and maintaining container images labels Jun 8, 2023
@webbnh webbnh added this to the v0.73 milestone Jun 8, 2023
@webbnh webbnh self-assigned this Jun 8, 2023
dbutenhof
dbutenhof previously approved these changes Jun 8, 2023
Copy link
Member

@dbutenhof dbutenhof left a comment

Choose a reason for hiding this comment

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

🎉

@ndokos ndokos self-requested a review June 8, 2023 20:42
ndokos
ndokos previously approved these changes Jun 8, 2023
@webbnh webbnh dismissed stale reviews from ndokos and dbutenhof via bfd7734 June 8, 2023 21:46
Copy link
Member

@ndokos ndokos left a comment

Choose a reason for hiding this comment

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

There is also the util-linux vs util-linux-core issue. Plus Area 51 struck again...

@webbnh webbnh force-pushed the canned_server_base branch 3 times, most recently from fc1560e to 4a10f9f Compare June 14, 2023 16:18
Since running a container using a "newer" base image on an "older" kernel is
not reliable, change the base image used to build the Pbench Server container
from UBI9 to UBI8 so that it can be run on our Production server (which is
currently RHEL-8.7).

PBENCH-1181
util-linux depends on util-linux-core on RHEL 9, so the core dependencies will
end up being installed anyway; on RHEL 8, there is no separate package for the
core, so we'll get them that way there.
@webbnh
Copy link
Member Author

webbnh commented Jun 30, 2023

Subsequent investigation has revealed that the problem which this PR was intended to solve was caused by an explicit change to rsyslogd, which means that we're subject to the problem, regardless of the base container image that we select, when we upgrade the package (assuming that the base image wasn't already upgraded before we pull it).

The going-forward-useful portions of this PR are now in #3474, and so I'm closing this PR. (I'm expecting the rsyslogd problem to be resolved externally when the package is updated...soon.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Code Infrastructure Containerization Of and relating to the process of setting up and maintaining container images Server
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants