Tuesday, 2023-08-29

chris218So if somebody could one again walk me through, what do you guys mean by session, client and connection. And when does each get created after I do `with openstack.connection() as conn` or after `conn.compute` gets called or something else?00:21
opendevreviewSongSuheon proposed openstack/openstacksdk master: Implement heat 'stack event list'  https://review.opendev.org/c/openstack/openstacksdk/+/89283600:56
opendevreviewRajat Dhasmana proposed openstack/openstacksdk master: Fix: Update type encryption operation  https://review.opendev.org/c/openstack/openstacksdk/+/89301006:14
whoami-rajatgtema, hey, replied to your comments on this https://review.opendev.org/c/openstack/python-openstackclient/+/88974808:05
whoami-rajatunfortunately i found out while making changes that update backup support is not there in SDK, hence we need to keep cinderclient dependency08:05
opendevreviewArtem Goncharov proposed openstack/openstacksdk master: add new version handling method  https://review.opendev.org/c/openstack/openstacksdk/+/89166308:36
opendevreviewArtem Goncharov proposed openstack/openstacksdk master: [WIP] Add OpenAPI invocation interface  https://review.opendev.org/c/openstack/openstacksdk/+/89216108:36
opendevreviewMridula Joshi proposed openstack/python-openstackclient master: WIP: Adding CLI support for ``glance image-create-via-import``  https://review.opendev.org/c/openstack/python-openstackclient/+/89302209:46
opendevreviewMerged openstack/openstacksdk master: docs: Document various warnings  https://review.opendev.org/c/openstack/openstacksdk/+/89168809:52
opendevreviewMridula Joshi proposed openstack/python-openstackclient master: Adds command ``image metadef object list``  https://review.opendev.org/c/openstack/python-openstackclient/+/88682110:31
opendevreviewMerged openstack/openstacksdk master: docs: Add exception documentation  https://review.opendev.org/c/openstack/openstacksdk/+/89168910:48
opendevreviewMridula Joshi proposed openstack/python-openstackclient master: Adds command ``image metadef object create``  https://review.opendev.org/c/openstack/python-openstackclient/+/88876512:49
*** ozzzo1 is now known as ozzzo12:57
opendevreviewPavlo Shchelokovskyy proposed openstack/cliff master: Autofit table output if stdout is a tty  https://review.opendev.org/c/openstack/cliff/+/89299113:01
opendevreviewPavlo Shchelokovskyy proposed openstack/cliff master: Fix flake8 violation E721  https://review.opendev.org/c/openstack/cliff/+/89304713:01
opendevreviewStephen Finucane proposed openstack/openstacksdk master: cloud: Remove dead method  https://review.opendev.org/c/openstack/openstacksdk/+/88450013:27
opendevreviewStephen Finucane proposed openstack/openstacksdk master: cloud: Convert 'get_volume_limits' to use proxy layer  https://review.opendev.org/c/openstack/openstacksdk/+/88987013:27
opendevreviewStephen Finucane proposed openstack/openstacksdk master: cloud: Remove '_orchestration_client'  https://review.opendev.org/c/openstack/openstacksdk/+/88449813:27
opendevreviewStephen Finucane proposed openstack/openstacksdk master: cloud: Remove '_get_raw_client'  https://review.opendev.org/c/openstack/openstacksdk/+/88994213:27
opendevreviewFelix Huettner proposed openstack/openstacksdk master: Support passing a subnetpool for create_subnet  https://review.opendev.org/c/openstack/openstacksdk/+/86810413:32
opendevreviewChristian Rohmann proposed openstack/openstacksdk master: Fix swift info endpoint url extraction and add unit tests  https://review.opendev.org/c/openstack/openstacksdk/+/89306213:55
opendevreviewChristian Rohmann proposed openstack/openstacksdk master: Fix bulk_delete support determination  https://review.opendev.org/c/openstack/openstacksdk/+/89307114:52
gtemastephenfin: can you explain me how Nova wants type: bool to be ["bool", "string"]. What the heck is that? It is about server.live_migrate.block_migration which is boolean OR "auto"15:00
stephenfinYeah, that's one case15:02
stephenfinthere might be more15:02
gtemathis is really insane15:06
gtemaopenapi does not actually allow this, and rightfully15:06
gtemahow should you implement this with a strongly typed language15:07
gtemaI nearly covered the whole live migration with OpenAPI so that whole mad logic from server (wrt microversion) goes away, but this crap is a beast15:08
gtemaI guess this is one more reason to FORCE everybody to start using openapi or anything else similar, so that people stop producing insane things 15:09
opendevreviewArtem Goncharov proposed openstack/openstacksdk master: [WIP] Add OpenAPI invocation interface  https://review.opendev.org/c/openstack/openstacksdk/+/89216115:59
opendevreviewAntonia Gaete proposed openstack/openstacksdk master: WIP metadef property operations command, running into auth issues  https://review.opendev.org/c/openstack/openstacksdk/+/89308816:06
opendevreviewAntonia Gaete proposed openstack/openstacksdk master: WIP metadef property operations command, running into auth issues  https://review.opendev.org/c/openstack/openstacksdk/+/89308816:15
fricklercan someone remind me where is the cinder/osc command map? I can't find the OSC equivalent of "cinder default-type-set/-unset"16:19
fricklerah, found it, but those commands are missing in the list https://opendev.org/openstack/python-openstackclient/src/branch/master/doc/source/cli/data/cinder.csv16:28
opendevreviewStephen Finucane proposed openstack/openstacksdk master: cloud: Remove '_orchestration_client'  https://review.opendev.org/c/openstack/openstacksdk/+/88449816:29
opendevreviewStephen Finucane proposed openstack/openstacksdk master: cloud: Remove '_get_raw_client'  https://review.opendev.org/c/openstack/openstacksdk/+/88994216:29
opendevreviewStephen Finucane proposed openstack/openstacksdk master: cloud: Convert 'get_volume_limits' to use proxy layer  https://review.opendev.org/c/openstack/openstacksdk/+/88987016:29
fricklergtema: do you know if there is an intentional feature gap for admin-only cinder commands, or was this just missed so far?16:29
stephenfingtema: OpenAPI 3.1 does support it, iirc?16:33
stephenfinsince 3.1 is a superset of jsonschema rather than a subset like 3.0 and before16:33
stephenfinhttps://cswr.github.io/JsonSchema/spec/multiple_types/16:36
stephenfingtema: https://paste.opendev.org/show/bifSo2ljyVb5X98iWEIQ/ should do the trick in 3.1, I think?16:37
stephenfinfrickler: isn't on line 134? 'volume type list --default'?16:38
stephenfin*isn't it16:38
fricklerstephenfin: no, that's a different command, "cinder type-default"16:40
fricklerwhich is a global default, the other commands set the default per project16:42
gtemaStephenfin: something like this failed validation with openapi_core package and 3.1.0 spec used. But I will try few more things. I have workarounded this now differently, but if that would work properly I'd be glad17:07
gtemadamn, you are right. It failed on my side but in pydantic while generating spec. Thanks17:25
stephenfinfrickler: Ah, in that case I guess it was just never added to the decoder. I would guess that it might have been added to cinderclient after that doc was CSV file was first authored17:45
stephenfinthough I do recall updating it some time ago and am surprised I missed it if so17:46
fricklerstephenfin: seems it was added in 2020 https://review.opendev.org/c/openstack/python-cinderclient/+/739223 , I'll ping rajat when they are back18:11
opendevreviewStephen Finucane proposed openstack/openstacksdk master: Add 'details' parameter to various 'find' baremetal proxy methods  https://review.opendev.org/c/openstack/openstacksdk/+/86937018:19
opendevreviewStephen Finucane proposed openstack/openstacksdk master: baremetal: Decode 'config_drive' argument to 'set_provision_state'  https://review.opendev.org/c/openstack/openstacksdk/+/88969018:19
opendevreviewArtem Goncharov proposed openstack/openstacksdk master: [WIP] Add OpenAPI invocation interface  https://review.opendev.org/c/openstack/openstacksdk/+/89216118:22
stephenfingtema: first user of the fake generator in SDK here btw https://review.opendev.org/c/openstack/python-openstackclient/+/89297518:24
gtemaGreat18:25
stephenfinin case you were interested in seeing it in use18:25
gtemaHehe, I know how it is in use, my generator uses this also ;-)18:26
gtemaI adapted the complex type is open API for migrations - looks great now18:27
gtemaI feel the future behind that initiative18:27
*** melwitt_ is now known as melwitt18:34
opendevreviewRajat Dhasmana proposed openstack/openstacksdk master: Fix: Update/Delete type encryption operation  https://review.opendev.org/c/openstack/openstacksdk/+/89301020:33

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