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

fix(host-preflights): fix kernel modules host preflights for builtin #1888

Merged
merged 2 commits into from
Feb 18, 2025

Conversation

emosbaugh
Copy link
Member

@emosbaugh emosbaugh commented Feb 17, 2025

What this PR does / why we need it:

replicatedhq/troubleshoot#1737

kernelModule host collector does not take into account the modules.builtin file.

Collector and analyzer fail on some hosts with modules built in.

[   33.194758] cloud-init[974]: ✗  4 host preflights failed
[   33.195554] cloud-init[974]:  •  The 'overlay' kernel module is not loaded or loadable
[   33.196514] cloud-init[974]:  •  The 'ip_tables' kernel module is not loaded or loadable
[   33.196950] cloud-init[974]:  •  The 'br_netfilter' kernel module is not loaded or loadable
[   33.197368] cloud-init[974]:  •  The 'nf_conntrack' kernel module is not loaded or loadable
[   33.197597] cloud-init[974]: Please address these issues and try again.

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?

Fixes kernelModules host preflights for environments where kernel modules are built in.

Does this PR require documentation?

Copy link

github-actions bot commented Feb 17, 2025

This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID.

Online Installer:

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/appver-dev-19609bb" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Airgap Installer (may take a few minutes before the airgap bundle is built):

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci-airgap/appver-dev-19609bb?airgap=true" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Happy debugging!

@emosbaugh emosbaugh force-pushed the emosbaugh/20250217/disable-kernel-modules-preflights branch from 31986f8 to 8bbe019 Compare February 17, 2025 23:02
@emosbaugh emosbaugh changed the title fix(host-preflights): disable kernel modules host preflights fix(host-preflights): fix kernel modules host preflights for builtin Feb 17, 2025
@emosbaugh emosbaugh requested a review from laverya February 18, 2025 01:49
@emosbaugh emosbaugh enabled auto-merge (squash) February 18, 2025 02:16
@emosbaugh emosbaugh merged commit bc9b934 into main Feb 18, 2025
67 checks passed
@emosbaugh emosbaugh deleted the emosbaugh/20250217/disable-kernel-modules-preflights branch February 18, 2025 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants