Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi,

The information for the swift endpoint is coming from your keystone catalog:

[root@undercloud-6 ~]# openstack catalog list | grep swift -A3
| swift      | object-store    | regionOne                                                                       |
|            |                 |   publicURL: http://10.0.0.4:8080/v1/AUTH_cb0d5805d72a4f2a89ff260b15629799      |
|            |                 |   internalURL: http://172.18.0.10:8080/v1/AUTH_cb0d5805d72a4f2a89ff260b15629799 |
|            |                 |   adminURL: http://172.18.0.10:8080/v1                                          |

This is using your publicURL endpoint, and you will need to change it if it's not the correct address / if you are NATting it.

[root@undercloud-6 ~]# swift --debug list
DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.0.0.4:5000/v2.0/tokens
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 10.0.0.4
DEBUG:requests.packages.urllib3.connectionpool:"POST /v2.0/tokens HTTP/1.1" 200 1061
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): 10.0.0.4
DEBUG:requests.packages.urllib3.connectionpool:"GET /v1/AUTH_cb0d5805d72a4f2a89ff260b15629799?format=json HTTP/1.1" 200 2
DEBUG:swiftclient:REQ: curl -i http://10.0.0.4:8080/v1/AUTH_cb0d5805d72a4f2a89ff260b15629799?format=json -X GET -H "X-Auth-Token: 220b8f939772419aa187df193d33958e"
DEBUG:swiftclient:RESP STATUS: 200 OK
DEBUG:swiftclient:RESP HEADERS: {u'Content-Length': u'2', u'X-Put-Timestamp': u'1493164815.01466', u'X-Account-Object-Count': u'0', u'X-Timestamp': u'1493164815.01466', u'X-Trans-Id': u'tx1598f5b794704553b4b7b-0058ffe30e', u'Date': u'Wed, 26 Apr 2017 00:00:15 GMT', u'X-Account-Bytes-Used': u'0', u'X-Account-Container-Count': u'0', u'Content-Type': u'application/json; charset=utf-8'}
DEBUG:swiftclient:RESP BODY: []