Wednesday, 2024-07-03

jrossermoving the playbooks to a collection is pretty involved07:22
jrosseri think it's quite some work compared to just copy/paste the files across07:22
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use openstack.osa.install_defaults role instead of vars_files  https://review.opendev.org/c/openstack/openstack-ansible/+/92335807:47
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use openstack.osa.install_defaults role instead of vars_files  https://review.opendev.org/c/openstack/openstack-ansible/+/92335807:51
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-openstack_openrc master: Add openrc_clouds_yml_file_default_scope variable  https://review.opendev.org/c/openstack/openstack-ansible-openstack_openrc/+/92335908:05
opendevreviewAndrew Bonney proposed openstack/openstack-ansible-openstack_openrc master: Prevent conflicts between openrc files  https://review.opendev.org/c/openstack/openstack-ansible-openstack_openrc/+/92336008:05
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Add haproxy_endpoint_manage role  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92336308:35
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove remove_container_journal common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336608:58
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove dynamic-grouping common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336708:58
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy_endpoint_manage role from osa collection rather than common-tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/92336809:03
jrossernoonedeadpunk: if you are around today would be interested in opinion on this https://github.com/openstack/openstack-ansible/blame/master/playbooks/common-tasks/os-log-dir-setup.yml09:10
jrosserit looks almost unused, and some special case only for utility host in a metal deploy09:10
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use openstack.osa.install_defaults role instead of vars_files  https://review.opendev.org/c/openstack/openstack-ansible/+/92335811:04
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove remove_container_journal common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336611:04
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove dynamic-grouping common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336711:04
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use openstack.osa.install_defaults role instead of vars_files  https://review.opendev.org/c/openstack/openstack-ansible/+/92335811:17
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove remove_container_journal common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336611:17
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove dynamic-grouping common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336711:17
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy_endpoint_manage role from osa collection rather than common-tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/92336811:17
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use openstack.osa.install_defaults role instead of vars_files  https://review.opendev.org/c/openstack/openstack-ansible/+/92335811:18
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove remove_container_journal common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336611:19
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove dynamic-grouping common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336711:19
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy_endpoint_manage role from osa collection rather than common-tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/92336811:19
opendevreviewMerged openstack/openstack-ansible-galera_server master: Remove xinetd clean-up tasks  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/92281911:58
noonedeadpunkjrosser: yeah, that pretty much looks not very important and I think we can drop safely12:07
noonedeadpunkjrosser: there's actually a quite big consideration about install_defaults role - that there's no good way (except extra_vars) on how to override vars there12:11
jrosserhmm - i wonder if this will work https://review.opendev.org/c/openstack/openstack-ansible/+/923358/5/playbooks/healthcheck-infrastructure.yml12:12
noonedeadpunkI was thinking... Maybe we can change the role a bit, and instead do defaults_from?12:13
jrossersorry this https://review.opendev.org/c/openstack/openstack-ansible/+/923358/5/playbooks/healthcheck-infrastructure.yml#9612:13
jrossernote that it is `import_role` too, this is the only way to make it work12:14
jrosser`include_role` does not leave the role vars in scope past where it is included12:14
noonedeadpunkimport has `defaults_from` as well12:14
noonedeadpunkhm12:15
noonedeadpunkI can recall you had a hussle with that...12:15
jrosseryes i already had to put this in the plugins repo for the mcapi stuff and it was pretty awkward12:15
jrosserso the remaining work is to tidy up / convert the rest of the usage of it12:15
jrosserbut having said that, the mcapi use case is only source install so there could be issues there12:16
noonedeadpunkI _think_ include_role works now as well, just in case12:26
noonedeadpunkso... this would work as well from what I can tell but would fix variable scoping...12:30
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-plugins master: Modify install_defaults to be more overridable  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92339012:35
noonedeadpunkthis ^12:35
noonedeadpunkand then: https://paste.openstack.org/show/bYGhgVk0hlHHjcKuK73Q/12:35
noonedeadpunk(sorry, drop `_new` in role name - was testing without messing up too much12:35
noonedeadpunkI was checking for `openstack_db_setup_host` inside executed role and it was there as long as role was imported/includd12:36
noonedeadpunkif that makes any sense?12:40
noonedeadpunkinterestingly, such import is not even renderred in logs12:41
noonedeadpunkand, I can confirm that in current setup group_vars are ignored12:44
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Update format of install_defaults  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/92339212:49
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Update format of install_defaults  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/92339212:50
noonedeadpunkor we can probably test with that ^12:50
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy_endpoint_manage role from osa collection rather than common-tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/92336813:22
jrossernoonedeadpunk: ^ on this one your advice on correct way to do tags would be good - i always forget which way to do it :)13:24
mgariepyhmm anyone has seen issue with placement allocation ? i have a gpu passthrough and it seems that one vm that have 2 gpus got allocated 3 gpus in placement..13:35
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove os-log-dir-setup common playbook  https://review.opendev.org/c/openstack/openstack-ansible/+/92340213:37
andrewbonneymgariepy: I think we saw an issue with the legacy nova tracking method once, but I couldn't replicate it. We haven't had chance to try the placement-based pci tracking yet13:38
mgariepythat's kinda weird..13:41
mgariepyi think i see what happened. the server got resized from 1 gpus to 2. i guess it didn't cleaned up the allocation on placement afeter the migraiton/resize.13:44
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Add gather_extra_facts role  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92340313:46
*** gaudenz_ is now known as gaudenz13:49
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use gather_extra_facts role from plugins collection  https://review.opendev.org/c/openstack/openstack-ansible/+/92340513:51
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Add unbound_clients role  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92340714:08
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use unbound_clients role from plugins collection  https://review.opendev.org/c/openstack/openstack-ansible/+/92340914:11
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Add dynamic_address_fact role  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/92341014:21
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use dynamic_address_fact role from plugins collection  https://review.opendev.org/c/openstack/openstack-ansible/+/92341114:25
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove remove_container_journal common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336614:30
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove dynamic-grouping common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336714:31
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy_endpoint_manage role from osa collection rather than common-tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/92336814:31
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy_endpoint_manage role from osa collection rather than common-tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/92336814:36
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use unbound_clients role from plugins collection  https://review.opendev.org/c/openstack/openstack-ansible/+/92340914:42
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove remove_container_journal common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336614:59
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove dynamic-grouping common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336714:59
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy_endpoint_manage role from osa collection rather than common-tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/92336814:59
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_magnum master: Add test for high-availability mcapi control plane  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/92317415:37
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use unbound_clients role from plugins collection  https://review.opendev.org/c/openstack/openstack-ansible/+/92340915:51
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove remove_container_journal common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336615:58
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove remove_container_journal common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336616:04
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Remove dynamic-grouping common task file  https://review.opendev.org/c/openstack/openstack-ansible/+/92336716:04
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Use haproxy_endpoint_manage role from osa collection rather than common-tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/92336816:04
opendevreviewMerged openstack/openstack-ansible-openstack_openrc master: Add openrc_clouds_yml_file_default_scope variable  https://review.opendev.org/c/openstack/openstack-ansible-openstack_openrc/+/92335917:29
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_magnum master: Add test for high-availability mcapi control plane  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/92317418:59
jrosserNeilHanlon: quick question - do you know what the kernel headers package is called on rocky so i can make this work there too? https://github.com/openstack/openstack-ansible-ops/blob/master/mcapi_vexxhost/playbooks/k8s_install.yml#L60-L6519:21
jrosserneeds to be the kernel headers that match the running kernel19:21
NeilHanlonjrosser: `kernel-headers-${version}` should do it19:23
NeilHanlonhttps://rockylinux.pkgs.org/9/rockylinux-appstream-x86_64/kernel-headers-5.14.0-427.22.1.el9_4.x86_64.rpm.html19:24
jrosserdo the older versions hang around a bit too?19:24
jrosseras i might have $age-of-ci-image kernel installed19:25
jrosserah well actually it is that exact version you mention currently `No package linux-headers-5.14.0-427.22.1.el9_4.x86_64 available.`19:28
jrosserso i just need to manipulate the package name between debians and rhel-alikes19:28
Balsaanyone got a good list of examples for flavors?20:21
jrosserBalsa: we made a very simple set like cpu1 cpu2 cpu4.... with 1:1 cpu cores/ram GB, and also std1, std2, std4... with 1:4 cpu cores/ram GB and that has covered most things for most users20:35
jrosserbut everyone has different requirements here i think20:36
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Add support for deploying mcapi control plane k8s on rocky linux  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/92344720:53
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_magnum master: Add test for high-availability mcapi control plane  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/92317420:54
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Add support for deploying mcapi control plane k8s on rocky linux  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/92344721:27

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