Sunday, 2024-04-21

*** mhen_ is now known as mhen01:09
*** mhen_ is now known as mhen02:05
birbilisHi everyone, new openstack joinee here... I have a recent openstack-ansible deployment and I'm looking for a way to get the lxc container logs, particularly journal entries, from the controller hosts via promtail. Any way I can do that without attaching to each container separately? Thank you!07:45
jrosser_birbilis: the container journals are all bind mounted onto the host /var/log/journal07:57
jrosser_you can see this setup in the config ifile n /var/lib/lxc/<container>/config07:58
jrosser_i would also suggest joining #openstack-ansible IRC channel07:59
jrosser_it is though a different question if promtail is smart enough to read multiple journal files. this is certainly possible with the elk log collection beat08:01
birbilisThank you jrosser_! If that's the case, leaving promtail aside, how can I view those logs from the controller host then? journalctl -f doesn't seem to get them08:18
jrosser_-f is not what you think - it's "follow" not "file"08:19
jrosser_--file i think instead08:19
birbiliswow, you are right! just using journalctl -f --file /var/log/journal/b1c7786ab685451d839945337b635992/system.journal got me the live logs of the keystone container08:23
damexfrickler: can i use something else for identity management instead of keystone in minimal setup? like ldap or even local unix accounts? maybe glance could be replaced with something else? atleast at the initial implementation08:54

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!