Thursday, 2024-11-07

opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Move all ancilliary zuul jobs to ubuntu noble  https://review.opendev.org/c/openstack/openstack-ansible/+/93208410:32
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Update mariadb to 11.4.4  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/92237711:07
noonedeadpunkjrosser: do you have any good way to consume elk part of ops repo? as I was looking on how to utilize just journalbeat part for now and don't have any bright idea15:37
noonedeadpunkexcept adding to user-role-requirements and extending ANSIBLE_ROLES_PATH15:38
jrosserI think we have some separate playbooks and ansible repo15:39
jrosserbut make it combine the osa inventory15:39
noonedeadpunkI see15:40
jrosserand I think it also pulls in some other inventories too, like the ceph cluster15:40
noonedeadpunkI wonder how much work would it be to make it a collection15:41
jrosserso that the plays for beats or whatever can target “all the things”15:41
jrosserthat would be a good thing to make it a collection15:42
* noonedeadpunk will try to look during weekends15:42
jrosserit likley needs a refresh as well generally /o\15:42
noonedeadpunkI can recall some report that it uses injected_facts_as_vars15:43
jrosserthis could be another place to make some hooks15:43
noonedeadpunkyeah, true15:44
jrosserlike “run extra roles as part of openstack_hosts” or something15:44
jrosseronce those are fqcn to roles it’s all easier15:44
noonedeadpunkbut wanna start with small thing - how to use on deploy host without messing everything up. and playbooks look nice enough15:44
noonedeadpunkexcept on how to get them in15:45
jrossertbh I think our use is complex15:45
noonedeadpunkyeah, I already got that :D15:45
jrosserbecause we have separate deployments of osa and ceph with independent inventories15:45
jrosserbut you need to roll out the monitoring across the whole lot15:46
noonedeadpunkwell, in terms of elk you need to rollout pretty much only journalbeat?15:46
noonedeadpunkso basically define journalbeat group in each inventory as children of all_hosts or smth like that15:47
jrosserpretty much15:49
jrosserand where the collection endpoint (logstash or whatever) is15:50
noonedeadpunkyeah, true15:50
noonedeadpunk(haven't found still variable for it)15:50
noonedeadpunksounds like it must be group15:50
jrosserI expect that there could be some improvements for setting that optionally with a var15:51
jrosserbecause it’s likely that the playbooks/roles expect to understanding the whole elk stack so would have those groups populated15:52
noonedeadpunkso I assume `export ANSIBLE_ROLES_PATH="${ANSIBLE_ROLES_PATH}:/etc/ansible/roles/osa-ops/elk_metrics_7x/roles" in /etc/openstack_deploy/user.rc should do the trick mostly...15:55
noonedeadpunkoh. probably I don't even need that...15:56
noonedeadpunkas roles folder is relative to the playbook...15:56
jrosserthere is a whole bunch of stuff in the ops repo about how to do shared/composite inventories15:57
jrosserbut it is complicated15:57
noonedeadpunkso question basically on how to just integrate openstack to already existing elk which is historically present15:58
jrosserI can’t see the code really now (travelling) but there might be some small assumptions in the bears role that need fixing for that15:59
jrosser*beats16:00
jrosserlike you say could be using logstash group members to template the endpoints16:00
noonedeadpunkyeah, that I guess I'll figure out somehow...16:01
jrosserbut for your use case there is real value in having it as a collection16:02
jrosseras you have no need to mix inventories or anything16:02
noonedeadpunkyeah16:02
noonedeadpunkand first error I occured was what I talked about - 'ansible_service_mgr' is undefined16:03
noonedeadpunkok, I will take a look during weekends on that16:03
jrossercool16:03
noonedeadpunkthanks for helping out16:04
*** tosky_ is now known as tosky23:40

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