Tuesday, 2024-02-20

opendevreviewPranali Deore proposed openstack/openstacksdk master: Adding support for new add/get location apis  https://review.opendev.org/c/openstack/openstacksdk/+/88327110:36
opendevreviewMridula Joshi proposed openstack/python-openstackclient master: Adds CLI support for glance md-tags  https://review.opendev.org/c/openstack/python-openstackclient/+/90586613:12
opendevreviewTatsuya Hayashino proposed openstack/keystoneauth master: Update requests of device flow for public client  https://review.opendev.org/c/openstack/keystoneauth/+/90956113:20
stephenfinM0weng[m]: I'm guessing you still have to push the change? https://review.opendev.org/c/openstack/python-openstackclient/+/909030/8/openstackclient/tests/unit/identity/v3/test_user.py#2916:07
opendevreviewMridula Joshi proposed openstack/python-openstackclient master: Adding client support for ``glance image-upload``  https://review.opendev.org/c/openstack/python-openstackclient/+/88293817:09
opendevreviewMerged openstack/openstacksdk master: Resource locks and access rules restrictions  https://review.opendev.org/c/openstack/openstacksdk/+/88951917:17
opendevreviewOria Weng proposed openstack/python-openstackclient master: identity: Migrate 'user' commands to SDK  https://review.opendev.org/c/openstack/python-openstackclient/+/90903018:21
ozzzo_workI'm reading this: https://docs.openstack.org/openstacksdk/latest/user/guides/object_store.html18:47
ozzzo_workand trying to use an admin account to look at user projects. For other Openstack components I'd use something like: cloud.network.networks(project_id="' + projectid + '")'18:48
ozzzo_workbut when I try that with Swift: for cont in cloud.object_store.containers(project_id="' + projectid + '"):18:49
ozzzo_workI get an error: Invalid query params: project_id18:50
ozzzo_workLooking here: https://docs.openstack.org/openstacksdk/latest/user/proxies/object_store.html18:55
ozzzo_workI don't see an obvious way to specify the project. Do I need to use the old python API for this?18:56
ozzzo_workmaybe I can use the "session" parameter? Can I use the admin account to create a session pointing to a user project?19:34
ozzzo_workWhen I look at the Swift API, I see a way to specify the account so it seems like there must be something corresponding in the SDK, but it's not obvious how to do it: cmd = "git --version"  returned_value = os.system(cmd)  # returns the exit code in unix print('returned value:', returned_value)20:04
ozzzo_workoops bad paste; URL is: https://docs.openstack.org/api-ref/object-store/#show-container-details-and-list-objects20:04

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