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

PLT-338 Fixes for AL2023 image in packer for github actions runners #110

Merged
merged 35 commits into from
Oct 18, 2024

Conversation

gsf
Copy link
Member

@gsf gsf commented Aug 1, 2024

🎫 Ticket

https://jira.cms.gov/browse/PLT-338

🛠 Changes

Added block device mapping to match snapshot volume size for the AL2023 AMI.

ℹ️ Context

Upon switch to the new AL2023 AMI for github actions runner, we saw this error:

Volume of size 30GB is smaller than snapshot, expect size>= 31GB

This terraform fix allows for the instance to run, but we're now seeing this error in instance logs:

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

🧪 Validation

I ran packer and terraform locally to update the runner image and infra. The checks on this PR are running on the new runners.

@gsf gsf self-assigned this Aug 1, 2024
@gsf gsf requested a review from a team as a code owner August 1, 2024 14:32
@gsf gsf marked this pull request as draft September 26, 2024 20:00
@gsf gsf marked this pull request as ready for review October 17, 2024 17:53
@gsf gsf merged commit 0a21b69 into main Oct 18, 2024
3 checks passed
@gsf gsf deleted the plt-338-new-ami-fix branch October 18, 2024 14:47
ildesenesence pushed a commit that referenced this pull request Oct 30, 2024
…110)

## 🎫 Ticket

https://jira.cms.gov/browse/PLT-338

## 🛠 Changes

Added block device mapping to match snapshot volume size for the AL2023
AMI.

## ℹ️ Context

Upon switch to the new AL2023 AMI for github actions runner, we saw this
error:

```
Volume of size 30GB is smaller than snapshot, expect size>= 31GB
```

This terraform fix allows for the instance to run, but we're now seeing
this error in instance logs:

```
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
```

## 🧪 Validation

I ran packer and terraform locally to update the runner image and infra.
The checks on this PR are running on the new runners.
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