[OpenStack-Ansible] Log Aggregation in Yoga

Dmitriy Rabotyagov noonedeadpunk at gmail.com
Sun Jul 10 13:59:57 UTC 2022

Btw journald-remote on itself has quite a few long-lasting bugs, and it's
development seems quite absent as of today. Most significant one is
regarding rotation of logs on the remote server, check

вс, 10 июл. 2022 г., 15:43 Dave Hall <kdhall at binghamton.edu>:

> Two further questions:
> After looking a bit further, journald seems to have the ability to forward
> to an journald aggregation target.  Is there an option in OpenStack-Ansible
> to configure this in all of the deployed containers?
> Are there any relevant services deployed in a typical OSA deployment that
> don't log to journald?
> Thanks.
> -Dave
> On Sun, Jul 10, 2022, 6:02 AM Dmitriy Rabotyagov <noonedeadpunk at gmail.com>
> wrote:
>> Hey,
>> Yes, indeed, we do store all logs with journald nowadays and rsyslog is
>> not being used. These roles and documentation is our technical debt and we
>> should have deprecated that back in Victoria.
>> Journald for containers is bind mounted and you can check for all
>> container logs on host. At the same time there plenty of tools to convert
>> journald to any format of your taste including rsyslog. To have that said,
>> I would discourage using rsyslog as with that you loose tons of important
>> metadata and it's hard to parse them properly. If you're using any central
>> logging tool, like elk or graylog, there re ways to forward journal to
>> these as well. We also have roles for elk or graylog in our ops repo
>> https://opendev.org/openstack/openstack-ansible-ops
>> Though we don't provide support for them, thus don't guarantee they're
>> working as expected and some effort might be needed to update them.
>> сб, 9 июл. 2022 г., 23:33 Dave Hall <kdhall at binghamton.edu>:
>>> Hello,
>>> I've been told that Openstack now uses journald rather than rsyslog, but
>>> the Yoga docs still show a log aggregation host.  Although I still prefer
>>> rsyslog, what I really prefer is to have logs for all hosts in the cluster
>>> collected in one place.  How do I configure this for a fresh installation?
>>> Is it reasonable to assign this duty to an infrastructure host?
>>> Thanks.
>>> -Dave
>>> --
>>> Dave Hall
>>> Binghamton University
>>> kdhall at binghamton.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20220710/218db6a3/attachment.htm>

More information about the openstack-discuss mailing list