Thursday, 2023-04-13

opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rabbitmq_server stable/xena: Do not use 'always' tag in inappropriate places  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/87801708:10
noonedeadpunkSooo... https://review.opendev.org/c/openstack/openstack-ansible/+/880150 seems passing... 08:13
noonedeadpunkBut I think we might need some more testing...08:13
noonedeadpunklooking at CI logs things work as expected - online migrations are executed where they should08:16
noonedeadpunkall services are obviously restarted as well08:16
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_zun master: Install kata containers from source  https://review.opendev.org/c/openstack/openstack-ansible-os_zun/+/88028811:59
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Define external_network_id in magnum_cluster_templates  https://review.opendev.org/c/openstack/openstack-ansible/+/88004712:03
opendevreviewDamian Dąbrowski proposed openstack/openstack-ansible master: Fix haproxy_nova_api_metadata_service config  https://review.opendev.org/c/openstack/openstack-ansible/+/88030012:59
opendevreviewDamian Dąbrowski proposed openstack/openstack-ansible master: Revert "Skip haproxy with setup-infrastructure for upgrades"  https://review.opendev.org/c/openstack/openstack-ansible/+/88009113:00
opendevreviewMerged openstack/openstack-ansible master: Serve security.txt directly from haproxy  https://review.opendev.org/c/openstack/openstack-ansible/+/88011013:07
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-rabbitmq_server stable/wallaby: Switch rabbitmq repo back to packagecloud  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/88032413:47
noonedeadpunkwe have really broken Zun as well15:45
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_octavia master: Ensure service is restarted on unit file changes  https://review.opendev.org/c/openstack/openstack-ansible-os_octavia/+/88033916:11
noonedeadpunkbtw. I've got exact same issue just today in aio https://zuul.opendev.org/t/openstack/build/b6cefddfd3fc4984bf7d4b5363511b99/log/job-output.txt#612316:21
opendevreviewMerged openstack/openstack-ansible-ceph_client master: Improve regexp for fetching nova secret from files  https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/87181916:22
noonedeadpunkwhere sahara venv install tried to use uwsgi packages16:24
noonedeadpunkand this thing we did not see in CI16:24
noonedeadpunkhttps://paste.openstack.org/show/bmHTk8Pua9tPiGpEyo4a/16:24
noonedeadpunksmth sounds off with how variables are passed....16:25
noonedeadpunklike scope or smth...16:25
noonedeadpunkBUT if I comment out uwsgi role - it's all fine16:26
noonedeadpunkI have close to no idea wtf is that16:27
noonedeadpunkand why we don't see that in CI16:28
noonedeadpunkwell, with integrated jobs I mean16:28
noonedeadpunkreplacing import_role with include_role does the trick16:33
noonedeadpunkhm, maybe these are 2 different issues...16:35
noonedeadpunkbasically it breaks if both uwsgi and just python_venv_build role are improted. So looks like somehow, vars defined here https://opendev.org/openstack/ansible-role-uwsgi/src/branch/master/tasks/uwsgi_install.yml#L52 are also applied on import of python_venv_build in sahara role16:37
noonedeadpunkjrosser: don't you recall anything like that with messed up contexts?16:38
noonedeadpunkI think it's kinda close to our mess with include_vars that you've sorted out16:39
noonedeadpunkso looks like import_role does propogate and get all nested things imported as well along with their variables16:40
noonedeadpunkas there's also nothing in keystone role that would contain `openstack_hosts_package_state`16:44
noonedeadpunkI also wonder why I haven't seen anything like that before (as well as why we don't see that in CI)16:44
jrosserhello16:53
jrosserhmm yes16:56
jrosserwell i am never sure if we are in include vs. import territory here16:58
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-role-uwsgi master: Replace imports with dynamic includes  https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/88034416:58
noonedeadpunkyeah, it's kinda messed a lot...16:58
noonedeadpunkbtw, here another issue related I believe - https://zuul.opendev.org/t/openstack/build/608349326cda4c1cb8e87ec8c32c8ae317:02
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova master: Use include instead of import for conditional tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/87494717:03
noonedeadpunkI feel like smth was "fixed" in 2.1317:03
noonedeadpunkexcept facts. But potentially related to them17:04
noonedeadpunknah, 2.12.10 is same17:06
noonedeadpunkaha, so you also can't refference handlers from other roles in case they're not imported17:09
noonedeadpunk(but included)17:10
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova master: Use include instead of import for conditional tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/87494717:11
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Use include instead of import for conditional tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/87494917:14
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Use include instead of import for conditional tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/87494917:14
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Use include instead of import for conditional tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/87494917:15
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Use include instead of import for conditional tasks  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/87494917:16
noonedeadpunkOr well, you can, but include should be processed first17:16
noonedeadpunkI can't imagine how to navigate or review imports vs includes....17:17
jrosserthis is becase at some point the variable namespace is kind of flat17:23
jrosserand then with the wrong kind of import/include you accidentally find vars from some other invocation of the role being present when not expected17:24
jrosserthis makes my head hurt very very much :(17:24
opendevreviewMerged openstack/openstack-ansible-rabbitmq_server stable/xena: Do not use 'always' tag in inappropriate places  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/87801717:54
noonedeadpunklet's land these 2 patches and will do bump for final Xena release https://review.opendev.org/q/parentproject:openstack/openstack-ansible+branch:%255Estable/xena+status:open+18:26
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_glance stable/xena: Disable uWSGI if ceph is used as a store  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/87969918:29
mgariepydone18:30
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_masakari master: Drop apt_package_pinning from role requirements  https://review.opendev.org/c/openstack/openstack-ansible-os_masakari/+/88036019:32
noonedeadpunkthanks mgariepy!19:33
mgariepyit helps my sanity to do something beside trying to debug network issue :D19:33
damiandabrowskiugh, i have weird error when running trove playbook on my AIO19:37
damiandabrowskihttps://paste.openstack.org/raw/b2JLnZkMbfnYqlXwHqQZ/19:37
damiandabrowskii have no clue why it looks for uwsgi_build_distro_package_list19:38
damiandabrowskiI was also able to pass through this stage after I commented out Import uwsgi role task in os_trove role O.o19:38
jrosserdamiandabrowski: read the scollback a bit ... sounds similar to what noonedeadpunk was seeing earlier19:42
noonedeadpunk_exactly_ what I saw19:42
noonedeadpunkI wonder why it become issue now19:42
noonedeadpunkAs I've _never_ seen that before19:43
jrosserwhat did we do to trigger this i wonder19:43
noonedeadpunkHm, let me check in some older aio19:44
noonedeadpunkdamiandabrowski: while https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/880344 covers the issue, it would be sweet to find the root cause19:46
noonedeadpunkeventually just this change would fix it https://review.opendev.org/c/openstack/ansible-role-uwsgi/+/880344/1/tasks/uwsgi_install.yml19:47
damiandabrowskiahh, didn't see that patch, thanks19:47
damiandabrowskiFWIW today i deployed AIO with most services included in SCENARIO and I only saw this issue for: trove, zun and sahara19:48
noonedeadpunkyup, eventually it raises when `venv_build_distro_package_list` is not passed to python_venv_build and both uwsgi and python_venv_build are imported and not included19:50
noonedeadpunkIn case of any include somewhere - it's working19:50
noonedeadpunkso. older aio just failed the same way19:50
noonedeadpunklike 15do19:50
noonedeadpunkok, I have one more that is 45do19:52
damiandabrowskijust to confirm: #880344 helped me as well19:52
noonedeadpunknah, that old aio is borked...19:57
noonedeadpunkI obviously runed it19:57
jrosserdo we have other places with roles calling roles calling roles etc19:58
noonedeadpunkbut unless it's smth with dependencies, like updated native python on destination or smth like then, then it's unlikely we broke behaviour with some latest change....19:58
noonedeadpunkyou know we have plenty of them...19:59
opendevreviewMerged openstack/openstack-ansible-galera_server stable/xena: fix indentation for condition  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/87948019:59
jrossertbh i have never really been completely comfortable with which should be used when20:00
noonedeadpunkbut it's also "respecting" prescedence20:00
noonedeadpunkSo despite uwsgi is "imported" after python_venv_build, but it will get role defaults overriden.20:01
noonedeadpunkpython_venv_build defaults20:01
noonedeadpunkBut then if you define the same var again - during your import - it will be respected20:02
noonedeadpunkyeah, same for me... Eventually I know only the cases where import can't be used at all...20:02
noonedeadpunkBut now I also know that in case of using include, you can't reffer handlers from that role before include is done20:02
noonedeadpunkSo first notify will fail20:03
noonedeadpunkI kinda wonder... couldn't it be, that some collection added `import_role`....20:03
noonedeadpunkAnd we're using not builtin now, but smth else....20:03
noonedeadpunkas we've merged collection bump not that long ago20:04
noonedeadpunkthat would explain a lot of things20:04
noonedeadpunkbut changing to ansible.builtin.import_role didn't help20:07
noonedeadpunkalso grep through installed collections return nothing20:08
noonedeadpunkso... we can not import uwsgi role, as we're notifying handlers inside this role. But we can include rest of common ones, since we only listen for handlers they're notifying...20:12
noonedeadpunkugh20:12
noonedeadpunkI'm starting hating ansible at such moments20:12
noonedeadpunkwhat is more ridiculous, is that in CI it's not failing on this step at all20:14
noonedeadpunkfor my aio it fails right here https://zuul.opendev.org/t/openstack/build/6239b6d60acc4fc8a5ae9e90cf6fc447/log/job-output.txt#1611920:16
noonedeadpunkdamiandabrowski: you was using gate_check_commit?20:17
jrosseri wonder if that points to some built wheel like jinja2 or smth in ci20:18
damiandabrowskinot this time, i manually executed bootstrap-ansible, bootstra-aio and setup-everything20:18
noonedeadpunkjrosser: yeah, I was thinking about that... but it kinda shouldn't....20:19
noonedeadpunklast jinja2 was released year ago20:20
jrosseri guess you can point to the infra wheels in a local aio20:20
jrosseror even build also in a nodepool image20:20
noonedeadpunkcan I? I thought their mirrors are in a private nodepool net or smth?20:22
noonedeadpunkmaybe not....20:22
noonedeadpunkI will try to spawn tomorrow using git-check-commit out of interest...20:25
opendevreviewMerged openstack/openstack-ansible stable/xena: Drop `echo` from add-compute.sh script  https://review.opendev.org/c/openstack/openstack-ansible/+/87947721:15
opendevreviewMerged openstack/openstack-ansible master: Install zuul-provided collections as directories  https://review.opendev.org/c/openstack/openstack-ansible/+/88003121:40
opendevreviewDamian Dąbrowski proposed openstack/openstack-ansible-os_ironic master: Add TLS support to ironic backends  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/88039422:46
opendevreviewDamian Dąbrowski proposed openstack/openstack-ansible-os_aodh master: Add TLS support to aodh backends  https://review.opendev.org/c/openstack/openstack-ansible-os_aodh/+/88039522:47
opendevreviewDamian Dąbrowski proposed openstack/openstack-ansible-os_swift master: Add TLS support to swift backends  https://review.opendev.org/c/openstack/openstack-ansible-os_swift/+/88039622:49
opendevreviewDamian Dąbrowski proposed openstack/openstack-ansible-os_designate master: Add TLS support to designate backends  https://review.opendev.org/c/openstack/openstack-ansible-os_designate/+/88039722:50
opendevreviewDamian Dąbrowski proposed openstack/openstack-ansible-os_masakari master: Add TLS support to masakari backends  https://review.opendev.org/c/openstack/openstack-ansible-os_masakari/+/88039822:50
opendevreviewMerged openstack/openstack-ansible-os_keystone master: Remove security.txt parts  https://review.opendev.org/c/openstack/openstack-ansible-os_keystone/+/88011123:04

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