opendevreview | Jonathan Rosser proposed openstack/openstack-ansible master: Move all ancilliary zuul jobs to ubuntu noble https://review.opendev.org/c/openstack/openstack-ansible/+/932084 | 10:32 |
---|---|---|
opendevreview | Dmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Update mariadb to 11.4.4 https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/922377 | 11:07 |
noonedeadpunk | jrosser: 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 idea | 15:37 |
noonedeadpunk | except adding to user-role-requirements and extending ANSIBLE_ROLES_PATH | 15:38 |
jrosser | I think we have some separate playbooks and ansible repo | 15:39 |
jrosser | but make it combine the osa inventory | 15:39 |
noonedeadpunk | I see | 15:40 |
jrosser | and I think it also pulls in some other inventories too, like the ceph cluster | 15:40 |
noonedeadpunk | I wonder how much work would it be to make it a collection | 15:41 |
jrosser | so that the plays for beats or whatever can target “all the things” | 15:41 |
jrosser | that would be a good thing to make it a collection | 15:42 |
* noonedeadpunk will try to look during weekends | 15:42 | |
jrosser | it likley needs a refresh as well generally /o\ | 15:42 |
noonedeadpunk | I can recall some report that it uses injected_facts_as_vars | 15:43 |
jrosser | this could be another place to make some hooks | 15:43 |
noonedeadpunk | yeah, true | 15:44 |
jrosser | like “run extra roles as part of openstack_hosts” or something | 15:44 |
jrosser | once those are fqcn to roles it’s all easier | 15:44 |
noonedeadpunk | but wanna start with small thing - how to use on deploy host without messing everything up. and playbooks look nice enough | 15:44 |
noonedeadpunk | except on how to get them in | 15:45 |
jrosser | tbh I think our use is complex | 15:45 |
noonedeadpunk | yeah, I already got that :D | 15:45 |
jrosser | because we have separate deployments of osa and ceph with independent inventories | 15:45 |
jrosser | but you need to roll out the monitoring across the whole lot | 15:46 |
noonedeadpunk | well, in terms of elk you need to rollout pretty much only journalbeat? | 15:46 |
noonedeadpunk | so basically define journalbeat group in each inventory as children of all_hosts or smth like that | 15:47 |
jrosser | pretty much | 15:49 |
jrosser | and where the collection endpoint (logstash or whatever) is | 15:50 |
noonedeadpunk | yeah, true | 15:50 |
noonedeadpunk | (haven't found still variable for it) | 15:50 |
noonedeadpunk | sounds like it must be group | 15:50 |
jrosser | I expect that there could be some improvements for setting that optionally with a var | 15:51 |
jrosser | because it’s likely that the playbooks/roles expect to understanding the whole elk stack so would have those groups populated | 15:52 |
noonedeadpunk | so 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 |
noonedeadpunk | oh. probably I don't even need that... | 15:56 |
noonedeadpunk | as roles folder is relative to the playbook... | 15:56 |
jrosser | there is a whole bunch of stuff in the ops repo about how to do shared/composite inventories | 15:57 |
jrosser | but it is complicated | 15:57 |
noonedeadpunk | so question basically on how to just integrate openstack to already existing elk which is historically present | 15:58 |
jrosser | I can’t see the code really now (travelling) but there might be some small assumptions in the bears role that need fixing for that | 15:59 |
jrosser | *beats | 16:00 |
jrosser | like you say could be using logstash group members to template the endpoints | 16:00 |
noonedeadpunk | yeah, that I guess I'll figure out somehow... | 16:01 |
jrosser | but for your use case there is real value in having it as a collection | 16:02 |
jrosser | as you have no need to mix inventories or anything | 16:02 |
noonedeadpunk | yeah | 16:02 |
noonedeadpunk | and first error I occured was what I talked about - 'ansible_service_mgr' is undefined | 16:03 |
noonedeadpunk | ok, I will take a look during weekends on that | 16:03 |
jrosser | cool | 16:03 |
noonedeadpunk | thanks for helping out | 16:04 |
*** tosky_ is now known as tosky | 23:40 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!