~hloeung/charm-rsyslog-forwarder-ha:master

Last commit made on 2023-10-05
Get this branch:
git clone -b master https://git.launchpad.net/~hloeung/charm-rsyslog-forwarder-ha
Only Haw Loeung can upload to this branch. If you are Haw Loeung please log in for upload directions.

Branch merges

Branch information

Name:
master
Repository:
lp:~hloeung/charm-rsyslog-forwarder-ha

Recent commits

59425ea... by Haw Loeung

Merge remote-tracking branch 'hloeung/master'

ef54242... by Tianqi Xiao

SQLAlchemy 2.0 Migration

Reviewed-on: https://code.launchpad.net/~txiao/charm-rsyslog-forwarder-ha/+git/charm-rsyslog-forwarder-ha/+merge/452565
Reviewed-by: Andrea Ieri <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Eric Chen <email address hidden>

7d66382... by Tianqi Xiao

SQLAlchemy 2.0 Migration

SQLAlchemy 1.x is now considered "legacy version" and implicit
engine execution has been removed [1], causing errors in the
program. This MP fixes the issue and makes the code sqlalchemy
2.0 compatible.

Minor changes in functional test:
- replace deprecated "workload-status-message" with
"workload-status-message-prefix"
- use "jammy" bundle for smoke test

[1]: https://docs.sqlalchemy.org/en/14/changelog/migration_20.html#implicit-and-connectionless-execution-bound-metadata-removed

e6a1d2e... by Haw Loeung

Fix lint errors

34b8974... by Haw Loeung

Rework additional logs

ebe22fe... by Haw Loeung

Remove duplicate logging for kern.* and mail.*

We're logging kern.* and mail.* to separate log files so no need to
also log them to /var/log/syslog.

6b8844f... by Haw Loeung

Comment out output to files that don't exist by default

This fixes issues with newer hosts and permission denied. E.g.:

Jul 28 00:00:01 csb-fw1 rsyslogd: file '/var/log/cron.log': open error: Permission denied [v8.2112.0 try https://www.rsyslog.com/e/2433 ]
Jul 28 00:00:03 csb-fw1 rsyslogd: file '/var/log/user.log': open error: Permission denied [v8.2112.0 try https://www.rsyslog.com/e/2433 ]
Jul 28 00:00:38 csb-fw1 rsyslogd: file '/var/log/daemon.log': open error: Permission denied [v8.2112.0 try https://www.rsyslog.com/e/2433 ]
Jul 28 00:00:38 csb-fw1 rsyslogd: file '/var/log/messages': open error: Permission denied [v8.2112.0 try https://www.rsyslog.com/e/2433 ]

f3e1f4c... by Mert Kirpici

Close LP #1998094

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-rsyslog-forwarder-ha/+git/charm-rsyslog-forwarder-ha/+merge/433726
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>
Reviewed-by: Ramesh Sattaru <email address hidden>

bae8df6... by Mert Kirpici

tox: move flake8 config comments to new line

flake8 6.0.0 does not like it when the inline comments are on the same
line as the ignored rule.

Works-on: 1998094
Signed-off-by: Mert Kırpıcı <email address hidden>

88d8850... by Mert Kirpici

Fix tooling

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-rsyslog-forwarder-ha/+git/charm-rsyslog-forwarder-ha/+merge/433426
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-bootstack <email address hidden>