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

[maas] Update MAAS plugin to collect logs for version 3.5+ #3340

Merged
merged 1 commit into from
Aug 25, 2023

Commits on Aug 23, 2023

  1. [maas] Support MAAS 3.5

    In MAAS 3.5, system journal is used by all the services, therefore the
    log size is significantly increased compared to the previous MAAS
    versions. For snap this means that `journalctl` might need a long time
    to collect and filter the log files before outputting them.
    
    This sometimes leads to `maas` plugin timeouts with 3.5 snap, as `sos`
    performs automatic log collection for services listed in `services`
    tuple without any filters other than unit name, unless explicitly
    specified by user. We want the plugin to work without additional params,
    so we service declaration for 3.5 snap is ommitted. Logs are collected
    via `add_journal` call with a sane default limit to avoid timeouts.
    
    Signed-off-by: Igor Brovtsin <[email protected]>
    brigaccess committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    df0d07b View commit details
    Browse the repository at this point in the history