[openstack-dev] swift containers.
mordred at inaugust.com
Mon Jul 9 14:09:15 UTC 2018
On 07/09/2018 02:46 AM, jayshankar nair wrote:
> I am unable to create containers in object store.
> "Unable to get the Swift service info".
> "Unable to get the swift container listing".
> My horizon is running on 192.168.0.19. My swift is running on
> 192.168.0.12(how can i change it).
> I am trying to list the container with python sdk. Is this the right api.
> from openstack import connection
> conn = connection.Connection(auth_url="http://192.168.0.19:5000/v3",
That looks fine (although you don't need identity_api_version=3 - you
are specifying domain_ids - it'll figure things out)
Can you add:
before your current code and paste the output?
> for container in conn,object_store.containers():
> I need documentation of python sdk
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
More information about the OpenStack-dev