Wednesday, 2023-02-15

TenguHello there! I was wondering if anything has been done to the proxy configuration related to the name, especially for the ansible galaxy case?00:41
TenguFor the record, galaxy has a bad practice of pushing the full uri with hostname in its answer, and that hostname is then used as a caching key in ansible-galaxy.00:42
TenguIirc, it creates issue because httpd doesn't replace the name by the correct/expected value, leading to crash in the ansible-galaxy cli00:43
TenguLast status I remember was "we need to expose some new var to the proxy configuration and generate the httpd.comf with the correct replacement". Iirc that was from you, fungi :)00:44
*** dasm is now known as dasm|off01:49
opendevreviewVishal Manchanda proposed openstack/project-config master: Rename x/xstatic-angular-fileupload to openstack/xstatic-angular-fileupload  https://review.opendev.org/c/openstack/project-config/+/87384306:43
*** blarnath is now known as d34dh0r5306:47
opendevreviewVishal Manchanda proposed openstack/project-config master: Rename x/xstatic-angular-fileupload->openstack/xstatic-angular-fileupload  https://review.opendev.org/c/openstack/project-config/+/87384306:54
*** jpena|off is now known as jpena08:31
fungiTengu: it's been a while, but i think there was a change for that? i'll look12:56
Tengufungi: thanks ! And sorry for that old zombie, I got "a little bit" sidetracked.12:57
fungiokay, so the offending lines are at https://opendev.org/opendev/system-config/src/branch/master/playbooks/roles/mirror/templates/mirror.vhost.j2#L583-L58813:00
fungithere's only one open review proposing a change to that file, and it is unrelated13:01
fungiTengu: i think what we were talking about was adding an extra var in the files like https://opendev.org/opendev/system-config/src/branch/master/inventory/service/host_vars/mirror01.bhs1.ovh.opendev.org.yaml13:05
fungimaybe call it something like primary_mirror_fqdn13:06
fungiso in that example we'd add a line like "primary_mirror_fqdn: mirror.bhs1.ovh.opendev.org"13:07
fungithe rackspace mirrors are multi-homed, and we should prefer their inside name since that's what the nodes are told to connect to, so in https://opendev.org/opendev/system-config/src/branch/master/inventory/service/host_vars/mirror01.iad.rax.opendev.org.yaml we'd do "primary_mirror_fqdn: mirror-int.iad.rax.opendev.org"13:08
fungithen in the vhost substitute lines we'd put primary_mirror_fqdn instead of apache_server_name13:09
fungiwe do have some magic in playbooks/roles/mirror/tasks/main.yaml to generate apache_server_alias by stripping the digits out of the first part of inventory_hostname but that doesn't take the mirror-int interfaces on the rackspace mirrors into account, and i'm not even all that sure what we're relying on ServerAlias for in the vhost config anyway13:12
fungiso i'm hesitant to try leveraging that, a straight up hostvar is easier to reason about13:13
fungiprobably what we should be doing is generating the ServerAlias line from the letsencrypt_certs data so we include all the possible names as aliases, but even then that leaves us needing some way to indicate a preferred one13:14
opendevreviewCorey Bryant proposed openstack/openstack-zuul-jobs master: Add openstack-python3-charm-antelope-jobs  https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/87390713:20
*** jpena is now known as jpena|off13:52
*** dasm|off is now known as dasm14:01
Tengufungi: yeah - it's a really tricky situation, especially since the module called to substitute name doesn't support httpd vars :(.14:18
Tenguif it supported them, we'd be all good......14:18
Tengu:] can't we bump to httpd 2.5? :D14:19
* Tengu ducks14:19
fungiTengu: anyway, what i described (adding primary_mirror_fqdn) should be an easy way to solve it if you want to propose a change for that14:25
Tengufungi: not sure I'll be able to do it fast enough, with the "tiny" thing I have on my plate :/. I'll be off most of next week, sooo... :(15:09
*** d34dh0r53 is now known as d34dh0r5-15:24
*** d34dh0r5- is now known as d34dh0r5315:27
*** d34dh0r53 is now known as blarnath15:28
*** blarnath is now known as d34dh0r5315:28
funginoted15:58
clarkb2.5 isn't released yet right?16:15
clarkbits a dev version and 2.6 would be the resulting stable release?16:15
fungicorrect16:20
fungi2.4 is still the current release version16:20
fungi2.5 is in beta since years16:20
opendevreviewVishal Manchanda proposed openstack/project-config master: Step 3: Remove project from infra System - Retire xstatic-font-awesome  https://review.opendev.org/c/openstack/project-config/+/87283516:35
*** dasm is now known as dasm|off21:56
opendevreviewMerged openstack/project-config master: nodepool: size linaro max-servers to subnet  https://review.opendev.org/c/openstack/project-config/+/87167423:05

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