aws / aws/aws-parallelcluster

(3.13.1) Build Image Fails on Rocky 9

Open
#6,874 1 comment 0 reactions 0 assignees View on GitHub
3.x Known Issue Mitigated
Dominant language
Python
Stars
888
Forks
314
Avg merge
1d 10h
Merged PRs (30d)
43

Description

# The issue

Building a custom image with pcluster build-image fails on Rocky 9, because ParallelCluster pins `kernel-abi-stablelists and kernel-devel` to the wrong version if the packages are not installed in the parent image. This issue is surfaced in CloudWatch log `/aws/imagebuilder/`:

```
Problem 1: package efa-2.15.0-1.el9.x86_64 from @commandline requires kernel-abi-stablelists, but none of the providers can be installed'
```

# Affected ParallelCluster versions, OSes

* ParallelCluster version 3.13.1
* Rocky 9 <= 9.5
* Clusters using already built custom images or PCluster official images are not affected

# Mitigation

Please see the mitigation mentioned [here](https://github.com/aws/aws-parallelcluster/wiki/(3.13.1)-Build-Image-Fails-on-Rocky-9)

Contributor guide

Open the contributing guide

Research direction

Start with the CloudWatch log at /aws/imagebuilder/ and review the linked Rocky 9 mitigation in the ParallelCluster wiki. Trace where the kernel-abi-stablelists and kernel-devel versions are selected for custom image builds, then verify that a Rocky 9 build succeeds without the documented mitigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, linux, python
Domain
build-system, cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.