Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

coreos-base/oem-packet: Use i386 serial settings for x86_64 to fix m3 #2122

Merged
merged 1 commit into from
Sep 1, 2022

Conversation

pothos
Copy link
Contributor

@pothos pothos commented Aug 30, 2022

The m3.small.x86 instance type had no serial console output because
ttyS0 was used because the GRUB CPU check didn't trigger. It seems that
most instances had i386 reported but this new one not (maybe EFI is
used here?).
Extend the GRUB check to cover both i386 and x86_64 when setting up the
serial console. For arm64 this still shouldn't be needed and the
defaults worked so far.

How to use

Test again on other instance types that the serial console works as expected.

Backport

Testing done

On m3.small, c3.medium, s3.xlarge

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)

The m3.small.x86 instance type had no serial console output because
ttyS0 was used because the GRUB CPU check didn't trigger. It seems that
most instances had i386 reported but this new one not (maybe EFI is
used here?).
Extend the GRUB check to cover both i386 and x86_64 when setting up the
serial console. For arm64 this still shouldn't be needed and the
defaults worked so far.
@pothos
Copy link
Contributor Author

pothos commented Sep 1, 2022

It seems the Equinix Metal provisioning logic already appends set linux_console="console=tty0 console=ttyS1,115200n8" to the grub.cfg file because the if condition wasn't met. Not sure how - I guess by injecting an ignition argument or through a custom image?

@pothos pothos merged commit 7a5771f into main Sep 1, 2022
@pothos pothos deleted the kai/equinix-metal-m3.small branch September 1, 2022 11:36
pothos added a commit that referenced this pull request Sep 1, 2022
coreos-base/oem-packet: Use i386 serial settings for x86_64 to fix m3
pothos added a commit that referenced this pull request Sep 1, 2022
coreos-base/oem-packet: Use i386 serial settings for x86_64 to fix m3
pothos added a commit that referenced this pull request Sep 1, 2022
coreos-base/oem-packet: Use i386 serial settings for x86_64 to fix m3
pothos added a commit that referenced this pull request Sep 1, 2022
coreos-base/oem-packet: Use i386 serial settings for x86_64 to fix m3
pothos added a commit that referenced this pull request Sep 1, 2022
coreos-base/oem-packet: Use i386 serial settings for x86_64 to fix m3
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants