*** mhen_ is now known as mhen | 01:09 | |
*** mhen_ is now known as mhen | 02:05 | |
birbilis | Hi 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/journal | 07:57 |
jrosser_ | you can see this setup in the config ifile n /var/lib/lxc/<container>/config | 07:58 |
jrosser_ | i would also suggest joining #openstack-ansible IRC channel | 07: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 beat | 08:01 |
birbilis | Thank 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 them | 08:18 |
jrosser_ | -f is not what you think - it's "follow" not "file" | 08:19 |
jrosser_ | --file i think instead | 08:19 |
birbilis | wow, you are right! just using journalctl -f --file /var/log/journal/b1c7786ab685451d839945337b635992/system.journal got me the live logs of the keystone container | 08:23 |
damex | frickler: 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 implementation | 08:54 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!