Monday, 2024-04-22

jrosser_noonedeadpunk: are you around this week?07:54
noonedeadpunkhey, yep08:20
jrosser_noonedeadpunk: just got meetings for a while right now but I did a bunch of work on the unmaintained branches and got to the point where I need to check things with you09:29
jrosser_looks like unmaintained/<blah> is not necessaritly present for all components, (magnum, vs. magnum-ui i think is one example)09:30
jrosser_kind of messy somehow09:30
noonedeadpunkjrosser_: I assume then <blah>-eol tag should be present, which next step after unmaintained phase09:34
noonedeadpunkas each project is free to move from unmaintained to eol state anytime09:35
noonedeadpunkbut seems that magnum has skipped unmaintained at all09:36
opendevreviewJonathan Rosser proposed openstack/openstack-ansible unmaintained/victoria: DNM - testing unmaintained branch  https://review.opendev.org/c/openstack/openstack-ansible/+/91617509:44
jrosser_maybe for unmaintained branches it is best to work on them one at a time (i did go slightly out of my mind trying to fix 3 at once)10:48
jrosser_victoria is the oldest and the most close to working, this will show the next lot of problems which is tempest plugin versions being too new https://review.opendev.org/c/openstack/openstack-ansible/+/91617510:48
noonedeadpunkyeah, sunsetting 3 branches at once was a bit /o\ ofc10:57
noonedeadpunkI wonder if Xena tempest versions might be "fine" for Victoria10:58
noonedeadpunkas we laready have SHAs pinned for X: https://opendev.org/openstack/openstack-ansible/src/branch/unmaintained/xena/playbooks/defaults/repo_packages/openstack_testing.yml10:58
noonedeadpunkBut it might be really tough to find proper ones for V otherwise10:59
jrosser_i think i fixed one somewhere by looking through the pypi release dates for versions released at the same time as V11:08
jrosser_so that could be an approach11:09
jrosser_perhaps we do miss something here when we make a release by not pinning down the tempest plugin versions to whatever is current, but I don't know if that is valid11:09
KSR-DKHello all. I'm trying to reconfigure HAproxy setting for horizon, after running the upgrade to 2023.1. I've deleted the horizon file in /etc/haproxy/conf.d and have executed openstack-ansible  playbooks/haproxy-install.yml, openstack-ansible playbooks/setup-openstack --tags install/configure - which has left my haproxy config without a horizon backend.. Any advice?12:19
jrosser_KSR-DK: it is very useful to check the release notes when you do an upgrade, see https://docs.openstack.org/releasenotes/openstack-ansible/2023.1.html12:21
jrosser_there you will find "Haproxy services are now configured separately at the beginning of each service playbook."12:21
jrosser_so there is a major change with the way the haproxy config is done starting in 2023.1, it will be done for each service by the playbook that deploys that service, not like before where the haproxy-install playbook did the config for all services in one step12:22
jrosser_i would also say that it should never be necessary to delete the file from /etc/haproxy/conf.d, the way ansible works will ensure that the content you want is placed there automatically12:23
KSR-DKThanks jrosser - I misswrote.. I meant playbooks/os_horizon --tags install/configure, and yeah I noticed. I ended up doing the openstack-ansible  playbooks/haproxy-install.yml as well out of pure frustration ;-)12:25
KSR-DKI removed the file in conf.d to give myself aneasy check on wether the file was placed there..12:27
KSR-DKMaybe I need to run os_horizon with no tags?12:28
andrewbonneyYou may need these tags: --tags haproxy-service-config12:28
KSR-DKTHANKS andrewbonney - that did the trick.12:35
KSR-DKDid I mis that in the DOCS somewhere?12:35
andrewbonneyIt's covered in the distribution upgrade guide, but generally for tags you really need to browse the Ansible code as it's hard to exhaustively document and keep up to date12:37
andrewbonneyhttps://docs.openstack.org/openstack-ansible/latest/admin/upgrades/distribution-upgrades.html12:37
KSR-DKandrewbonney - thanks, It did not cross my mind to look in the Distro upgrade guide for this, since I thought it would either be a deployment config thing, or a specific bullet the Operations Guide. Annyway - THANKS!12:46
noonedeadpunkhuh, seems I found some reall weirdness in bootstraping process regarding collections....13:12
noonedeadpunklike git+file:// is being replaced by // and is considered as zuul thing13:12
noonedeadpunkhere https://opendev.org/openstack/openstack-ansible/src/branch/stable/2023.2/scripts/get-ansible-collection-requirements.yml#L59-L6713:12
opendevreviewMerged openstack/openstack-ansible-ops master: Correct supported release for mcapi_vexxhost  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91653613:16
jrosser_noonedeadpunk: here probably?13:18
jrosser_https://opendev.org/openstack/openstack-ansible/src/branch/stable/2023.2/scripts/get-ansible-collection-requirements.yml#L5213:18
jrosser_zuul_src_path is not defined i guess, could be ''13:18
jrosser_the only time that things should be "adjusted for CI" is when that stat task thinks it has found the repo on disk13:19
noonedeadpunkyeah, exactly13:28
noonedeadpunkbut then you don't have CI, but have "git+file" which still ends up as repo on disk and thus adjusted13:28
jrosser_i expect i have not tested git+file:// here13:29
noonedeadpunkJust trying 2 things, not surte what's better13:29
jrosser_unfortuantely we can't add a when to that task13:30
jrosser_oh well, actually not sure13:30
noonedeadpunkcan't we?13:30
jrosser_you see the variables a terribly badly named here13:30
noonedeadpunkso one way would be to add condition here: https://opendev.org/openstack/openstack-ansible/src/branch/stable/2023.2/scripts/get-ansible-collection-requirements.yml#L6613:31
jrosser_`zuul_collections` needs to have all the collections regardless if they are actually zuul repos or not13:31
noonedeadpunkfor the ternary13:31
noonedeadpunkand another would be block and another ternary13:31
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Better check if we're in CI during collection bootstrap  https://review.opendev.org/c/openstack/openstack-ansible/+/91663313:32
noonedeadpunkie ^ (will adjust commit msg now)13:32
jrosser_the only thing i wondered is that galaxy_collections_list_ci is not defined in the ternary outside ci13:35
noonedeadpunkugh, yes13:36
noonedeadpunkand this also doesn't fully protect...13:37
noonedeadpunkthough it somehow passed locally13:37
opendevreviewMerged openstack/openstack-ansible-ops master: Use upstream version of kubernetes collection.  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91658113:39
noonedeadpunkbut actually ansible acts slightly weirdly with dir, as it still tries to reach galaxy - basically that's where things failed for me, as env doesn't have even proxy13:40
noonedeadpunkit's completel air-gapped for outgoing connections13:40
jrosser_does it fail if it can't reach galaxy?13:44
noonedeadpunkyup13:45
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Better check if we're in CI during collection bootstrap  https://review.opendev.org/c/openstack/openstack-ansible/+/91663313:46
noonedeadpunkand takes ages as well13:46
noonedeadpunkdamiandabrowski: fwiw ^13:47
jrosser_that really is sad - i wonder if we could add another code path that just used git clone for that instead of galaxy13:49
jrosser_because really thats pretty much how we use ansible-galaxy at the moment when getting everything from github13:50
noonedeadpunkso, when you do git - it's not needeing galaxy13:50
jrosser_yes exactly13:50
noonedeadpunkbut somehow when you do type: dir - it does13:50
jrosser_oooooh right i see13:51
noonedeadpunk(at least it seems that it does as that's why I become looking there)13:51
jrosser_well - gitweb + apache is really not very much work13:51
noonedeadpunkand then bootstrap script does substitude your git_file to dir and it's weird13:51
jrosser_and that would give you a local place to git clone from with http13:52
noonedeadpunkI"m doing very stupid thing lol13:52
opendevreviewMerged openstack/openstack-ansible-ops master: Fix documentation for example haproxy setup  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91658313:52
noonedeadpunkjust trying to avoid gitlab auth by osa bootstrap script, by placing requirements to the deploy host with zuul13:52
jrosser_that does feel like an ansible-galaxy bug then13:53
noonedeadpunkprobably, it would be easier to auth after all...13:53
noonedeadpunkyeah, I guess I need to investigate that further, but still we're doing quite unexpected thing right now13:54
noonedeadpunkwhere you don't get version you would expect from git as it's treated as dir...13:54
noonedeadpunkanyway13:54
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Better check if we're in CI during collection bootstrap  https://review.opendev.org/c/openstack/openstack-ansible/+/91663313:55
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Add CAPI job to OPS repo  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91664014:02
opendevreviewMerged openstack/openstack-ansible-ops master: Improve magnum cluster api documenation  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91658414:05
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova stable/2023.2: Ensure TLS is enabled properly for cell0 mapping DB connection  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/91645314:12
opendevreviewMerged openstack/openstack-ansible-ops master: Add docker-image-py requirement to documentation  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91658814:17
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_magnum master: Allow zuul job variables to be inserted into user_variables  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/91664715:42
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Test all supported versions of k8s workload cluster with magnum-cluster-api  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91664916:00
opendevreviewMerged openstack/openstack-ansible-os_magnum master: Add job to test Vexxhost cluster API driver  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/90519916:05
jrosser_ \o/16:14
opendevreviewMerged openstack/openstack-ansible-os_neutron stable/2023.2: Fix multiline yaml formatting in neutron systemd services  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/91594816:16
opendevreviewMerged openstack/openstack-ansible-os_horizon master: Add support for deploying Horizon with Skyline  https://review.opendev.org/c/openstack/openstack-ansible-os_horizon/+/91343916:22
noonedeadpunksweeet16:26
noonedeadpunkwonder why https://review.opendev.org/c/openstack/openstack-ansible-ops/+/916640?tab=change-view-tab-header-zuul-results-summary doesn't work though16:28
noonedeadpunk`internal endpoint for container-infrastructure-management service in RegionOne region not found`16:29
noonedeadpunk`container-infrastructure-management` looks weird?16:29
jrosser_errrr16:32
jrosser_oh is that something trying to look up the magnum endpoint in the service catalog?16:33
noonedeadpunkI think it is16:33
jrosser_oh16:34
jrosser_`+ export SCENARIO=aio_lxc`16:34
jrosser_that'll be why16:34
noonedeadpunkhuh16:34
noonedeadpunkok16:34
jrosser_not sure we have that much freedom with the job name16:35
noonedeadpunkit explains that16:35
jrosser_or the string splitting is incorrect somehow16:35
noonedeadpunkI think you're right about freedom16:35
noonedeadpunkThough I was really confused about vexxhost.kubernetes.kubernetes being run along with k8s container being created16:36
noonedeadpunkexport ACTION=ops16:36
jrosser_oh well thats part of the horribleness of this whole setup16:37
jrosser_all these files get dumped into place in the job pre playbook https://github.com/openstack/openstack-ansible-ops/tree/master/mcapi_vexxhost/playbooks/files/openstack_deploy16:38
noonedeadpunkah, ok16:38
noonedeadpunkfair16:38
jrosser_which kind of does some of what SCENARIO would do, but differently16:38
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Add CAPI job to OPS repo  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91664016:39
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Test all supported versions of k8s workload cluster with magnum-cluster-api  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91664916:42
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Test all supported versions of k8s workload cluster with magnum-cluster-api  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91664916:43
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Test all supported versions of k8s workload cluster with magnum-cluster-api  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91664916:44
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-ops master: Test all supported versions of k8s workload cluster with magnum-cluster-api  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91664916:51
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Remove openstack-ansible-backup reference  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91665016:52
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Remove readme include from repo docs  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91665117:14
jrosser_btw if you have any good ideas on how to publish docs for the cluster api subdirectory that would be nice17:16
jrosser_i did a bunch of reading on sphinx and it seems that it's not really intended for "monorepo" with lots of pretty independant subdirs17:16
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Add documentation for ELK to the renderred docs  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91665217:17
noonedeadpunkit really is not17:17
noonedeadpunkbut that should work17:17
noonedeadpunka bit nasty/hacky though...17:18
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Add ClusterAPI documentation to renderred docs  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91665317:23
jrosser_we maybe wanting a symlink there becasue those docs are already in a "known" location (see the magnum-cluster-api slack for example)17:26
jrosser_perhaps that doesnt work - i dont know17:27
noonedeadpunkah, you mean that moving README.rst is not right?17:28
noonedeadpunkI just confused by having 2 readme files....17:28
noonedeadpunkSo thought that might be it's not too late to move...17:28
jrosser_that codes been merged for kind of months now and the location of the doc is linked elsewhere17:29
jrosser_but we can change that if we want, but should be mindful of breaking links to docs17:30
ThiagoCMCHey folks! Is OSA master branch good to test with Ubuntu 22.04, Caracal and Ceph 19?17:31
noonedeadpunkwe need to land couple of things and probably cut a beta release once it's done...17:31
noonedeadpunkbut sure, you can try that out :)17:32
ThiagoCMCCool!  :-D17:32
noonedeadpunkThiagoCMC: though, I don't think Ubuntu has already published packages for 2024.1?17:32
ThiagoCMCYep, already there17:32
* noonedeadpunk just recalled you do distro path17:32
noonedeadpunkok, we haven't updated for that17:32
ThiagoCMCNo worries... Count on me to test it extensively.17:33
noonedeadpunkyou will need to set `openstack_distrib_code_name: Caracal` then17:33
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible-openstack_hosts/src/branch/master/defaults/main.yml#L2217:33
ThiagoCMCNice, thanks!17:33
noonedeadpunkI'm not really sure that caracal is out for UCA....17:36
noonedeadpunkhuh, so how I can possible render that readme file without gitea or anything like that...17:41
jrosser_lxc is broken on 24.0417:41
jrosser_anyone who fanices fixing that should dive in17:41
jrosser_ThiagoCMC: i did not see a patch from you to move OSA to reef yet?17:42
jrosser_we definatly need to move to reef before making the caracal release17:43
ThiagoCMCWell, I've never contributed to OSA before! I'm not familiar with the procedure. I did posted the manual steps here: https://paste.opendev.org/raw/bJXKfhUBNstPINNL4xo9/17:43
ThiagoCMCAs you folks said... 24.04 is a distraction... lol17:44
jrosser_here is the contributors quickstart https://docs.openstack.org/contributors/code-and-documentation/quick-start.html17:44
jrosser_ThiagoCMC: reef needs doing17:44
ThiagoCMCGreat! Thanks for sharing it. I'll look into it.17:44
jrosser_and the rest of your paste is about making the apt pins suitable to prefer UCA, which is a different and seperable problem17:44
ThiagoCMCOkdok17:44
jrosser_rather than just delete code we should have a proper mechanism to prefer whichever repo the deployer wants17:45
ThiagoCMCYep, sounds fair... I did it like that (quick and dirty) just to test17:46
jrosser_i think that switching to reef is an ideal starter contribution, as part of it is as simple as changing the setting of `ceph_stable_release`17:47
ThiagoCMCOk, I'll do it!17:47
noonedeadpunkseems I need to also have another round on https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/914691/717:47
jrosser_this looks pretty wrong too https://github.com/openstack/openstack-ansible-ceph_client/blob/2bb6cdf4811223406a95486be7d588d168f92c73/defaults/main.yml#L4217:49
noonedeadpunkyeah17:50
jrosser_i wonder if that really does install pacific client in like glance containers for AIO17:50
jrosser_that would be interesting to see17:50
noonedeadpunkit really should not17:50
jrosser_i don;t know what else would be responsible for setting up the apt source though17:51
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible/src/branch/master/inventory/group_vars/all/ceph.yml#L3117:51
jrosser_aaaaahhhhhhhh17:51
jrosser_ok sure17:51
jrosser_noonedeadpunk: oh before i forget i think that this might be broken https://github.com/openstack/openstack-ansible/blob/master/tests/roles/bootstrap-host/templates/user_variables_magnum.yml.j2#L2117:55
jrosser_does openstack_resources handle compressed images?17:55
jrosser_i think right now it uploads the xz as the image contents17:56
noonedeadpunkgood question. somehow I thought that glance was handling that17:56
noonedeadpunkbut checking on what we do (we internally have slightly more opinionated version of the role that needs to be refactored), and it does handle unpack....17:57
noonedeadpunktricky part of unpack is SHA verification17:58
noonedeadpunkjrosser_: looking through merged code - I don't see too much references merged? https://codesearch.openstack.org/?q=mcapi_vexxhost&i=nope&literal=nope&files=&excludeFiles=&repos=18:03
noonedeadpunkprobably except ones we've sent out in ML or irc18:04
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Add ClusterAPI documentation to renderred docs  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91665318:07
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-ops master: Add ClusterAPI documentation to renderred docs  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/91665318:08
noonedeadpunkthis renderred well: https://e586be400b0defacea9f-984ca498bb42ba0203f9a104f5aecd9c.ssl.cf2.rackcdn.com/916652/1/check/openstack-tox-docs/c898c05/docs/elk_metrics.html18:17
-opendevstatus- NOTICE: Gerrit will be offline for a short time while we rename a project repo. https://lists.opendev.org/archives/list/service-announce@lists.opendev.org/message/KP6NCOKJEYRGFD5FS26CZPVLEKFSY2ZO/ for more details20:00

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