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

eBPF turn-off-ening #1667

Merged
merged 30 commits into from
Jun 3, 2024
Merged

eBPF turn-off-ening #1667

merged 30 commits into from
Jun 3, 2024

Conversation

Stringy
Copy link
Collaborator

@Stringy Stringy commented May 10, 2024

Description

  • Make slim and full collector images the same.

    • “full” images will not contain any drivers
  • Keep legacy driver builds on master, but separate them from the main CI workflow

    • This will maintain observability while still removing complexity
    • no kernel packer changes required in this case, though we could reduce the crawl frequency

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why you did not do so. (Valid reasons include "CI is sufficient" or "No testable changes")
In addition to reviewing your code, reviewers must also review your testing instructions, and make sure they are sufficient.

For more details, ref the Confluence page about this section.

@Stringy Stringy requested a review from a team as a code owner May 10, 2024 13:02
@Stringy Stringy added the run-multiarch-builds Run steps for non-x86 archs. label May 10, 2024
Copy link
Collaborator

@Molter73 Molter73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The turn-off-ening?! So big a kerfuffle was never seen before!!

.github/workflows/collector.yml Outdated Show resolved Hide resolved
.github/workflows/collector.yml Outdated Show resolved Hide resolved
.github/workflows/main.yml Show resolved Hide resolved
ansible/ci-build-collector.yml Outdated Show resolved Hide resolved
@Stringy Stringy added the run-cpaas-steps Trigger CI steps related to cPaaS label May 10, 2024
@Stringy Stringy force-pushed the giles/ebpf-turnoffening branch 2 times, most recently from e103ce3 to 52e9184 Compare May 13, 2024 08:31
.github/workflows/collector.yml Outdated Show resolved Hide resolved
.github/workflows/cpaas.yml Outdated Show resolved Hide resolved
.github/workflows/cpaas.yml Outdated Show resolved Hide resolved
.github/workflows/cpaas.yml Outdated Show resolved Hide resolved
.github/workflows/cpaas.yml Outdated Show resolved Hide resolved
ansible/group_vars/all.yml Show resolved Hide resolved
ansible/roles/create-vm/tasks/main.yml Outdated Show resolved Hide resolved
ansible/roles/create-vm/tasks/main.yml Outdated Show resolved Hide resolved
collector/lib/HostHeuristics.cpp Outdated Show resolved Hide resolved
kernel-modules/BLOCKLIST Outdated Show resolved Hide resolved
Copy link
Contributor

@erthalion erthalion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After a quick look everything sounds good, thanks. The CI pipeline seems to be unhappy though, is it expected?

ansible/roles/create-vm/tasks/main.yml Show resolved Hide resolved
@Stringy Stringy removed run-cpaas-steps Trigger CI steps related to cPaaS run-multiarch-builds Run steps for non-x86 archs. labels May 23, 2024
@Stringy Stringy added all-integration-tests run-cpaas-steps Trigger CI steps related to cPaaS run-multiarch-builds Run steps for non-x86 archs. labels May 23, 2024
Copy link
Contributor

@erthalion erthalion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. A few commentaries, but they could be addressed in follow-up PRs.

.github/workflows/main-drivers.yml Show resolved Hide resolved
if (host.IsRHEL86()) {
CLOG(INFO) << "RHEL 8.6 on ppc64le does not support CORE_BPF, switching to eBPF collection method.";
hconfig->SetCollectionMethod(CollectionMethod::EBPF);
if (k.kernel == 4 && k.major == 18 && k.build_id < 477) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It wont hurt to reference something here to explain why is that.

@Stringy Stringy merged commit b886aa9 into master Jun 3, 2024
67 checks passed
@Stringy Stringy deleted the giles/ebpf-turnoffening branch June 3, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
all-integration-tests run-cpaas-steps Trigger CI steps related to cPaaS run-multiarch-builds Run steps for non-x86 archs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants