swift proxy server has incorrect endpoints registered in keystone:
Currently:
openstack endpoint list
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
| 8345870decb54334b6fd26f217f0bdf9 | RegionOne | swift | object-store | True | internal | http://192.168.80.205:8080 |
| 9b3184c3881947c58e859f9f0d5132dd | RegionOne | swift | object-store | True | public | http://192.168.80.205:8080 | ee71fe84d4e747498ecb01ca2061db57 | RegionOne | swift | object-store | True | admin | http://192.168.80.205:8080 |
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
/v1/%(tenant_id)s
Should be:
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
| 8345870decb54334b6fd26f217f0bdf9 | RegionOne | swift | object-store | True | internal | http://192.168.80.205:8080/v1/%(tenant_id)s |
| 9b3184c3881947c58e859f9f0d5132dd | RegionOne | swift | object-store | True | public | http://192.168.80.205:8080/v1/%(tenant_id)s
| ee71fe84d4e747498ecb01ca2061db57 | RegionOne | swift | object-store | True | admin | http://192.168.80.205:8080/v1/%(tenant_id)s |
+----------------------------------+-----------+--------------+--------------+---------+-----------+---------------------------------------------+
After changing command creating end points, everything works as expected:
swift -V 3 stat 63467ea81670cde d05bc6a ebf89428- 0056ec34b4 osp-5 ~]# openstack endpoint list | grep swift 2935fea1f809762 47 | RegionOne | swift | object-store | True | admin | http:// 192.168. 80.205: 8080/v1 | 88663aeef2804c9 43 | RegionOne | swift | object-store | True | internal | http:// 192.168. 80.205: 8080/v1/ AUTH_%( tenant_ id)s | d910b6a3aa607d9 d3 | RegionOne | swift | object-store | True | public | http:// 192.168. 80.205: 8080/v1/ AUTH_%( tenant_ id)s |
Account: AUTH_3a7cfc6a94
Containers: 0
Objects: 0
Bytes: 0
X-Put-Timestamp: 1458320564.47941
X-Timestamp: 1458320564.47941
X-Trans-Id: txc299493afe5b4
Content-Type: text/plain; charset=utf-8
[root@sbezverk-
| 29131af77ccd4d9
| 2d38ba6b4c214dd
| 8bbb566b10c4473