plus3it / plus3it/spel

[ENHANCEMENT] Add bootstrap-builder to scripts collection

Open
#647 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
105
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Need to facilitate the building of custom bootstrap images to facilitate the possible use of the amazon-chroot Packer-builder. The amazon-ebs Packer-builder was the method used for EL 6-8 and would be preferred for EL9. It allows the used of vendor-published bootstrap AMIs, generally avoiding the need to maintain bootstrap AMIs. However, it currently appears that Kernel 5.14 (used by RHEL 9.x) through 6.1 (used by the Amazon 2023 AMIs) appear to have issues preventing the correct functioning of the pivot-root capability necessary to allow the amazon-ebs Packer-builder to work for RHEL 9+ (or Amazon 2023) image-types. Support/bug-report tickets have been opened with both Red Hat (Issue RHEL-17421) and AWS.

The amazon-chroot Packer-builder, per its detailed requirements indicates:

…This must be an EBS-backed AMI with a root volume snapshot that you have access to. Note: this is not used when from_scratch is set to true.

Maintaining a builder-owned bootstrap AMI, vice relying on the vendor-managed bootstrap AMIs, should satisfy this requirement.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. Start by inspecting the scripts collection and its existing amazon-ebs Packer workflow, then review the linked amazon-chroot requirements and the bootstrap AMI constraints. Done means a builder-owned bootstrap image workflow is defined and supports the requested EL9 and Amazon 2023 image types.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, shell
Domain
build-system, cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.