Monday, 2024-03-18

opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: Fix Skyline API Server TLS configuration  https://review.opendev.org/c/openstack/kolla-ansible/+/90932906:40
guesswhat[m]Is magnum-cluster-api-proxy implemented in Kolla ? For reaching clusters without floating ip ? OSA and Amosphere have this implementation. Thanks 07:54
mnasiadkaguesswhat[m]: no, but feel free to contribute that :)07:59
opendevreviewMarius proposed openstack/kolla master: Update prometheus-v2-server to version 2.50.1.  https://review.opendev.org/c/openstack/kolla/+/91332908:05
guesswhat[m]mnasiadka: found this https://opendev.org/openstack/openstack-ansible-ops/commit/e983053d9808ef41aad519ed2c975fe088cf5767 , but looks complicated tho08:07
opendevreviewMarius proposed openstack/kolla master: Updated letsencrypt-lego to version v4.15.0.  https://review.opendev.org/c/openstack/kolla/+/91331608:12
opendevreviewMichal Nasiadka proposed openstack/kolla-ansible master: Run ML2/OVS agents processes in separate containers  https://review.opendev.org/c/openstack/kolla-ansible/+/86478008:14
opendevreviewMerged openstack/kolla-ansible master: Allow customizing of Skyline configuration  https://review.opendev.org/c/openstack/kolla-ansible/+/90586108:24
opendevreviewDr. Jens Harbott proposed openstack/kolla-ansible stable/2023.2: octavia: add missing bool to the enable_octavia_jobboard parameter  https://review.opendev.org/c/openstack/kolla-ansible/+/91275909:14
opendevreviewMerged openstack/kolla-ansible master: CI: Increase galera node timeouts  https://review.opendev.org/c/openstack/kolla-ansible/+/91272509:22
opendevreviewMatt Crees proposed openstack/kayobe master: CI: Only migrate RMQ queues during SLURP  https://review.opendev.org/c/openstack/kayobe/+/91277809:30
opendevreviewMatt Crees proposed openstack/kolla-ansible master: CI: Only migrate RMQ queues during SLURP  https://review.opendev.org/c/openstack/kolla-ansible/+/90997109:31
opendevreviewUwe Jäger proposed openstack/kolla-ansible master: Update configuration to enable more services in Skyline Console  https://review.opendev.org/c/openstack/kolla-ansible/+/90948209:59
opendevreviewSven Kieske proposed openstack/kolla-ansible master: fix confusing jammy upgrade docs  https://review.opendev.org/c/openstack/kolla-ansible/+/91342610:16
opendevreviewMerged openstack/kayobe stable/2023.2: Fix link in release note  https://review.opendev.org/c/openstack/kayobe/+/91274910:20
opendevreviewMerged openstack/kayobe stable/2023.1: Fix link in release note  https://review.opendev.org/c/openstack/kayobe/+/91275010:20
opendevreviewMerged openstack/kayobe stable/zed: Fix link in release note  https://review.opendev.org/c/openstack/kayobe/+/91275110:20
SvenKieskeguys please, bash has no real boolean value support like you think it does. the only boolean values it has are literally "0" and "1". strings are strings in bash, even if they contain the letters "yes, no, true, false"10:43
SvenKieskefor context, I'm talking about this review: https://review.opendev.org/c/openstack/kolla-ansible/+/90997110:44
fricklerwe can "borrow" from devstack I guess https://opendev.org/openstack/devstack/src/branch/master/functions-common#L207-L23710:46
SvenKieskethe doc comment there makes me very nervous, "if var is unset use the value of the second argument as a default"?10:48
SvenKieskealso you would have to audit all the bash code before introducing it to match this function10:48
SvenKieskenot sure what is easier, teach people bash or do this :D10:48
SvenKieskethat code also does some weird stuff, like that grep for xtrace..?is that copied from some posix stuff?10:49
SvenKieskethat's quite a rabbit hole if you follow the commits (don't! I warned you! :D )10:52
SvenKieskefrickler: this also does not address the fact people want to do "if $var; then" in bash, this is just broken usage of bash and can't be fixed. you need to either change the language (use python?) or change the people. both are hard :)10:58
opendevreviewMerged openstack/kolla master: mariadb-clustercheck: Add a script handling signals  https://review.opendev.org/c/openstack/kolla/+/90498111:40
opendevreviewMerged openstack/kolla-ansible stable/2023.1: rabbitmq: bump wait timeout to 60 seconds  https://review.opendev.org/c/openstack/kolla-ansible/+/91208011:43
opendevreviewMerged openstack/kolla-ansible stable/2023.2: rabbitmq: bump wait timeout to 60 seconds  https://review.opendev.org/c/openstack/kolla-ansible/+/91207911:43
opendevreviewMerged openstack/kolla-ansible stable/zed: rabbitmq: bump wait timeout to 60 seconds  https://review.opendev.org/c/openstack/kolla-ansible/+/91274111:43
mnasiadkaSvenKieske: I'm not a fan of bash usage in kolla-ansible, we should think of moving it more to ansible and splitting out tests/run.yml into something more sensible11:47
opendevreviewMarius proposed openstack/kolla master: Updated letsencrypt-lego to version v4.15.0.  https://review.opendev.org/c/openstack/kolla/+/91331611:50
opendevreviewMichal Arbet proposed openstack/kolla master: Bump proxysql to 2.6.x  https://review.opendev.org/c/openstack/kolla/+/91273111:53
SvenKieskemnasiadka: yeah I'm generally no fan of bash anywhere :)11:54
opendevreviewAlex Welsh proposed openstack/kolla-ansible master: WIP: Automate prometheus blackbox endpoint config  https://review.opendev.org/c/openstack/kolla-ansible/+/91242012:17
halomivahey, is something missing from this patchset or it can be merged? https://review.opendev.org/c/openstack/ansible-collection-kolla/+/91075112:53
halomivahey, is something missing from this patchset or it can be merged? https://review.opendev.org/c/openstack/ansible-collection-kolla/+/91075112:54
kevkohalomiva: done12:59
halomivakevko: thanks13:00
opendevreviewWill Szumski proposed openstack/kayobe master: Add podman support  https://review.opendev.org/c/openstack/kayobe/+/90968613:06
opendevreviewMartin Hiner proposed openstack/kolla-ansible master: Add action for getting container names list  https://review.opendev.org/c/openstack/kolla-ansible/+/90583713:22
opendevreviewMartin Hiner proposed openstack/kolla-ansible master: Add container engine migration scenario  https://review.opendev.org/c/openstack/kolla-ansible/+/83694113:22
dawudmWould appreciate if we could get this workflow +1 please https://review.opendev.org/c/openstack/kolla-ansible/+/913320 13:49
opendevreviewMerged openstack/kolla-ansible stable/2023.2: octavia: add missing bool to the enable_octavia_jobboard parameter  https://review.opendev.org/c/openstack/kolla-ansible/+/91275913:51
SvenKieskedawudm: all I could do was -1 review :/13:59
opendevreviewMerged openstack/ansible-collection-kolla master: Bump min. version of docker-py  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/91075114:09
opendevreviewSven Kieske proposed openstack/kolla-ansible master: Run shellcheck on scripts  https://review.opendev.org/c/openstack/kolla-ansible/+/88249714:14
opendevreviewMark Goddard proposed openstack/kolla-ansible master: Revert "podman: install "rich" dependency"  https://review.opendev.org/c/openstack/kolla-ansible/+/90223014:17
opendevreviewMark Goddard proposed openstack/kolla-ansible master: Remove "distutils" library  https://review.opendev.org/c/openstack/kolla-ansible/+/85700314:19
opendevreviewMatt Crees proposed openstack/kayobe master: Bump KA Ansible versions to match new defaults  https://review.opendev.org/c/openstack/kayobe/+/91357114:22
opendevreviewMatt Crees proposed openstack/kayobe master: Bump up Ansible supported versions to 8.x/9.x  https://review.opendev.org/c/openstack/kayobe/+/91051314:23
opendevreviewMatt Crees proposed openstack/kayobe master: Support installing latest requirements on upgrade  https://review.opendev.org/c/openstack/kayobe/+/79092114:25
LockesmithWhen I deploy a cluster using kolla-ansible, if network_interface is on a vlan, then none of my VMs are able to access my vip. They can access other machines within that vlan, just not my VIP. Is there something in my globals I need to configure to allow this?14:40
jovialLockesmith, do you need the host interface to be on a bridge? Something like: br0.<api vlan> and br0 gets plugged into OVS.14:43
opendevreviewWill Szumski proposed openstack/kayobe-config-dev master: Replace docker group with container-engine  https://review.opendev.org/c/openstack/kayobe-config-dev/+/91001714:49
Lockesmithjovial: I'm not sure what I need, that's what I'm trying to get to the bottom of. Currently I just have the network_interface and neutron_external_interface. Both are pointed directly at physical interfaces currently (not doing any tagging) and all traffic appears to work, except that my VMs are unable to reach my VIP. But they can reach any other address on that network.14:52
LockesmithAnd that's what's got me stumped.14:52
jovialAnother thing to watch out for is asymmetric routing if they get there via a router14:55
LockesmithThat may very well be what's happenning. They are getting there via a router. I'll have to start looking that direction.14:59
jovialIs it a router defined in Openstack and runs on the control nodes? I think that is when you need the bridge.15:02
LockesmithThere is a router defined in Openstack for the project, but the traffic also leaves that network and has my physical router to deal with when reaching anything on my physical network.15:04
LockesmithAnd let me just apologize now if I'm not following or any of my answers are poorly structured. My networking is weak.15:05
opendevreviewWill Szumski proposed openstack/ansible-collection-kolla master: Add feature to use binary version of crun  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/91142215:47
opendevreviewSven Kieske proposed openstack/kolla-ansible master: Run shellcheck on scripts  https://review.opendev.org/c/openstack/kolla-ansible/+/88249716:04
mnasiadkaSvenKieske: did we agree anywhere to move to using shellcheck?16:21
mnasiadkathat mount of changes in that patchset is a drama16:22
mnasiadka*amount16:22
opendevreviewWill Szumski proposed openstack/ansible-collection-kolla master: Document known issue with podman on Ubuntu  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/91142216:23
SvenKieskewell I asked during PTG and no one said "no". to be honest this change is not an MVP but also fixes quite some bugs/streamlines the usage16:25
SvenKieskewhy is it "a drama"? what does that even mean?16:25
mnasiadkaa drama to review, it changes so many files - that it will create merge conflicts on all other patches changing anything in these files16:27
mnasiadkaso all other changes will need to be rebased, reworked, you name it16:27
mnasiadkaif we don't plan to backport that, it will make other backports difficult16:27
SvenKieskemnasiadka: most of the changes are really just variable quoting and most of the rest is resolving issues that arose due to people relying on accidental correct splitting of their stuff.16:27
SvenKieskehow where other linters introduced? can I look maybe at something to make it less invasive?16:28
mnasiadkaWhile I might understand the changes in scripts used on real deployments - the ones in tests/* are not helping anybody16:28
SvenKieskewell if you don't lint your tests, people will write buggy tests :) imho tests should have the same code quality, if not higher, than "real deployments" because they are used to test the very code that does the real deployments?16:29
SvenKieskeso the tests must really work, no? if they don't work and silently pass because they are broken we really don't need the test. one small way to catch buggy tests is use linters16:30
SvenKieskeand I agree, it would be better to just port all the bash testing stuff to something like tempest, but I guess that is even more work?16:30
opendevreviewWill Szumski proposed openstack/ansible-collection-kolla master: Document known issue with podman on Ubuntu  https://review.opendev.org/c/openstack/ansible-collection-kolla/+/91142216:31
SvenKieskeso if we have a clear plan with a deadline to remove 99% of bash usage I'm fine with no bash linting. the status quo is really not maintainable, only by ignoring the problem imho.16:33
SvenKieskeunless there is such a plan I want to improve the bash code, making it more reliable and resilient. and quoting your bash vars is stuff that is 101 that is in every bash best practice guide.16:34
SvenKieskemnasiadka: for stable/zed there are 7 changesets that touch "*.sh" files in total: https://review.opendev.org/q/project:openstack/kolla-ansible+branch:stable/zed+file:%22%5E.*%5C.sh%24%22+-status:abandoned 16:38
mnasiadkaPersonally I would prefer getting rid of those bash scripts or minimising their amount16:39
SvenKieskeyeah, we already agreed upon that multiple times. I believe someone voluntered for introducing tempest during C cycle, if my memory serves right?16:40
mnasiadkaAnd I don't care if they get linted or not - as long as they work16:40
mnasiadkaNobody else than CI uses those, introducing more rules on scripts that just work doesn't seem like a good use of anybody's time16:41
mnasiadkabut if other cores feel that it's needed - sure, they will review your patch and get that merged16:41
SvenKieskeif they all "work" we would have no flaky CI, ever :) could we please stop viewing these problems in such a minimalist way? There's a spectrum between "works" and "doesn't work" which most of the time is "has bugs in edge cases like networked services and timeouts"16:42
opendevreviewAlex Welsh proposed openstack/kolla-ansible master: WIP: Automate prometheus blackbox endpoint config  https://review.opendev.org/c/openstack/kolla-ansible/+/91242016:43
SvenKieskeI can also try to work on https://review.opendev.org/c/openstack/kolla-ansible/+/878826 instead, if that's more future proof16:43
SvenKieskerevisiting the caracal document, there are many people in favor of tempest but it seems nobody's doing the work16:44
SvenKieskeI guess I fill both as a topic for D cycle then16:44
opendevreviewWill Szumski proposed openstack/kayobe-config-dev master: Replace docker group with container-engine  https://review.opendev.org/c/openstack/kayobe-config-dev/+/91001716:46
opendevreviewWill Szumski proposed openstack/kayobe master: Add podman support  https://review.opendev.org/c/openstack/kayobe/+/90968616:47
opendevreviewWill Szumski proposed openstack/kayobe master: Add podman support  https://review.opendev.org/c/openstack/kayobe/+/90968616:49
mnasiadkaSvenKieske: CI flakiness is not because of quotes and other ,,rules'' shellcheck is checking for, show me one occurence and I'll change my mind ;)16:50
SvenKieskeI can surely built something in that breaks CI and you won't find during Code Review (this reminds me of the "underhanded C contest" http://www.underhanded-c.org/) :-)16:51
SvenKieskething is: I write bash since over 12 years, and I don't trust myself writing good bash, because the "language" is, well shit, for writing stuff longer than a paragraph. And I know for a fact I'm not the most inexperienced bash programmer on this project. so I would really like to provide guardrails for all of us.16:52
SvenKieskemnasiadka: for reference, the change from today/yesterday:  https://review.opendev.org/c/openstack/kolla-ansible/+/909971 the bash if condition was totally broken, had even a plus 1, and I was initially tempted to also +1 it, until I took a closer look16:54
SvenKieskethen there was even wrong advice to "re-fix" it back into the broken patch, from before, after it was fixed.16:54
mnasiadkakolla-ansible cmd is written in bash, while we're at it ;)16:54
SvenKieskeI really don't want to pick upon people here, that could've happened to myself I guess.16:54
SvenKieskeit just shows people don't have much knowledge about bash and do basic mistakes, that's why I always triple check my code locally with examples and tests.16:55
SvenKieskeso yeah, rewrite it all the way to python, I'm actually a fan of rewrites, if they are well reasoned.16:56
SvenKieskenot using bash is a good reason if most devs are more comfortable with python16:56
SvenKieskebut we also need to be realistic: will we rewrite 200 lines of bash in python? probably? will someone convert everything in one release? probably not. so if we don't have some kind of shared community goal and end up adding more bash then we are removing..well16:57
SvenKieskestill, we even lint python, and that has way more builtin checks because it's more of a compiled language these days. and it has _data structures_ *gasp* :D16:58
mnasiadkawell, I'm not saying we do everything at once16:59
mnasiadkabut the CLI would benefit from being rewritten in a normal language16:59
SvenKieskebig +1 :)16:59
SvenKieskemhm, I'm really tempted to do that, but I should first finish this ovn-exporter stuff17:00
opendevreviewWill Szumski proposed openstack/kayobe master: Fix issue removing docker volumes  https://review.opendev.org/c/openstack/kayobe/+/90959417:14
opendevreviewWill Szumski proposed openstack/kayobe master: Support configuring persistent systemd journal  https://review.opendev.org/c/openstack/kayobe/+/90968517:14
opendevreviewWill Szumski proposed openstack/kayobe master: Add podman support  https://review.opendev.org/c/openstack/kayobe/+/90968617:14
opendevreviewDoug Szumski proposed openstack/kolla-ansible master: Support custom Nova Compute Ironic host names  https://review.opendev.org/c/openstack/kolla-ansible/+/91248317:20
opendevreviewMerged openstack/kayobe master: docs: Add note on SLURP upgrades  https://review.opendev.org/c/openstack/kayobe/+/91319217:33
opendevreviewWill Szumski proposed openstack/kayobe master: Register baremetal compute nodes in Ironic  https://review.opendev.org/c/openstack/kayobe/+/90967118:03
opendevreviewDawud proposed openstack/kolla master: Change logic for plugins in grafana image build  https://review.opendev.org/c/openstack/kolla/+/91318418:04
opendevreviewMichal Arbet proposed openstack/kolla master: Bump proxysql to 2.6.x  https://review.opendev.org/c/openstack/kolla/+/91273119:32
opendevreviewDawud proposed openstack/kolla-ansible master: Configure log level field for the Grafana OpenSearch datasource  https://review.opendev.org/c/openstack/kolla-ansible/+/91359721:10
opendevreviewDawud proposed openstack/kolla-ansible master: Configure log level field for the Grafana OpenSearch datasource  https://review.opendev.org/c/openstack/kolla-ansible/+/91359721:11

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