Monday, 2024-04-22

opendevreviewArtem Goncharov proposed openstack/codegenerator master: fix volume.attachments schema  https://review.opendev.org/c/openstack/codegenerator/+/91662813:02
ozzzo_workI'm switching from an ancient version of the sdk to 3.10. In 0.59 we were using list_role_assignments which lists all of the role assignments across all projects and users. I'm looking here: 13:56
ozzzo_workhttps://opendev.org/openstack/openstacksdk/src/branch/master/examples/identity/list.py#L84-L10913:56
ozzzo_workand I don't see anything that will list all role assignments. 13:57
ozzzo_workIn the new SDK do I need to go project by project to get all of the role assignments?13:57
ozzzo_workOr is there a better way?13:57
opendevreviewSimon Hensel proposed openstack/openstacksdk master: Extend project cleanup  https://review.opendev.org/c/openstack/openstacksdk/+/91532714:08
opendevreviewArtem Goncharov proposed openstack/codegenerator master: Convert docstrings to md  https://review.opendev.org/c/openstack/codegenerator/+/91664414:44
ozzzo_workexperimenting further; it looks like list_role_assignments still works although undocumented, but it seems to return the results in a different format. Where can I find a document that describes the changes from old->new SDK?14:55
opendevreviewMerged openstack/codegenerator master: fix volume.attachments schema  https://review.opendev.org/c/openstack/codegenerator/+/91662814:58
opendevreviewTobias Urdin proposed openstack/openstacksdk master: Fix multiple image_id query mappings  https://review.opendev.org/c/openstack/openstacksdk/+/91095515:06
opendevreviewStephen Finucane proposed openstack/openstacksdk master: Fix multiple image_id query mappings  https://review.opendev.org/c/openstack/openstacksdk/+/91095515:06
opendevreviewArtem Goncharov proposed openstack/codegenerator master: Convert docstrings to md  https://review.opendev.org/c/openstack/codegenerator/+/91664416:45
opendevreviewMerged openstack/openstacksdk master: Remove mypy union line which breaks older pythons.  https://review.opendev.org/c/openstack/openstacksdk/+/91519917:04
opendevreviewMerged openstack/openstacksdk master: Add Binero public cloud to vendor support  https://review.opendev.org/c/openstack/openstacksdk/+/91598417:04
opendevreviewMerged openstack/openstacksdk master: image: make sure the target for "clear_cache" is valid  https://review.opendev.org/c/openstack/openstacksdk/+/91361417:06
opendevreviewMerged openstack/openstacksdk master: Adding SDK support for ``glance md-namespace-objects-delete``  https://review.opendev.org/c/openstack/openstacksdk/+/90167117:14
opendevreviewMerged openstack/openstacksdk master: Fix multiple image_id query mappings  https://review.opendev.org/c/openstack/openstacksdk/+/91095518:12
opendevreviewAshley Rodriguez proposed openstack/openstacksdk master: Adds service resource to shared file system  https://review.opendev.org/c/openstack/openstacksdk/+/87332818:58
opendevreviewAshley Rodriguez proposed openstack/openstacksdk master: Adds service resource to shared file system  https://review.opendev.org/c/openstack/openstacksdk/+/87332819:03
opendevreviewAshley Rodriguez proposed openstack/openstacksdk master: Add share instance export location resource to shared file system  https://review.opendev.org/c/openstack/openstacksdk/+/87332719:16
opendevreviewTobias Urdin proposed openstack/openstacksdk master: Add Binero public cloud to vendor  https://review.opendev.org/c/openstack/openstacksdk/+/91666219:24
opendevreviewAshley Rodriguez proposed openstack/openstacksdk master: Add share replica resource to shared file system  https://review.opendev.org/c/openstack/openstacksdk/+/87332419:25
ozzzo_workI'm poking around in the release notes here: https://docs.openstack.org/releasenotes/openstacksdk/index.html19:26
ozzzo_workbut I don't see wherer the list_role_assignments changed. Can anyone point me to the right section?19:27
opendevreviewAshley Rodriguez proposed openstack/openstacksdk master: Add share replica resource to shared file system  https://review.opendev.org/c/openstack/openstacksdk/+/87332419:28
opendevreviewAshley Rodriguez proposed openstack/openstacksdk master: Add share replica resource to shared file system  https://review.opendev.org/c/openstack/openstacksdk/+/87332419:30
-opendevstatus- NOTICE: Gerrit will be offline for a short time while we rename a project repo. https://lists.opendev.org/archives/list/service-announce@lists.opendev.org/message/KP6NCOKJEYRGFD5FS26CZPVLEKFSY2ZO/ for more details20:02
opendevreviewManuel Osorio proposed openstack/openstacksdk master: Add quota class set to shared file system  https://review.opendev.org/c/openstack/openstacksdk/+/91024820:13
opendevreviewOria Weng proposed openstack/python-openstackclient master: Identity: Migrate 'role assignment' commands to SDK  https://review.opendev.org/c/openstack/python-openstackclient/+/91066421:17
M0weng[m]<ozzzo_work> "In the new SDK do I need to go..." <- ozzzo_work: I'm not sure if this is what you're looking for, but I've been using the `role_assignments()` method, which retrieves a generator of all role assignments (as far as I know). You can also pass arguments to filter by project, domain, etc.21:44
M0weng[m]I don't know where/if this is in the docs, but here's what the docstring says in `openstacksdk/openstack/identity/v3/_proxy.py` where it's defined:... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/GxkJcCSDUWSJvGNuCZLGHBCd>)21:45
M0weng[m]edit - Here is the link to the lines: https://opendev.org/openstack/openstacksdk/src/commit/6dbc7e9e940b55afe8596c33807884bac9b1648f/openstack/identity/v3/_proxy.py#L1222-L123321:49

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