opendevreview | Wenping Song proposed openstack/openstacksdk master: Adding basic implementation for Accelerator attribute resource https://review.opendev.org/c/openstack/openstacksdk/+/883238 | 07:31 |
---|---|---|
opendevreview | Wenping Song proposed openstack/openstacksdk master: Adding basic implementation for Accelerator attribute resource https://review.opendev.org/c/openstack/openstacksdk/+/883238 | 09:43 |
opendevreview | OpenStack Release Bot proposed openstack/python-openstackclient stable/2024.1: Update .gitreview for stable/2024.1 https://review.opendev.org/c/openstack/python-openstackclient/+/913564 | 14:04 |
opendevreview | OpenStack 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/+/913565 | 14:04 |
opendevreview | OpenStack Release Bot proposed openstack/python-openstackclient master: Update master for stable/2024.1 https://review.opendev.org/c/openstack/python-openstackclient/+/913566 | 14:04 |
opendevreview | Merged openstack/python-openstackclient stable/2024.1: Update .gitreview for stable/2024.1 https://review.opendev.org/c/openstack/python-openstackclient/+/913564 | 17:29 |
opendevreview | Merged openstack/python-openstackclient stable/2024.1: Update TOX_CONSTRAINTS_FILE for stable/2024.1 https://review.opendev.org/c/openstack/python-openstackclient/+/913565 | 17:29 |
ozzzo_work | I'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_as | 19:12 |
ozzzo_work | https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/cloud/openstackcloud.py#L123 | 19:12 |
ozzzo_work | So I tried a few permutations of this: | 19:12 |
ozzzo_work | https://paste.openstack.org/show/by8nUrkR118yAWQUVLkG/ | 19:13 |
ozzzo_work | But I am getting errors: TypeError: connect_as() takes 1 positional argument but 2 were given | 19:13 |
ozzzo_work | What should **kwargs look like? | 19:14 |
ozzzo_work | If I try this: | 19:15 |
ozzzo_work | cloud.connect_as(OS_STORAGE_PROJECT_ID=project.id) | 19:15 |
ozzzo_work | I get "got an unexpected keyword argument 'OS_STORAGE_PROJECT_ID'" | 19:16 |
frickler | ozzzo_work: how about cloud.connect_as(project_id='my_project_id') ? | 19:24 |
ozzzo_work | frickler: That was it, ty! | 19:36 |
ozzzo_work | but I can't seem to use the connection | 19:38 |
ozzzo_work | I'm trying this: https://paste.openstack.org/show/bEgA98PkbaAiSOpceQFX/ | 19:39 |
ozzzo_work | but I get "The request you have made requires authentication. | 19:39 |
ozzzo_work | Do I need to provide more parameters to connect_as? | 19:41 |
opendevreview | Steve Baker proposed openstack/ansible-collections-openstack master: Add application_credential module https://review.opendev.org/c/openstack/ansible-collections-openstack/+/910463 | 23:02 |
opendevreview | Steve Baker proposed openstack/ansible-collections-openstack master: Include usable cloud config in app credential https://review.opendev.org/c/openstack/ansible-collections-openstack/+/913609 | 23:02 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!