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

Enable SCC access logging if scc_access_logging variable is set #1519

Merged
merged 13 commits into from
Mar 4, 2024

Conversation

mtravitzky
Copy link
Contributor

@mtravitzky mtravitzky commented Feb 28, 2024

This will enable the SCC access logger in testing deployments on the server if the variable scc_access_logging is defined in the terraform configuration file. This additional logging is needed for additional tests against SCC flooding in the test suite.

This will enable the SCC access logger in testing deployments
@mtravitzky mtravitzky self-assigned this Feb 28, 2024
Copy link
Contributor

@Bischoff Bischoff left a comment

Choose a reason for hiding this comment

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

See nitpicks

modules/server/variables.tf Outdated Show resolved Hide resolved
modules/server_containerized/variables.tf Outdated Show resolved Hide resolved
Copy link
Member

@srbarrios srbarrios left a comment

Choose a reason for hiding this comment

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

Please, review my comments.
The most important request is to don't enable this by default.
But there are other request that I would guess are critical for the correct behavior, like how we modify values in the containerized server.

Copy link
Contributor

@ktsamis ktsamis 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

Copy link
Contributor

@ktsamis ktsamis left a comment

Choose a reason for hiding this comment

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

Nope sorry we shouldn't enable by default for all servers. Oscar's review is more thorough

salt/server/tomcat.sls Outdated Show resolved Hide resolved
salt/server/tomcat.sls Outdated Show resolved Hide resolved
salt/server/tomcat.sls Outdated Show resolved Hide resolved
@srbarrios srbarrios requested a review from a team February 28, 2024 12:04
These changes can't be finalized at the moment.
mtravitzky and others added 3 commits February 28, 2024 14:31
Co-authored-by: Oscar Barrios <obarrios@suse.com>
The code before had some mistakes and bad design.
…aform

Merged current changes from suggestions.
salt/server/tomcat.sls Outdated Show resolved Hide resolved
Changed to a capital E
salt/server/tomcat.sls Outdated Show resolved Hide resolved
salt/server/tomcat.sls Outdated Show resolved Hide resolved
salt/server/tomcat.sls Outdated Show resolved Hide resolved
Applied some improvements to taskomatic.sls and tomcat.sls
Copy link
Member

@srbarrios srbarrios left a comment

Choose a reason for hiding this comment

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

Thank you so much. LGTM.

Copy link
Contributor

@NamelessOne91 NamelessOne91 left a comment

Choose a reason for hiding this comment

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

LGTM - Thanks Marc !

Copy link
Member

@nodeg nodeg left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you, Marc!

@nodeg nodeg dismissed ktsamis’s stale review February 29, 2024 12:15

Concerns already addressed and reviewed again by other team members.

Copy link
Contributor

@Bischoff Bischoff left a comment

Choose a reason for hiding this comment

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

LGTM

@nodeg nodeg changed the title Enable SCC access logging by default Enable SCC access logging if scc_access_logging variable is set Mar 1, 2024
salt/server/tomcat.sls Outdated Show resolved Hide resolved
Added spaces

Co-authored-by: Oscar Barrios <obarrios@suse.com>
@mtravitzky mtravitzky merged commit f4e765e into uyuni-project:master Mar 4, 2024
2 checks passed
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.

7 participants