Tuesday, 2024-09-10

*** __ministry is now known as Guest302801:41
*** ralonsoh_ is now known as ralonsoh05:48
*** sergio is now known as Guest304206:21
opendevreviewArtem Goncharov proposed openstack/codegenerator master: Start building Ironic OpenAPI  https://review.opendev.org/c/openstack/codegenerator/+/92866407:16
opendevreviewArtem Goncharov proposed openstack/codegenerator master: Escape commit message  https://review.opendev.org/c/openstack/codegenerator/+/92876109:00
opendevreviewStephen Finucane proposed openstack/keystoneauth master: Update betamax extra deps  https://review.opendev.org/c/openstack/keystoneauth/+/92880114:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: Add pre-commit  https://review.opendev.org/c/openstack/keystoneauth/+/92880214:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: docs: Remove cruft from configuration files  https://review.opendev.org/c/openstack/keystoneauth/+/92880314:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: trivial: Remove errant trailing commas  https://review.opendev.org/c/openstack/keystoneauth/+/92880414:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: Apply ruff, ruff-format  https://review.opendev.org/c/openstack/keystoneauth/+/92880514:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: Enable ruff, ruff-format  https://review.opendev.org/c/openstack/keystoneauth/+/92880614:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: typing: Make abstract method actually abstract  https://review.opendev.org/c/openstack/keystoneauth/+/92880714:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: typing: Synchronise overridden method signatures  https://review.opendev.org/c/openstack/keystoneauth/+/92880814:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: typing: Add variable for auth plugin opts  https://review.opendev.org/c/openstack/keystoneauth/+/92880914:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: typing: Resolve remaining initial issues  https://review.opendev.org/c/openstack/keystoneauth/+/92881014:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: Enable mypy  https://review.opendev.org/c/openstack/keystoneauth/+/92881114:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: discover: Expand use of kwargs  https://review.opendev.org/c/openstack/keystoneauth/+/92881214:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: discover: Rework normalization  https://review.opendev.org/c/openstack/keystoneauth/+/92881314:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: typing: Annotate keystoneauth1.discover  https://review.opendev.org/c/openstack/keystoneauth/+/92881414:06
stephenfingtema: jfyi, I have keystoneauth fully typed (except for tests and test fixtures). Might be looking for your help getting them merged in the next while. I want them to continue my typing SDK journey14:19
stephenfinAlso, I was going to ask if you'd seen https://review.opendev.org/c/openstack/codegenerator/+/927704 but it seems you have (y)14:19
gtemasure stephenfin, thanks. I got reformat and typing merged in keystone itself14:19
gtemaso adding keystoneauth is great14:19
gtemaI am on your change14:20
gtemahttps://review.opendev.org/c/openstack/codegenerator/+/928761 fixes it (you used ' in the commit message and it broke the job preparing the commit)14:20
gtemasadly there is apparently also one race that I was not able to reproduce locally ever that causes codegenerator to produce "broken" code and only recheck helps - I am scratching my head with no ideas why is that happening and how I can reproduce it reliably14:21
gtemabtw stephenfin - we started looking at ironic. They use different decorators and not everything is easy, but at least I hope they will decide how to deal with it (whether to switch to decorators like everywhere else or to tweak codegenerator to support that deviation as well)14:23
stephenfinsweet \o/14:23
stephenfinI did talk to them at the last PTG about doing this and TheJulia noted that they would just like to ensure adding decorators didn't introduce a significant performance regression but were otherwise open to it14:24
stephenfinI've been focused on Manila and Nova (plus, to a lesser degree, Cinder) since though, so I haven't had a chance to work on Ironic14:25
gtemaJayF asked his colleague to start looking at openapi@ironic so hopefully we get a better traction. It's however still not trivial due to use of pecan with a very dynamic routing14:25
JayFadamcarthur5 is in here FYI14:26
gtemaright, thanks for bringing us together JayF14:27
JayFAbsolutely. We're going to be chatting today and he's going to bring me up to date.14:28
gtemaperfect. I told him also that we could have another joint meeting to further align on strategy14:29
JayFI'm more of a person who likes to find a specific action we can take and take it rather than talking more about strategy. Such as maybe putting a point on that question for how ironic is going to implement this, so that we can pilot it and get an answer from the other cores14:30
gtemayou speak to my soul JayF ;-)14:31
stephenfinJayF: Agreed. The main thing we need is the ability to retrieve a schema for a given microversion.14:32
JayFI don't know any of the mechanics for what y'all been working on so far, but I'll have a better idea after talking to Adam this afternoon.14:33
JayFI think you'll find that ironic tends to let the implementers have a lot of free reign on implementation details. We're not dogmatic about specific ways of doing things14:33
JayFSo if you find a way that works, as long as it makes sense and is updatable I don't think anyone is going to have a problem with it [knock on wood]14:34
stephenfinidk how up-to-speed Adam is, but most of nova's logic lives here nova/api/validation/__init__.py14:34
gtemastephenfin - ironic has something similar and though deviating heavily14:35
stephenfinIt's not complicated and relies on a webob request object being the first parameter to any controller method14:35
stephenfingtema: good to know14:35
stephenfinso does manila and cinder, but those are a lot close to Nova that Ironic is (all use webob + routes)14:35
stephenfin...hence my focus on those three together so far :)14:36
gtemaand I "copied" the same into Keystone (which is similarly as ironic relies on a completely different framework)14:36
gtemafrom that pov it would be strategically more helpful if ironic would adopt the same decorators (at least syntaxically)14:37
stephenfinyeah, flask (with plugins) iirc. Nova et al probably need to switch themselves at some point since webob seems to be going the way of the dinosaur, but I already have more work that I can keep on top of so...14:40
JayFIronic uses some webob headers too -- you're saying those need to change?14:57
JayFLet me put it this way; if Ironic has tech debt in our API controllers around how we pass around headers/information, I'm not aware of it and so please help if you know any :D 14:58
opendevreviewMerged openstack/codegenerator master: Escape commit message  https://review.opendev.org/c/openstack/codegenerator/+/92876115:06
opendevreviewStephen Finucane proposed openstack/keystoneauth master: Drop support for Python 3.8  https://review.opendev.org/c/openstack/keystoneauth/+/92883316:45
opendevreviewMerged openstack/codegenerator master: Add getting started guide to README  https://review.opendev.org/c/openstack/codegenerator/+/92770416:48
opendevreviewStephen Finucane proposed openstack/keystoneauth master: Drop support for Python 3.8  https://review.opendev.org/c/openstack/keystoneauth/+/92883316:49
stephenfingtema: Are we ready to merge the "drop python3.8" patches now that we've branched? https://review.opendev.org/q/topic:%22drop-py37-py38%2216:50
gtemayupp, shoot it16:51
gtemaoh but not in the cli16:52
stephenfinhuh?16:52
gtemacli is not branched, not that I see a branch16:52
stephenfinI think it's independent16:52
stephenfinnope16:53
stephenfinonly thing I can see is that it's 'type: other'16:54
gtemaehm, I am confused16:55
stephenfinlooks like this has happened before https://review.opendev.org/c/openstack/releases/+/91349416:56
stephenfinI think there's a tooling issue16:56
gtemafwik it should have happened in https://review.opendev.org/c/openstack/releases/+/927944 where sdk and osc-lib were branched17:03
stephenfindiscussing on #openstack-release now. elodilles confirmed it's because of the type17:04
stephenfinosc-lib and sdk are 'type: library' so we can't do the same there. client-library doesn't really make sense either since it's not a library17:04
opendevreviewSlawek Kaplonski proposed openstack/python-openstackclient master: Add "trusted" attribut to the "port"  https://review.opendev.org/c/openstack/python-openstackclient/+/92772717:49
opendevreviewSlawek Kaplonski proposed openstack/openstacksdk master: Add "trusted" attribute to "port" resource  https://review.opendev.org/c/openstack/openstacksdk/+/92772318:25
samcat116Has --os-profile been removed from the OpenStack CLI? Its not a recognized argument for anything on client version 6.3.019:15
opendevreviewTobias Urdin proposed openstack/openstacksdk master: Change block storage volume summary parameter  https://review.opendev.org/c/openstack/openstacksdk/+/92886720:29
opendevreviewTobias Urdin proposed openstack/openstacksdk master: Change block storage volume summary parameter  https://review.opendev.org/c/openstack/openstacksdk/+/92886720:30
opendevreviewTobias Urdin proposed openstack/openstacksdk master: Change block storage volume summary parameter  https://review.opendev.org/c/openstack/openstacksdk/+/92886721:16
opendevreviewTobias Urdin proposed openstack/openstacksdk master: Change block storage volume summary parameter  https://review.opendev.org/c/openstack/openstacksdk/+/92886721:26
opendevreviewTobias Urdin proposed openstack/openstacksdk master: Change block storage volume summary parameter  https://review.opendev.org/c/openstack/openstacksdk/+/92886721:49
opendevreviewTobias Urdin proposed openstack/openstacksdk master: Add backup summary API  https://review.opendev.org/c/openstack/openstacksdk/+/92887021:52
opendevreviewTobias Urdin proposed openstack/openstacksdk master: Add backup summary API  https://review.opendev.org/c/openstack/openstacksdk/+/92887021:52
opendevreviewTobias Urdin proposed openstack/python-openstackclient master: Add volume backup summary command  https://review.opendev.org/c/openstack/python-openstackclient/+/92887122:17
JayFgtema: took a browse with adamcarthur5 through the generator, and looking at ironic v nova microversion implementations, it seems extremely unlikely that the same approach will work unless significant changes are made to Ironic. Those changes likely will need another catalyst to happen (e.g. if we need to migrate something in our api library stack anyway) and would be a hot topic for PTG22:51
JayFgtema: if you wanna see an example, start here: https://opendev.org/openstack/ironic/src/branch/master/ironic/api/controllers/v1/versions.py look at history and you'll see many commits adding microversions to see how we handle them, e.g.: https://opendev.org/openstack/ironic/commit/8e34d622aff72d7dd286add31e3d7cd366629bc222:52

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