How to use python-openstackclient with swift and keystonev3

asked 2015-04-28 14:12:51 -0500

deeghuge gravatar image

updated 2015-05-12 04:16:38 -0500

Hello, I have configured keystoneV3 with ssl. Also updated proxy-server.conf with following details.

    [filter:authtoken]
        admin_tenant_name = service
        admin_user = swift
        admin_password = Passw0rd
        auth_host = keystonehost
        auth_port = 35357
        auth_protocol = https
        auth_uri = https://keystonehost:35357/v3
        cafile = /etc/keystone/ssl/certs/ssl_cacert.pem

Endpoints:
+----------------------------------+--------+--------------+--------------+---------+-----------+-------------------------------------------------+
| ID                               | Region | Service Name | Service Type | Enabled | Interface | URL                                             |
+----------------------------------+--------+--------------+--------------+---------+-----------+-------------------------------------------------+
| df9c7142f2de4bc5ae8a4c9e67791a5e | None   | keystone     | identity     | True    | public    | https://keystonehost:5000/v3             |
| 3d352993db2247ce811c0a65c9cf0c48 | None   | keystone     | identity     | True    | internal  | https://keystonehost:35357/v3            |
| fad9306358fc4c3cb3e0d4cacb173da0 | None   | keystone     | identity     | True    | admin     | https://keystonehost:35357/v3            |
| 022000acb02d41d49c9f760b2d16a4e3 | None   | swift        | object-store | True    | public    | http://keystonehost:8080/v1/AUTH_%(tenant_id)s  |
| 87ba1c3800cf4795864667dd5ac4a9bb | None   | swift        | object-store | True    | internal  | http://keystonehost:8080/v1/AUTH_%(tenant_id)s  |
| 3cf70bdc52eb467e9587e34fd79e8e72 | None   | swift        | object-store | True    | admin     | http://keystonehost:8080/                      |
+----------------------------------+--------+--------------+--------------+---------+-----------+-------------------------------------------------+

But openstack client does not work with this setup as well as swift client also does not work ?

I am getting following error

openstack container list
ERROR: openstack publicURL endpoint for object-store service not found

What could be the issue ?

edit retag flag offensive close merge delete