Thursday, 2022-06-23

*** rcastillo_ is now known as rcastill00:10
*** rlandy|bbl is now known as rlandy01:08
*** rlandy is now known as rlandy|out01:13
*** ysandeep|out is now known as ysandeep04:53
*** ysandeep is now known as ysandeep|afk07:30
*** ysandeep|afk is now known as ysandeep09:20
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Refactored endpoint module and explained region attribute  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84729309:34
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: [DNM] keypair_info test  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84729910:07
*** rlandy_ is now known as rlandy10:34
jm1arxcruz, frenzy_friday, rcastill: looks like we have a gate blocker in aoc due to a change in ansible. sshnaidm submitted a patch but it has not been merged yet https://github.com/ansible/ansible/pull/7805410:40
*** rlandy_ is now known as rlandy10:49
sshnaidmjm1, worth to pin to 2.13?10:57
jm1sshnaidm: lets see how fast ansible guys merge this patch?10:58
sshnaidmanyway it will be only in the next release (if will be merged soon)10:58
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: [DNM] keypair_info test  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84729911:06
*** rlandy_ is now known as rlandy11:08
jm1noonedeadpunk: i am trying to clean up our review backlog. arxcruz' fix for endpoint module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/840640 landed in master, do mind abandoning https://review.opendev.org/c/openstack/ansible-collections-openstack/+/836351 ?11:17
noonedeadpunkjm1: sure, abandoned11:18
jm1noonedeadpunk: thanks :)11:18
noonedeadpunkbtw question since you've summoned me :D Any idea how far collection is from supporting sdk 0.99 ?11:19
jm1noonedeadpunk: far 🙈 https://hackmd.io/7NtovjRkRn-tKraBXfz9jw?view11:19
*** dviroel|afk is now known as dviroel11:20
noonedeadpunkouch11:20
noonedeadpunkok.11:20
gtemanoonedeadpunk: do you have a specific usecase/list of required modules?11:21
gtemajm1: looking through the list it is bit more then simply update to latest SDK, it feels like a complete analysis of what is right and what is wrong there11:22
noonedeadpunkwe use a lot of them. Probably most used are keystone ones, which seems to be fixed. Then goes image upload, net/subnet/router creation. I believe we also handle creation of magnum cluster templates11:23
noonedeadpunkBut hard to recall everything tbh11:23
noonedeadpunkWe also lack volume type creation plugin, never found time to write one...11:24
gtemaI feel it may be helpful to track your particular cases and try maybe prioritize the modules you require11:24
gtemabut even in that case ensure it work now with new sdk like with old sdk without other improvements11:25
jm1gtema: the list of modules is annotated with bug reports. but RFEs are not considered before we havent ported to new sdk.11:27
noonedeadpunkSo to express pain a bit. We just branched yoga (thankfully we're trailing and can afford late releases). And now we need to switch everything to master. And sdk 0.99 comes with uc-11:28
jm1gtema: we already priorize, e.g. tripleo and bifrost modules come first.11:28
noonedeadpunkSo things fail badly as you can imagine.11:28
gtemaright, but not all of the mentioned reports are related to sdk 0.9911:28
noonedeadpunkhttps://review.opendev.org/c/openstack/openstack-ansible/+/84727211:28
noonedeadpunkI will try to look where we fail and propose some easy fixes11:29
jm1noonedeadpunk: tell us which modules openstack-ansible wants to be ported first and we can priorize those as well11:30
noonedeadpunkhm. weird. seems I forgot to push some change to mentioned patch11:30
gtemaperhaps, was just going to ask that failures are not seem coming from ansible collection11:31
noonedeadpunkyeah, they do, but I forgot to switch collection to master :)11:31
noonedeadpunkOr well, I did, but haven't pushed that :D11:31
jm1gtema: initially we were hoping to get some bugs fixed while porting to new sdk. with the original plan of releasing sdk 1.0.0 after zed we had plenty of time 😉11:32
gtemayeah, sure11:32
noonedeadpunkok, I will come up with list and try to help out with some fixes11:33
gtemacan we assume that in order to support sdk 0.99 we need to uncomment remaining bits in https://opendev.org/openstack/ansible-collections-openstack/src/branch/master/.zuul.yaml#L106?11:33
gtemaI mean something failing with latest SDK. Surely there might be uncovered issues11:34
jm1gtema: we have to go through all modules in https://hackmd.io/7NtovjRkRn-tKraBXfz9jw?view11:35
jm1gtema: unless we want to release a surprise box ^^11:35
gtemathe point is that not everything is by default not working with latest sdk11:35
gtemawhat you do now is a great job, but it is more like a complete review of the module and tests11:36
gtemaand this is what is necessary, but makes it much longer11:36
gtemado not think I want to hurry you up - not the sense of the statement11:36
jrosser_with this "with the original plan of releasing sdk 1.0.0 after zed" what should the expectations be for a project like openstack-ansible where we need to make a working Zed release?11:38
jrosser_just so i am understanding what the Zed cycle looks like for us11:38
jm1noonedeadpunk: we have a large doc on how we port modules, on what to look out for, on how we do reviews etc.: https://hackmd.io/szgyWa5qSUOWw3JJBXLmOQ11:40
jm1gtema: in aoc we have ci tests only for a fraction of the modules. so we know little of what really breaks with new sdk. a proper release requires looking at each module.11:42
jm1gtema: what would you propose instead to speed up?11:42
gtemamaybe (just maybe): fix all known things that are broken now with 0.99 (based on current tests), fix issues blocking concrete tripleo/bifrost/whichever and release 2.0.011:44
gtemaafterwards continue going the effort you do now with target of 3.011:44
noonedeadpunkI kind of like that idea11:44
jm1dtantsur, sshnaidm: can you give your opinions on gtema's idea above?11:45
dtantsuryou mean, releasing the stuff when we don't know if it works or not?11:47
dtantsurnot exactly thrilled as you may expect :)11:47
gtemanope, I mean once we know all current tests are fine and bifrost/tripleo are working11:48
dtantsuryeah, if we have serious reasons to assume the rest of the stuff works - sure11:48
gtemabut not explicitly reviewing every particular module for eventual bugs not even related to sdk change11:48
sshnaidmgtema, the fact is that we don't actually know what is broken, the current tests are mostly very "lite" and some modules don't even have them11:49
gtemaI know, this is correct11:49
sshnaidmso I wouldn't rely on tests to show module broken or not11:50
gtemabut if we focus on things that are definitely broken for 2 known users may be sufficient for some interim cut11:50
noonedeadpunkdtantsur: btw looking on https://github.com/openstack/bifrost/blob/7271695714739af10d741a39dc4acd5e68465cb5/playbooks/roles/bifrost-ironic-install/tasks/keystone_setup.yml and https://opendev.org/openstack/openstack-ansible-plugins/src/branch/master/roles/service_setup/tasks I wonder if it might make sense to move that "role" to sdk so we can both use it?11:50
gtemaand this definitely broken for me means - ensure their jobs are running11:50
sshnaidmbut you still need to check it, to run module, to test - you do this work anyway, it doesn't save us a lot11:50
gtemaaren't we have jobs from bifrost and tripleo that fail in the current state? 11:51
gtemaat least that was my assumption11:51
sshnaidmI think tripleo is fine now(?)11:52
noonedeadpunkIt failed when I set depends-on on latest collection version fwiw11:52
dtantsurnoonedeadpunk: probably? never thought about it11:52
gtemaI know for sure there is non addressed bug in server module (but it is not ported) - there is bug reported. Once we address known blockers we could cut interim state to unblock "majority"11:53
gtemanoonedeadpunk: we could both try to put more generalization logic into sdk and/or add roles in AOC itself with such repeated tasks11:54
noonedeadpunksshnaidm: good example was https://review.opendev.org/c/openstack/ansible-config_template/+/846391/2 until patchset 4 where I dropped dependency on latest collection11:55
sshnaidmI'm not so comfortable to release a probably broken modules. It's better for user to install an old sdk and use old modules, than install a new sdk and have "probably working" ones11:55
noonedeadpunkand latest release is totally broken with sdk 0.9911:55
noonedeadpunklatest tagged collection release11:55
noonedeadpunkand you _must_ use sdk 0.99 for zed development11:56
noonedeadpunklikely triplo doesn't do that though....11:56
sshnaidmwhy _must_?11:56
dtantsurupper-constraints11:56
gtemaI honestly dislike must as well - this seem wrong from sdk concept11:56
sshnaidmI don't think it's a _must_11:57
dtantsurfor better or worse, openstack has agreed to maintain a common set of Python dependencies11:57
noonedeadpunkbecause otherwise you're fall of requirements set by https://docs.openstack.org/project-team-guide/dependency-management.html ?11:57
noonedeadpunkAs upper-constraints strightfully say that sdk 0.99 should be used11:57
sshnaidmAnd not all users of sdk and collections are developers, I think (hope :)) most of them are operators, and they would install whatever sdk they need11:58
dtantsurand any project using sdk is within its rights to start doing openstacksdk>=0.9911:58
dtantsurmaking it no longer co-installable with aoc11:58
gtemaisn't upper constraint meant to be really "you can't use anything newer then 0.99"?11:58
dtantsurno, it means literally this version11:58
noonedeadpunkyes^11:58
sshnaidmwhat is word "upper" meaning then? :)11:58
dtantsursshnaidm: the desire to keep it as close to the latest versions as possible11:59
dtantsurwhich is the crux of the problem here :)11:59
gtemauhm, I was feeling requirements.txt can pick up something between lower-constraint and upper-constraint11:59
noonedeadpunknope, you should use u-c11:59
noonedeadpunklower constraints were just project-wise constraints, that are not limited11:59
noonedeadpunkLike for test tooling versions or smth11:59
sshnaidmI'm fine with releasing master every patch for dev version of collections, not "released" one, if it helps someone12:00
noonedeadpunkI mean, if you pass u-c as --constraint to the pip, `openstacksdk===0.99.0` won't give you any choice12:00
dtantsuror you start doing ugly stuff like this https://opendev.org/openstack/bifrost/src/commit/8fa29d9834dcc0eb0f58ff6c6ff69888a0408131/playbooks/roles/bifrost-create-vm-nodes/tasks/prepare_libvirt.yml#L170-L17712:02
noonedeadpunkI have better example of how unhappy I am with current state of u-c for stable branches: https://opendev.org/openstack/openstack-ansible-os_neutron/src/branch/master/tasks/neutron_install.yml#L7012:03
noonedeadpunkas how in the world `neutron` appears in u-c....12:04
dtantsurwow12:04
dtantsuryeah, because it's a dependency of networking-*12:04
noonedeadpunkI bet it should be in lower constraints then tbh....12:05
dtantsurit has to be in upper constaints OR projects have to have an upper cap for it12:05
noonedeadpunkas then if you follow "guide" you don't have any option which version of neutron to install 12:05
gtemaworld of py deps is a real mess12:05
dtantsuryeah12:05
gtemaand in OpenStack it only gets even worse12:05
noonedeadpunknot sure it's worse them nmp though12:06
gtemamost likely comparable12:06
gtemajust npm usually is not coming with cli, while in py it is very common12:06
sshnaidmThe other option is to go quickly over the modules and to look where it can be fixed, w/o doing much changes, sdk fixes only. After a first release - to go over again with more solid approach. But I don't think we will ever get to it after a release..12:08
dtantsurThis is a good point. There is a chance that whatever you release as 2.0 will stay with you for a long time :)12:09
dtantsursimply because of the team's capacity12:09
gtemaon demand - once a bug report arrives12:09
gtemafor me it looks like that: if you can get your "stakeholder" accept delay - we should do this reasonably. Once this is not possible - we may want to have a faster workaround with a big chance to never address issue without real bug report12:10
sshnaidmoperators are not such people that easily open bugs, they mostly stop using tools :)13:01
gtemaalso true13:01
sshnaidmalso we put a quite high barrier to submit a bug - to use storyboard13:01
gtemabut now blocking them for so long may have same effect13:01
sshnaidmpeople desperate just to register there13:01
gtemayes, that is basically unmanageable13:01
*** rcastill is now known as rcastillo13:02
gtemaI can't wait for opendev to enable gitea issues13:02
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Update project_info module to new sdk  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/83727613:12
jm1dtantsur, gtema, noonedeadpunk, sshnaidm: so we have a stalemate here.13:30
jm1on the one hand we want to get a release out quickly: 0.99.x is part of zed coinstalling an older sdk with zed will be difficult or impossible. so people might be blocked because the old aoc release wont work with new 0.99.x and once we release a new stable release aoc will even refuse to work with new sdk.13:30
jm1on the other hand if we rush out a release god-knows-what could still be broken in aoc because our ci coverage is suboptimal. we do not know what will break. bifrost/openstack-ansible/tripleo would work because we cover required modules in the new aoc release. once we publish that aoc release, dev velocity will probably slow down to maintenance-mode.13:30
noonedeadpunksounds like valid overview, yes13:31
noonedeadpunkBut, what makes things even worse for Zed, is that system scopes should be supported there for sure. They're even supposed to be present in Yoga13:32
noonedeadpunkBut sdk/aoc do not match to have that13:32
noonedeadpunkor well, it goes to this stalemate you wrote 13:33
sshnaidmwhen is Zed out?13:37
*** ysandeep is now known as ysandeep|afk13:39
noonedeadpunk2022-10-0513:46
*** ysandeep|afk is now known as ysandeep13:47
noonedeadpunkso like 3 month13:47
sshnaidmand I think it's fine to release 2.0.0 just before Zed is released, right?13:52
noonedeadpunkI think it should be fine, yes. As deployment projects are mostly trailing, so they have some more time to adopt13:52
*** ysandeep is now known as ysandeep|out15:21
*** frenzy_friday is now known as frenzyfriday|PTO16:21
*** rcastillo_ is now known as rcastillo18:28
*** dviroel is now known as dviroel|out21:14
*** rlandy is now known as rlandy|bbl22:30

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