Friday, 2021-09-17

*** odyssey4me is now known as Guest10400:45
*** odyssey4me is now known as Guest10500:52
*** odyssey4me is now known as Guest12404:02
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Drop hosts file distribution tasks  https://review.opendev.org/c/openstack/openstack-ansible/+/80952104:56
*** arxcruz|pto is now known as arxcruz07:40
*** odyssey4me is now known as Guest13908:03
*** odyssey4me is now known as Guest14008:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_glance master: Refactor galera_use_ssl behaviour  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/80963511:39
noonedeadpunkjrosser: does this makes any sense to you? ^11:40
noonedeadpunkdecided to ask before spawning same thing across roles11:40
noonedeadpunkdamn, I wonder what we can do with this https://paste.opendev.org/show/809405/13:18
noonedeadpunkthis is caused when you try to override requirements SHA13:18
noonedeadpunkI'd say we should put there openstack_release instead of the requirements_git_install_branch https://opendev.org/openstack/openstack-ansible-repo_server/src/branch/master/tasks/repo_install_constraints.yml#L2613:19
jrossernoonedeadpunk: i think i put a thing in where you could locally host the requirements file in the deploy host for this13:23
noonedeadpunkyeah but for this you would need to change requirements_git_repo13:25
noonedeadpunkbut the thing is that it is soooo not obious, that if you overriden requirements_git_install_branch you must run repo_server13:25
noonedeadpunkotherwise things will fail13:26
jrosseroh yes, thats totally not obvious :/13:26
noonedeadpunkwell, another idea is to add smth like block/rescue around https://opendev.org/openstack/ansible-role-python_venv_build/src/branch/master/tasks/python_venv_wheel_build.yml#L106-L125 and for example include or just copy/paste code from repo_server13:27
noonedeadpunkthat would be a bit weird though13:27
jrosseri think i was considering what you'd need to do for OSA W release with master Magnum, for example13:28
noonedeadpunkor at least add some extra step when venv_rebuild=true13:28
jrosserthen you could pre-stage the master SHA of requirements on the deploy host13:29
noonedeadpunkyeah that is neat actually13:29
jrosserbut this is really un-obvious and you have to kind of know what to do up front13:29
noonedeadpunkalso you don't need to contact opendev for each venv that is built13:30
noonedeadpunkwhich improves performance for sure13:30
jrosseryeah, so this also was to fix CI failures too13:30
jrosserbut also needs to make some kind of sense outside CI13:30
noonedeadpunkwell, we can stage requirements conditionally as well ofc13:31
noonedeadpunknot sure what's best thing to do here tbh. But I kind of like idea that requirements is cached, so I'm more thinking about the way to update file if it's missing on repo server13:34
noonedeadpunkbut the way this can be done are kind of weird with regards to python_venv_build role which thinks that file is always there13:35
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_aodh master: Refactor galera_use_ssl behaviour  https://review.opendev.org/c/openstack/openstack-ansible-os_aodh/+/80970413:54
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_aodh master: Refactor galera_use_ssl behaviour  https://review.opendev.org/c/openstack/openstack-ansible-os_aodh/+/80970413:57
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_glance master: Refactor galera_use_ssl behaviour  https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/80963513:58
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_barbican master: Refactor galera_use_ssl behaviour  https://review.opendev.org/c/openstack/openstack-ansible-os_barbican/+/80970614:00
spatelnoonedeadpunk what is the validity if these new PKI certs? 10 years? 14:19
noonedeadpunkyep14:20
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_blazar master: Refactor galera_use_ssl behaviour  https://review.opendev.org/c/openstack/openstack-ansible-os_blazar/+/80974614:24
spatelthanks14:41
jrossernoonedeadpunk: i think that python_venv_build only assumes that the requirements file is always there because thats the var we pass to it14:55
jrosserbut yeah, this is a kind of higher level problem than any one of the roles14:56
jrosseras the needed functions are spread around in different places14:56
noonedeadpunkyeah...15:12
noonedeadpunkso maybe solution with var that can be adjusted is good idea after all15:12
noonedeadpunkat least ppl will be aware of consequences if they decide to use it15:12

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