-
Notifications
You must be signed in to change notification settings - Fork 109
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
service discovery: Add missing cgroup mount #1610
Conversation
Add a missing cgroup mount to system-probe which is required to get container information.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1610 +/- ##
==========================================
- Coverage 48.94% 48.77% -0.18%
==========================================
Files 227 235 +8
Lines 20636 21195 +559
==========================================
+ Hits 10101 10337 +236
- Misses 10010 10318 +308
- Partials 525 540 +15
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 11 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
/merge |
Devflow running:
|
* service discovery: Add missing cgroup mount Add a missing cgroup mount to system-probe which is required to get container information. * Update test
* service discovery: Add missing cgroup mount Add a missing cgroup mount to system-probe which is required to get container information. * Update test Co-authored-by: Vincent Whitchurch <[email protected]>
What does this PR do?
Add a missing cgroup mount to system-probe which is required to get container information for service discovery.
This was not required for earlier agent releases but will be from version 7.61 of the agent.
Motivation
Bug found during manual testing of latest agent release.
Additional Notes
The same mount is already added for other features like USM/NPM.
Minimum Agent Versions
Describe your test plan
Follow the instructions on #1449 except use at least version
7.61.0-rc.10
of the agent.Run the following command in the system-probe container to check that the
container_id
is filled:Checklist
bug
,enhancement
,refactoring
,documentation
,tooling
, and/ordependencies
qa/skip-qa
label