Monday, 2024-03-18

opendevreviewWenping Song proposed openstack/openstacksdk master: Adding basic implementation for Accelerator attribute resource  https://review.opendev.org/c/openstack/openstacksdk/+/88323807:31
opendevreviewWenping Song proposed openstack/openstacksdk master: Adding basic implementation for Accelerator attribute resource  https://review.opendev.org/c/openstack/openstacksdk/+/88323809:43
opendevreviewOpenStack Release Bot proposed openstack/python-openstackclient stable/2024.1: Update .gitreview for stable/2024.1  https://review.opendev.org/c/openstack/python-openstackclient/+/91356414:04
opendevreviewOpenStack Release Bot proposed openstack/python-openstackclient stable/2024.1: Update TOX_CONSTRAINTS_FILE for stable/2024.1  https://review.opendev.org/c/openstack/python-openstackclient/+/91356514:04
opendevreviewOpenStack Release Bot proposed openstack/python-openstackclient master: Update master for stable/2024.1  https://review.opendev.org/c/openstack/python-openstackclient/+/91356614:04
opendevreviewMerged openstack/python-openstackclient stable/2024.1: Update .gitreview for stable/2024.1  https://review.opendev.org/c/openstack/python-openstackclient/+/91356417:29
opendevreviewMerged openstack/python-openstackclient stable/2024.1: Update TOX_CONSTRAINTS_FILE for stable/2024.1  https://review.opendev.org/c/openstack/python-openstackclient/+/91356517:29
ozzzo_workI'm trying to use the SDK to access Swift user accounts with admin credentials. I'm connected with admin credentials and can do non-swift stuff, but for Swift I need to use connect_as19:12
ozzzo_workhttps://opendev.org/openstack/openstacksdk/src/branch/master/openstack/cloud/openstackcloud.py#L12319:12
ozzzo_workSo I tried a few permutations of this:19:12
ozzzo_workhttps://paste.openstack.org/show/by8nUrkR118yAWQUVLkG/19:13
ozzzo_workBut I am getting errors: TypeError: connect_as() takes 1 positional argument but 2 were given19:13
ozzzo_workWhat should **kwargs look like?19:14
ozzzo_workIf I try this:19:15
ozzzo_work  cloud.connect_as(OS_STORAGE_PROJECT_ID=project.id)19:15
ozzzo_workI get "got an unexpected keyword argument 'OS_STORAGE_PROJECT_ID'"19:16
fricklerozzzo_work: how about cloud.connect_as(project_id='my_project_id') ?19:24
ozzzo_workfrickler: That was it, ty!19:36
ozzzo_workbut I can't seem to use the connection19:38
ozzzo_workI'm trying this: https://paste.openstack.org/show/bEgA98PkbaAiSOpceQFX/19:39
ozzzo_workbut I get "The request you have made requires authentication.19:39
ozzzo_workDo I need to provide more parameters to connect_as?19:41
opendevreviewSteve Baker proposed openstack/ansible-collections-openstack master: Add application_credential module  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/91046323:02
opendevreviewSteve Baker proposed openstack/ansible-collections-openstack master: Include usable cloud config in app credential  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/91360923:02

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