Wednesday, 2022-05-25

*** dviroel|out is now known as dviroel00:21
opendevreviewRonelle Landy proposed openstack/ansible-collections-openstack master: Revert "Raise minimum OpenStack SDK version to 0.99.0"  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84319200:45
*** dviroel is now known as dviroel|out01:24
*** rcastillo_ is now known as rcastillo02:56
*** ysandeep|out is now known as ysandeep|rover04:35
*** ysandeep|rover is now known as ysandeep|rover|brb05:25
*** ysandeep|rover|brb is now known as ysandeep|rover05:32
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Revert "Raise minimum OpenStack SDK version to 0.99.0"  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84323806:33
opendevreviewJakob Meng proposed openstack/ansible-collections-openstack master: Revert "Raise minimum OpenStack SDK version to 0.99.0"  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84319206:34
*** ysandeep|rover is now known as ysandeep|rover|lunch07:44
*** ysandeep|rover|lunch is now known as ysandeep|rover08:33
opendevreviewMerged openstack/ansible-collections-openstack master: Revert "Raise minimum OpenStack SDK version to 0.99.0"  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84319209:08
dtantsurfolks, is it your intention to make 1.0.0 incompatible with OpenStack Zed? If not, please revert https://review.opendev.org/c/openstack/ansible-collections-openstack/+/83969310:39
dtantsurif yes, please let me know the next 1.0.* version in which ^^^ will be released, so that we can exclude it in bifrost10:40
dtantsurcc jm1 10:40
*** arxcruz is now known as arxcruz|off10:52
jm1dtantsur: openstacksdk 0.99.x/1.x.x introduces backward incompatible changes which forces us to release a new ansible openstack collection 2.x.x which is incompatible to 1.x.x11:24
jm1dtantsur: master branch of aoc is tracking 2.x.x releases and will be compatible to sdk 1.x.x (and 0.99.x to some degree) only. our stable/1.0.0 branch is compatible to sdk pre-0.99.x releases only.11:25
*** dviroel|out is now known as dviroel11:30
*** ysandeep|rover is now known as ysandeep|rover|afk12:41
dtantsurjm1: okay, to clarify: Bifrost Zed must NOT use collection 1.x.x? what should it use? 0.x.x?12:53
dtantsuror will 2.x.x be available really soon?12:54
dtantsurand which 1.x.x version will the requirements change go in? I assume 1.0.0 because you need a major version bump for a breaking change?12:56
dtantsurhold on, you have released 1.8.0 already. you cannot release such a huge breaking change as part of 1.0.0 branch, assuming you care about sem-ver even a bit13:00
dtantsurwhich, I guess, begs the question: is it possible to fix openstacksdk instead? cc gtema 13:01
gtemawhat exactly do you mean? I know perfectly nobody want to have backward incompatibility, but keeping inconsistencies forever is not a solution either13:30
gtemaand we were trying to prepare this for so long 13:31
*** ysandeep|rover|afk is now known as ysandeep|rover13:31
dtantsurI see a problem in the fact that the newest versions of openstacksdk and ansible collections don't work with each other..13:38
gtemathey do, but only newest with newest. newest AC should work with older SDK (not 100%, but still). Older AC will not properly work with new SDK indeed (but also here - not everywhere)13:42
opendevreviewJan Horstmann proposed openstack/ansible-collections-openstack master: Return details in baremetal_node_info when iterating over all machines  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/83977614:07
jm1dtantsur: ansible openstack collection 1.8.0 should not break backward compatibility with older aoc releases (1.x.x). if it does, it is a bug. 14:23
dtantsurjm1: the next version with patch in question will break anyone who co-installs it with openstacksdk from Zed14:25
gtemaokay, that may be the case, but it's not due to SDK. We tried to request 1.0.0.rc1 (b1, or else), but this is not possible by RM. Thus now we have this 0.99 madness14:25
dtantsurjm1: this includes bifrost, as you can see from the failing job you noticed14:25
jm1dtantsur: ansible openstack collection 1.x.x must only be used with openstacksdk <0.99.0. if openstacksdk 0.99.x or 1.x.x is going to be released with Zed, then iiuc Bifrost Zed should not be using Ansible OpenStack collection 1.x.x. This is not something AOC can really change. we have no manpower to keep backward compatibility in aoc with new sdk14:26
jm1dtantsur: let me try to rephrase: openstacksdk 0.99.x/1.x.x introduced breaking changes (which make sense btw) to sdk<0.99.0. we have no manpower to add a compatibility layer in aoc for old and new sdk to keep our collection backward compatible. we barely have the manpower to port aoc the new sdk...14:29
dtantsurjm1: it's not going to, 0.99 is already in upper-constraints14:29
gtemait's not going to, 0.99 is already in upper-constraints - I would say this is the problem14:29
gtemathis should not actually happen14:29
jm1dtantsur, gtema: oha, this adds extra pressure for us (aoc)14:29
dtantsurupper-constraints is updated automatically for all new releases from the corresponding branch14:30
dtantsuryou can ask the requirements team to withhold 0.99 but only if you plan to release 0.99.1 that somehow fixes it soon14:30
gtemathen either we suggest to undo this or every project facing problem cap it requirements (this should be still possible to have dep lower then whatever in upper-constraints)14:31
gtema0.99.1 will not solve the issue14:31
dtantsurcapping can only be done on the global-requirements level14:31
gtemaonly once AOC is ready (and we do not hear other complains) we would be able to make R1.0.014:31
dtantsurmeaning, nobody will get the new openstacksdk. at all.14:31
dtantsuryou're also going to receive a lot of pushback IMO14:32
gtemahmm, I always thought you can have lower cap in requirements.txt then in upper-constraints14:32
gtemaand it must be >= then whatever in lower-constraints14:32
dtantsurlower version is not a cap :)14:33
gtemaokay, name it as you want14:33
dtantsurI think any exclusions are done centrally, and the reason is that otherwise it's easy to produce software that is not co-installable14:33
dtantsurimaging, ironic does openstacksdk>=0.99, nova does openstacksdk>=0.1.0,<0.9914:34
gtemayes, but nobody is going to limit one lib due to one project failing to update fast14:34
gtemaat least this should not happen14:34
dtantsurI don't think it will happen. which brings us back to square one: latest versions of aoc and sdk are not usable together14:35
gtemauhm14:35
gtemaI am sad14:35
dtantsurwhat is even much worse, I don't think it's enforced at install time14:37
dtantsurso, pip will happily install sdk 0.99 from upper-constraints, galaxy will happily install 1.9.0 (or what is it going to be). boom.14:37
gtemawhat is not working currently in AOC?14:38
gtemamaybe we can shift efforts to fix those issues explicitly (to unblock bifrost, etc)14:38
sshnaidmhow is bifrost broken..?14:45
dtantsurit installs stuff from upper-constraints. including openstacksdk 0.9914:46
sshnaidmwhat does it use from ansible openstack collection?14:47
dtantsurbaremetal and identity stuffs14:47
sshnaidmlet's prioritize them then14:50
sshnaidmdtantsur, do you have a list?14:50
gtemadtantsur: can you list particular modules used?14:50
dtantsurgimme a minute14:51
gtemano hurry14:51
dtantsurhttps://paste.opendev.org/show/btQRHBPVqHOjINSIcx6t/14:53
sshnaidmcatalog_service is in progress: https://review.opendev.org/c/openstack/ansible-collections-openstack/+/83935214:55
sshnaidmendpoint is in progress: https://review.opendev.org/c/openstack/ansible-collections-openstack/+/83635114:55
sshnaidmproject is in progress: https://review.opendev.org/c/openstack/ansible-collections-openstack/+/83964014:57
sshnaidmthat's all in progress atm, I think14:58
sshnaidmothers need to prioritize14:58
jm1sshnaidm, dtantsur: bifrost pulls aoc from galaxy during setup, doesn't it?15:01
jm1sshnaidm, dtantsur: we probably want to release aoc 2.0.0 when all modules have been ported, else we would release something which works partly with old sdk and partly with new sdk, which means its just broken. 15:02
sshnaidmjm1, of course15:03
jm1sshnaidm, dtantsur: priotizing some modules would thus only make sense if bifrost would pull aoc from git instead of galaxy15:03
gtemamaybe do similar to SDK 1.99.0 (or something similar)15:03
jm1gtema: because we made good experience with that decision? 😋 (just kidding)15:04
sshnaidmgtema, it will be still half-broken15:04
gtemasure, but somehow signals it is pre-release15:04
gtemasdk 0.99 is also "broken" from that angle15:04
sshnaidmyeah, it is :)15:04
jm1gtema: sdk 0.99 is still in better shape than aoc with a handful of fixed modules only15:05
sshnaidmI'd rather to stick to semver, to put breaking changes in major release only15:05
jm1sshnaidm: agree, and not release a known broken version15:06
jm1dtantsur: will it be possible for bifrost to use master branch for sdk>=0.99.0?15:07
sshnaidmhow crazy is idea to release sdk 0.99.1 with a code of 0.62?15:08
sshnaidmto return to a old good times15:09
*** dviroel is now known as dviroel|lunch15:09
sshnaidmbtw, ansible-galaxy has an ability to have non-released versions like 2.0.0-dev or whatever, they won't be installed usually if user doesn't specify it explicitly.15:10
sshnaidmidk if it helps, but anyway15:10
gtemaundoing sdk will be my personal disaster (a final nail on a coffin) ;-)15:11
jm1sshnaidm, gtema: that non-released version idea might be a good idea15:11
sshnaidmgtema, yeah, I see :)15:12
jm1sshnaidm: somehow i am blind, where do i find info about these dev releases on ansible galaxy?15:18
sshnaidmjm1, it's mostly "tribal knowledge", but it complies with semver https://galaxy.ansible.com/docs/contributing/version.html15:21
sshnaidmunlike openstack versions, which don't comply with semver15:21
sshnaidmI had long discussions with infra team while trying to tag a dev release of collections...15:22
sshnaidmExample: 1.0.0-alpha < 1.0.0. - https://semver.org/15:23
dtantsurjm1: there is nothing preventing us from using aoc from git if needed15:23
dtantsur2.0.0-dev1 would work as well15:23
dtantsurbifrost is operating in a venv, which makes certain things easier :)15:24
sshnaidmthe best way would be just using sdk 0.6x in venv15:24
dtantsursshnaidm: we don't want to diverge from upper-constraints15:25
dtantsurwon't help if some project decides to go >=0.9915:25
jm1dtantsur: valid point, others will have the same issue15:25
sshnaidmyeah, I mean as a temporary workaround, not the solution15:26
jm1sshnaidm: would a galaxy release with semver "2.0.0-something+001" not be larger than our latest 1.8.0 and thus choosen?15:27
sshnaidmany 2.0.0-something won't be installed at all if it's not specified explicitly15:30
sshnaidmjm1, you can play with some dummy collections in your space to test15:30
jm1sshnaidm: ack, we will definitely test that before releasing that. but i think such a dev version on galaxy would require least effort for users15:35
sshnaidmprobably, or they just can install from master15:35
jm1sshnaidm: a right, that is easy: ansible-galaxy collection install git+https://github.com/org/repo.git,devel15:37
jm1dtantsur: are you fine with us fixing your modules asap and you installing from git directly?15:38
dtantsuryep, thank you!15:46
*** dviroel|lunch is now known as dviroel16:16
*** ysandeep|rover is now known as ysandeep|out17:00
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Adds mechanisms to extend OpenstackModule behaviors  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84332418:01
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update baremetal_node_info to use new sdk  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84332518:01
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update baremetal_node_info to use new sdk  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84332518:03
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update baremetal_inspect to be compatible with new sdk  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84333418:48
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Adds mechanisms to extend OpenstackModule behaviors  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84332418:55
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update baremetal_inspect to be compatible with new sdk  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84333419:01
opendevreviewRafael Castillo proposed openstack/ansible-collections-openstack master: Update baremetal_inspect to be compatible with new sdk  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/84333419:17
*** dviroel is now known as dviroel|afk20:07

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