Wednesday, 2026-06-10

opendevreviewMichael Still proposed openstack/ansible-collections-openstack master: Use importlib.metadata to read openstacksdk version.  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99252601:03
opendevreviewMichael Still proposed openstack/ansible-collections-openstack master: Use importlib.metadata to read openstacksdk version.  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99252602:21
mnasiadkanoonedeadpunk: I think we need to prioritise https://review.opendev.org/c/openstack/ansible-collections-openstack/+/992526 and a release…05:47
noonedeadpunkI have stumbled upon magnum CI failures last time07:00
noonedeadpunkdue to heat removal07:00
noonedeadpunkwhich was https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99045407:00
mnasiadkaYeah, I can fix that later07:02
mnasiadkaBut since openstacksdk dropped version - everything is failing with newest openstacksdk07:02
noonedeadpunkI was thinking it was blocking rest of tests, but seems I was wrong07:02
* noonedeadpunk revieweing07:18
opendevreviewThomas Bechtold proposed openstack/ansible-collections-openstack master: Read openstacksdk version from package metadata  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99258907:26
noonedeadpunkI will check on alternative approaches and will try to get a separate method to module_utils08:00
noonedeadpunkas this sounds like a great opprotunity to make this right and reduce amount of work to be done in case of future changes08:01
mikalnoonedeadpunk: I don't see how the two are incompatible? Why would you not take the fix which unbreaks things, and then just land the style refactor when its ready? Its strange to me to hold up a build breakage fix on unrelated style concerns.08:15
noonedeadpunkwhy to do the same work twice?08:15
noonedeadpunkand also I am too used that "later" means actually "never"08:16
noonedeadpunkso it's better to do cleanly from the beginning08:16
noonedeadpunkwhile it's relevant08:16
noonedeadpunkbut also - using older sdk version in kolla also works, right? so why not to patch it then to unbreak things?08:17
mikalIts not the same work. Its a refactor that you thought of because you saw code in the same area. I don't think its completely reasonable to try to "force" me to do unrelated work because as a user of your project it stopped working.08:18
mikalIt might be a completely fine refactor, but you were happy with the implementation yesterday.08:19
noonedeadpunkI have not seen it yesterday, and I see it now it can be done better :)08:20
mikalhttps://review.opendev.org/c/openstack/kolla/+/992483 is already proposed to pin to before openstacksdk changed, but you know that's not a long term fix and I want to emphasise that _all_ users of the collection are broken, not just Kolla.08:20
mikalnoonedeadpunk: sure, so propose a patch on top of the fix.08:20
noonedeadpunkwe;re arguing longer then I can fix it tbh, so just give me like 20 mins to propose a patrch08:20
mikalnoonedeadpunk: you do you man.08:20
mnasiadkanoonedeadpunk: 20 minutes passed :)08:40
* noonedeadpunk trying to figure out why we don't do any unit tests08:41
mnasiadkaLet’s not try to reimplement them right now08:42
noonedeadpunkI have some unit tests I wanna run, not bring back testing itself, but seeing I don't get any regressions is kinda nice08:44
noonedeadpunkokay, I'm giving up on unit tests....09:19
mnasiadkanoonedeadpunk: I think we could accept the work that mikal has made and put his cycles into it - maybe let’s merge the working version and follow up with something better later on?09:20
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Replace usage of removed openstack.version  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99259809:22
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Replace usage of removed openstack.version  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99259809:28
noonedeadpunkmnasiadka: won't you say it looks cleaner this way? ^09:31
noonedeadpunkI am not sure really what was it all arguing about, as it's nothing unreasonable or too complicated...09:32
mnasiadkanoonedeadpunk: well, I think it would make sense to add some attribution to mikal for his prior work09:35
noonedeadpunkoh, yes, sure09:36
noonedeadpunkthat is really great point09:36
noonedeadpunkand it's also failing in CI now, so ... :D09:36
mikalThat's why it wasn't a 20 minute problem. CI takes hours. I've already spent three hours or so on this problem today, which I think is a pretty big donation to a project I have never previously interacted with. Being asked to make unrelated style changes to me feels like I tried to donate $10 and was told I needed to add another $5 for it to be09:42
mikalaccepted. In my mind a fix code review is completely different from a new feature in how much unrelated style work should be requested. But then again, I am just a guy and its clear you don't agree with me.09:42
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Replace usage of removed openstack.version  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99259809:50
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Replace usage of removed openstack.version  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99259809:50
noonedeadpunkthis repo really needs some love... ugh09:51
noonedeadpunkmikal: well, introduction of new method was - I just started looking at unit tests, and that was not working nicely and really requires some time investment. I am not sure how these style changes are considered as unrelated, because they were specifically the changes you proposed.09:53
noonedeadpunkfor me code review process is the same whether it's a new feature, bug fix or new contribution - all of that should be up to some level of readbility and general style.09:54
noonedeadpunkwhile I kinda see where you coming from, I indeed just don't think that smth too unreasonable has been asked...09:55
noonedeadpunkHm, but also I kinda wonder about packaging missing. You wrote that it's exactly the reason why you are having try/except...09:57
mikalThe refactor request was driven by the fact that the lookup happens in three places. That was true before the fix, and therefore is an unrelated refactor. I'm not opposed to that refactor happening, it seems like a good idea to me. My point is more that as a donor of my time, I do not see that as a particularly high priority to _me_ _right_ _now_.09:57
mikalThe lesson here for me seems to be "just wait for someone else to fix it next time".09:57
mikalnoonedeadpunk: the sanity-import test runs in an isolated venv that doesn't install the collection's requirements.txt. So adding packaging to requirements.txt is not sufficient. As mentioned on the review, this is visible in the several CI iterations I went through today.10:00
noonedeadpunkright, but not it's installing requirements.txt with https://review.opendev.org/c/openstack/ansible-collections-openstack/+/992598/4/tox.ini10:00
noonedeadpunkand https://zuul.opendev.org/t/openstack/build/e0af3849bdb44bc0beb2a54faa34bdb0/log/job-output.txt#914 says it's installed10:01
noonedeadpunkaha, I see what you mean10:02
noonedeadpunkomg /o\10:02
noonedeadpunkactually, I think this is a valid failure....10:29
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Replace usage of removed openstack.version  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99259810:35
noonedeadpunkseems I was able to replace packaging with regexp...10:38
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Replace usage of removed openstack.version  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99259810:39
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Replace usage of removed openstack.version  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99259810:41
noonedeadpunkmnasiadka: talking about releases - should I make a new "bugfix" release for ovs?10:53
opendevreviewMichal Arbet proposed openstack/ansible-collections-openstack master: Use importlib.metadata for openstacksdk version detection  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99261310:56
noonedeadpunkthis one actually looks good and we can probably merge it right away ^11:02
noonedeadpunkand I can just add a regexp here as a follow-up11:03
noonedeadpunkmnasiadka: ^11:03
noonedeadpunkbut folks, you have some interesting contribution culture I must admin...11:06
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Ensure dev versions of SDK are parsed properly  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99261611:15
opendevreviewMichal Arbet proposed openstack/ansible-collections-openstack master: Use importlib.metadata for openstacksdk version detection  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99261311:18
noonedeadpunk*admit11:24
mnasiadkaWe can merge once it passes Zuul - I’ll have a look later11:27
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Revive collection unit tests  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99262111:39
noonedeadpunkI made also unit tests to cover my patch and revive them in general - but I can rebase it on whatever merges, not a problem11:42
opendevreviewStephen Finucane proposed openstack/ansible-collections-openstack master: Remove version checks  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99262311:44
opendevreviewStephen Finucane proposed openstack/ansible-collections-openstack master: Remove sdk_version extra var  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99262411:44
noonedeadpunklol11:44
noonedeadpunk:D11:44
opendevreviewStephen Finucane proposed openstack/ansible-collections-openstack master: Remove sdk_version extra var  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99262411:46
opendevreviewStephen Finucane proposed openstack/ansible-collections-openstack master: Remove version checks  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99262311:46
noonedeadpunkfwiw, my patch (https://review.opendev.org/c/openstack/ansible-collections-openstack/+/992598) has just passed, and unit tests in follow-up are also passing.12:11
noonedeadpunkbut I think I like Stephen's approach way more. but it's failing badly...12:11
noonedeadpunkthis one also look good enough: https://review.opendev.org/c/openstack/ansible-collections-openstack/+/992613 - I don't mind if we merge it as we can get votes there faster12:12
*** gmaan_ is now known as gmaan12:24
mnasiadkanoonedeadpunk: well, you need to decide on something ;-)12:40
noonedeadpunkI like the fact of unit tests being around :) But I can rebase them - it's not an issue.12:47
noonedeadpunkI am not sure I can dig into why Stephen's patch is failing though12:48
noonedeadpunkSo while clean-up is great, I'd say we can do it in a more planned manner then urgent one12:48
noonedeadpunkunelss indeed squashing is the way forward12:49
noonedeadpunkas dropping this logic alltogether is the real solution :)12:49
opendevreviewStephen Finucane proposed openstack/ansible-collections-openstack master: Remove version checks  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99262313:06
mnasiadkanoonedeadpunk: I think https://review.opendev.org/c/openstack/ansible-collections-openstack/+/992623 might be the best fix13:51
noonedeadpunk++13:52
noonedeadpunkagree13:52
noonedeadpunkI am just waiting for CI to pass13:52
noonedeadpunkAnd quite happy we didn't rush with solution tbh13:56
noonedeadpunkand it failed 2.18....14:42
noonedeadpunklikely intermittently14:42
mnasiadkaYeah, cinder lvm setup in devstack has some weird problem sometimes15:10
mnasiadkanoonedeadpunk: passed now, merging16:18
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Revive collection unit tests  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99262117:08
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Revive collection unit tests  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99262117:09
noonedeadpunkonce it merge I can rebase https://review.opendev.org/c/openstack/ansible-collections-openstack/+/98302117:15
noonedeadpunkas eventually we need to make a release note for this fix17:24
noonedeadpunkI bet ppl will be looking for it...17:24
opendevreviewMerged openstack/ansible-collections-openstack master: Remove version checks  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/99262317:28
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Prepare release metadata for openstack.cloud 2.6.0  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/98302117:37
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-collections-openstack master: Prepare release metadata for openstack.cloud 2.6.0  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/98302117:37
noonedeadpunkmnasiadka: here we go ^ - I added minimalistic note for sdk compatability17:38
opendevreviewJames Hewitt proposed openstack/ansible-collections-openstack master: Add support for NDP proxies  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/97249617:39
mnasiadkanoonedeadpunk: merging, we need to push a signed tag for the release18:47
noonedeadpunkyup19:21
noonedeadpunkoh, it's not managed with releases....19:21
noonedeadpunkOk, I guess I have no idea how to do that then....19:22
opendevreviewMerged openstack/ansible-collections-openstack master: Prepare release metadata for openstack.cloud 2.6.0  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/98302120:03
mnasiadkaOk, 2.6.0 tag pushed23:18

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