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

Pull containers #351

Merged
merged 13 commits into from
Jan 16, 2024
Merged

Pull containers #351

merged 13 commits into from
Jan 16, 2024

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Jan 16, 2024

  • Pulls container images during fat image build and before service start. This avoids service start failures from slow pulls / docker.io rate limits.
  • Can optionally disable base OS package updates during image build to speed-up debugging.
  • New fat image build:
  • Removes the move of podman tmp dir to a tmpfs//tmp introduced by Use systemd for opendistro/kibana/filebeat #52; this appears to no longer be necessary (i.e. containers/services restart OK after a reboot) and in fact causes any podman to fail after a reboot with Error: cannot re-exec process to join the existing user namespace.
  • Uses FIP for fat image build on Arcus to avoid docker rate limits on network outbound IP

@sjpb
Copy link
Collaborator Author

sjpb commented Jan 16, 2024

Fat image build: https://github.com/stackhpc/ansible-slurm-appliance/actions/runs/7541194661 openhpc-240116-1156-aa8dba7d

@sjpb
Copy link
Collaborator Author

sjpb commented Jan 16, 2024

at 55b3517:

  1. manually deployed cluster
  2. checked podman commands worked, containers running, services up
  3. rebooted control node
  4. repeated step 2

@sjpb sjpb marked this pull request as ready for review January 16, 2024 14:03
@sjpb sjpb requested a review from a team as a code owner January 16, 2024 14:03
@sjpb sjpb changed the title Fix/podman tmp Pull containers Jan 16, 2024
Copy link
Collaborator

@m-bull m-bull left a comment

Choose a reason for hiding this comment

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

LGTM - thanks for all of the debugging effort!

@sjpb sjpb merged commit 6f6ed2b into main Jan 16, 2024
1 check passed
@sjpb sjpb deleted the fix/podman-tmp branch January 16, 2024 14:15
This was referenced Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants