<div dir="auto"><div>I had been poking at some updated documentation for OSA around remote journaling/centralized logging that I have been meaning to put in for review which may be useful here. I'll try and get to tidying it up in the next couple weeks.</div><div dir="auto"><br></div><div dir="auto">--Neil</div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sun, Jul 10, 2022, 10:04 Dmitriy Rabotyagov <<a href="mailto:noonedeadpunk@gmail.com">noonedeadpunk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">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 <a href="https://github.com/systemd/systemd/issues/5242" target="_blank" rel="noreferrer">https://github.com/systemd/systemd/issues/5242</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вс, 10 июл. 2022 г., 15:43 Dave Hall <<a href="mailto:kdhall@binghamton.edu" target="_blank" rel="noreferrer">kdhall@binghamton.edu</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Two further questions:<div dir="auto"><br></div><div dir="auto">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?</div><div dir="auto"><br></div><div dir="auto">Are there any relevant services deployed in a typical OSA deployment that don't log to journald? </div><div dir="auto"><br></div><div dir="auto">Thanks. </div><div dir="auto"><br></div><div dir="auto">-Dave</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jul 10, 2022, 6:02 AM Dmitriy Rabotyagov <<a href="mailto:noonedeadpunk@gmail.com" rel="noreferrer noreferrer" target="_blank">noonedeadpunk@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto">Hey,<div dir="auto"><br></div><div dir="auto">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.</div><div dir="auto"><br></div><div dir="auto">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 <a href="https://opendev.org/openstack/openstack-ansible-ops" rel="noreferrer noreferrer noreferrer" target="_blank">https://opendev.org/openstack/openstack-ansible-ops</a></div><div dir="auto">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.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">сб, 9 июл. 2022 г., 23:33 Dave Hall <<a href="mailto:kdhall@binghamton.edu" rel="noreferrer noreferrer noreferrer" target="_blank">kdhall@binghamton.edu</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>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?</div><div><br></div><div>Thanks.</div><div><br></div><div>-Dave </div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div>--</div><div>Dave Hall<br>Binghamton University<br><a href="mailto:kdhall@binghamton.edu" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">kdhall@binghamton.edu</a><br><br></div></div></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div></div></div>