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

Add setup for sos report #64

Merged
merged 3 commits into from
Aug 7, 2023
Merged

Add setup for sos report #64

merged 3 commits into from
Aug 7, 2023

Conversation

r0x0d
Copy link
Member

@r0x0d r0x0d commented Aug 3, 2023

SOS Report needs a special file in the /etc/sos.extras.d/ folder to be able to collect the log files for the worker. Since it won't have a special plugin in sosreport due to RHEL 7 being in maintenance mode, we will be using this strategy to make sure that sosreport will be able to collect our logs.

SOS Report needs a special file in the /etc/sos.extras.d/ folder to be
able to collect the log files for the worker. Since it won't have a
special plugin in sosreport due to RHEL 7 being in maintenance mode, we
will be using this strategy to make sure that sosreport will be able to
collect our logs.

Signed-off-by: Rodolfo Olivieri <[email protected]>
@r0x0d r0x0d requested a review from andywaltlova August 3, 2023 18:34
@r0x0d r0x0d self-assigned this Aug 3, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 3, 2023

Codecov Report

Patch coverage: 42.10% and project coverage change: -1.39% ⚠️

Comparison is base (cf2eedd) 66.23% compared to head (db0556b) 64.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
- Coverage   66.23%   64.84%   -1.39%     
==========================================
  Files           5        5              
  Lines         311      330      +19     
==========================================
+ Hits          206      214       +8     
- Misses         91       99       +8     
- Partials       14       17       +3     
Flag Coverage Δ
go-1.16 64.84% <42.10%> (-1.39%) ⬇️
go-1.20 64.84% <42.10%> (-1.39%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/main.go 0.00% <0.00%> (ø)
src/logger.go 67.34% <44.44%> (-13.30%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@andywaltlova andywaltlova left a comment

Choose a reason for hiding this comment

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

Just few questions, I am good with overall implementation and test ! 👍

src/logger.go Outdated Show resolved Hide resolved
src/main.go Outdated Show resolved Hide resolved
src/logger_test.go Outdated Show resolved Hide resolved
Signed-off-by: Rodolfo Olivieri <[email protected]>
* Update parameter for setupSosExtrasReport to match what is being
passed to the function.
* Include a comment to specify what is the expected format for the
sosreport file

Signed-off-by: Rodolfo Olivieri <[email protected]>
@r0x0d r0x0d merged commit b59b767 into oamg:main Aug 7, 2023
3 checks passed
@r0x0d r0x0d deleted the update-logger-path branch August 7, 2023 14:04
@r0x0d r0x0d mentioned this pull request Aug 10, 2023
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.

3 participants