opendevreview | Pranali Deore proposed openstack/openstacksdk master: Adding support for new add/get location apis https://review.opendev.org/c/openstack/openstacksdk/+/883271 | 10:36 |
---|---|---|
opendevreview | Mridula Joshi proposed openstack/python-openstackclient master: Adds CLI support for glance md-tags https://review.opendev.org/c/openstack/python-openstackclient/+/905866 | 13:12 |
opendevreview | Tatsuya Hayashino proposed openstack/keystoneauth master: Update requests of device flow for public client https://review.opendev.org/c/openstack/keystoneauth/+/909561 | 13:20 |
stephenfin | M0weng[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#29 | 16:07 |
opendevreview | Mridula Joshi proposed openstack/python-openstackclient master: Adding client support for ``glance image-upload`` https://review.opendev.org/c/openstack/python-openstackclient/+/882938 | 17:09 |
opendevreview | Merged openstack/openstacksdk master: Resource locks and access rules restrictions https://review.opendev.org/c/openstack/openstacksdk/+/889519 | 17:17 |
opendevreview | Oria Weng proposed openstack/python-openstackclient master: identity: Migrate 'user' commands to SDK https://review.opendev.org/c/openstack/python-openstackclient/+/909030 | 18:21 |
ozzzo_work | I'm reading this: https://docs.openstack.org/openstacksdk/latest/user/guides/object_store.html | 18:47 |
ozzzo_work | and 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_work | but when I try that with Swift: for cont in cloud.object_store.containers(project_id="' + projectid + '"): | 18:49 |
ozzzo_work | I get an error: Invalid query params: project_id | 18:50 |
ozzzo_work | Looking here: https://docs.openstack.org/openstacksdk/latest/user/proxies/object_store.html | 18:55 |
ozzzo_work | I don't see an obvious way to specify the project. Do I need to use the old python API for this? | 18:56 |
ozzzo_work | maybe I can use the "session" parameter? Can I use the admin account to create a session pointing to a user project? | 19:34 |
ozzzo_work | When 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_work | oops bad paste; URL is: https://docs.openstack.org/api-ref/object-store/#show-container-details-and-list-objects | 20:04 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!