opendevreview | Artem Goncharov proposed openstack/codegenerator master: fix volume.attachments schema https://review.opendev.org/c/openstack/codegenerator/+/916628 | 13:02 |
---|---|---|
ozzzo_work | I'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_work | https://opendev.org/openstack/openstacksdk/src/branch/master/examples/identity/list.py#L84-L109 | 13:56 |
ozzzo_work | and I don't see anything that will list all role assignments. | 13:57 |
ozzzo_work | In the new SDK do I need to go project by project to get all of the role assignments? | 13:57 |
ozzzo_work | Or is there a better way? | 13:57 |
opendevreview | Simon Hensel proposed openstack/openstacksdk master: Extend project cleanup https://review.opendev.org/c/openstack/openstacksdk/+/915327 | 14:08 |
opendevreview | Artem Goncharov proposed openstack/codegenerator master: Convert docstrings to md https://review.opendev.org/c/openstack/codegenerator/+/916644 | 14:44 |
ozzzo_work | experimenting 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 |
opendevreview | Merged openstack/codegenerator master: fix volume.attachments schema https://review.opendev.org/c/openstack/codegenerator/+/916628 | 14:58 |
opendevreview | Tobias Urdin proposed openstack/openstacksdk master: Fix multiple image_id query mappings https://review.opendev.org/c/openstack/openstacksdk/+/910955 | 15:06 |
opendevreview | Stephen Finucane proposed openstack/openstacksdk master: Fix multiple image_id query mappings https://review.opendev.org/c/openstack/openstacksdk/+/910955 | 15:06 |
opendevreview | Artem Goncharov proposed openstack/codegenerator master: Convert docstrings to md https://review.opendev.org/c/openstack/codegenerator/+/916644 | 16:45 |
opendevreview | Merged openstack/openstacksdk master: Remove mypy union line which breaks older pythons. https://review.opendev.org/c/openstack/openstacksdk/+/915199 | 17:04 |
opendevreview | Merged openstack/openstacksdk master: Add Binero public cloud to vendor support https://review.opendev.org/c/openstack/openstacksdk/+/915984 | 17:04 |
opendevreview | Merged openstack/openstacksdk master: image: make sure the target for "clear_cache" is valid https://review.opendev.org/c/openstack/openstacksdk/+/913614 | 17:06 |
opendevreview | Merged openstack/openstacksdk master: Adding SDK support for ``glance md-namespace-objects-delete`` https://review.opendev.org/c/openstack/openstacksdk/+/901671 | 17:14 |
opendevreview | Merged openstack/openstacksdk master: Fix multiple image_id query mappings https://review.opendev.org/c/openstack/openstacksdk/+/910955 | 18:12 |
opendevreview | Ashley Rodriguez proposed openstack/openstacksdk master: Adds service resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873328 | 18:58 |
opendevreview | Ashley Rodriguez proposed openstack/openstacksdk master: Adds service resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873328 | 19:03 |
opendevreview | Ashley Rodriguez proposed openstack/openstacksdk master: Add share instance export location resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873327 | 19:16 |
opendevreview | Tobias Urdin proposed openstack/openstacksdk master: Add Binero public cloud to vendor https://review.opendev.org/c/openstack/openstacksdk/+/916662 | 19:24 |
opendevreview | Ashley Rodriguez proposed openstack/openstacksdk master: Add share replica resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873324 | 19:25 |
ozzzo_work | I'm poking around in the release notes here: https://docs.openstack.org/releasenotes/openstacksdk/index.html | 19:26 |
ozzzo_work | but I don't see wherer the list_role_assignments changed. Can anyone point me to the right section? | 19:27 |
opendevreview | Ashley Rodriguez proposed openstack/openstacksdk master: Add share replica resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873324 | 19:28 |
opendevreview | Ashley Rodriguez proposed openstack/openstacksdk master: Add share replica resource to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/873324 | 19: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 details | 20:02 | |
opendevreview | Manuel Osorio proposed openstack/openstacksdk master: Add quota class set to shared file system https://review.opendev.org/c/openstack/openstacksdk/+/910248 | 20:13 |
opendevreview | Oria Weng proposed openstack/python-openstackclient master: Identity: Migrate 'role assignment' commands to SDK https://review.opendev.org/c/openstack/python-openstackclient/+/910664 | 21: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-L1233 | 21:49 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!