-
Notifications
You must be signed in to change notification settings - Fork 98
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
improvement(artifacts): switch to syslog-ng logs transport #9924
base: master
Are you sure you want to change the base?
Conversation
lets test all of the affected artifact tests in the PR (since in previous PR, we missed a few) |
Yes , i see that problem popped up for |
my guess, maybe we pass down the user-data for cloud-init a bit differently, if scylla is preinstalled or not |
@fruch For ssh logs transport we have some logic for this case, but not for syslog-ng:
|
49a3579
to
0a2c17d
Compare
e38417c
to
d66db5e
Compare
Switch artifacts tests from ssh to syslog-ng logs transport.
d66db5e
to
b2a4f6f
Compare
Switch artifacts tests from ssh to syslog-ng logs transport.
For most of the artifacts test cases simply changing logs transport from
ssh
tosyslog-ng
is enough.But there are also few scenarios where additional adjustments were needed:
SCT-sg-2
security group is added to theaws-sct-builders
launch templates. This change allows syslog-ng communication to pass firewall and send logsfrom DB nodes to builder instances.
nonroot syslog-ng process to send logs to remote log destination.
no-selinux-setup
option: SELinux policy is added to allow syslog-ng to use the port of the remote log destination.For
artifacts-amazon2023-*
configurations thessh
logs transport is still to be used due to amazonlinux/amazon-linux-2023#639.Closes: https://github.com/scylladb/qa-tasks/issues/1848
Closes: #8532
Fixes: #9925
Testing
AWS jenkins builders were updated after this change in sdcm/utils/aws_builder.py (i.e. additional SG is used in launch template):
Some artifacts tests on AWS backend:
Some artifacts tests on GCE backend:
Azure backend artifacts test:
Nonroot/selinux installation tests:
PR pre-checks (self review)
backport
labelsReminders
sdcm/sct_config.py
)unit-test/
folder)