Verified as fixed in 8.0-570
[root@nailgun ~]# curl -s -d '{"auth": {"tenantName": "admin", "passwordCredentials": {"username": "admin", "password": "admin"}}}' -H 'Content-type: application/json' http://10.109.25.2:5000/v2.0/tokens {"access": {"token": {"issued_at": "2016-02-19T12:21:41.798504", "expires": "2016-02-20T12:21:41Z", "id": "8beb2c1f6b2c4745ac78e2296416f179", "tenant": {"description": "", "enabled": true, "id": "13382b34fa8e4e7ab1f6695d80c2d595", "name": "admin"}, "audit_ids": ["7TDFCu8cQt2bLeQdXTNlWQ"]}, "serviceCatalog": [{"endpoints": [{"adminURL": "http://10.109.25.2:8000/ostf", "region": "RegionOne", "internalURL": "http://10.109.25.2:8000/ostf", "id": "dacfb57b4ec74aa1899d2e51213c78eb", "publicURL": "http://10.109.25.2:8000/ostf"}], "endpoints_links": [], "type": "ostf", "name": "ostf"}, {"endpoints": [{"adminURL": "http://10.109.25.2:8000/api", "region": "RegionOne", "internalURL": "http://10.109.25.2:8000/api", "id": "f68271098315479d8e2152a303bf426c", "publicURL": "http://10.109.25.2:8000/api"}], "endpoints_links": [], "type": "fuel", "name": "nailgun"}, {"endpoints": [{"adminURL": "http://10.109.25.2:35357/v2.0/v2.0", "region": "RegionOne", "internalURL": "http://10.109.25.2:5000/v2.0/v2.0", "id": "e43b006835be4ec588f1367cce2c7c14", "publicURL": "http://10.109.25.2:5000/v2.0/v2.0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "7be419bf1d554f34a877f564ab132489", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["b999d49c009d4e6493f3aa65a3968fbe"]}}}
[root@nailgun ~]# TOKEN=8beb2c1f6b2c4745ac78e2296416f179
[root@nailgun ~]# curl -k -i http://10.109.25.2:8080/swift/v1/test/test -X PUT -H "X-Auth-Token: $TOKEN" -H "Transfer-Encoding: chunked" -H "Content-Length: 5274" HTTP/1.1 405 Not Allowed Server: nginx Date: Fri, 19 Feb 2016 12:21:59 GMT Content-Type: text/html; charset=utf-8 Content-Length: 166 Connection: keep-alive
<html> <head><title>405 Not Allowed</title></head> <body bgcolor="white"> <center><h1>405 Not Allowed</h1></center> <hr><center>nginx</center> </body> </html>
Verified as fixed in 8.0-570
[root@nailgun ~]# curl -s -d '{"auth": {"tenantName": "admin", "passwordCreden tials": {"username": "admin", "password": "admin"}}}' -H 'Content-type: application/json' http:// 10.109. 25.2:5000/ v2.0/tokens 19T12:21: 41.798504" , "expires": "2016-02- 20T12:21: 41Z", "id": "8beb2c1f6b2c47 45ac78e2296416f 179", "tenant": {"description": "", "enabled": true, "id": "13382b34fa8e4e 7ab1f6695d80c2d 595", "name": "admin"}, "audit_ids": ["7TDFCu8cQt2bL eQdXTNlWQ" ]}, "serviceCatalog": [{"endpoints": [{"adminURL": "http:// 10.109. 25.2:8000/ ostf", "region": "RegionOne", "internalURL": "http:// 10.109. 25.2:8000/ ostf", "id": "dacfb57b4ec74a a1899d2e51213c7 8eb", "publicURL": "http:// 10.109. 25.2:8000/ ostf"}], "endpoints_links": [], "type": "ostf", "name": "ostf"}, {"endpoints": [{"adminURL": "http:// 10.109. 25.2:8000/ api", "region": "RegionOne", "internalURL": "http:// 10.109. 25.2:8000/ api", "id": "f6827109831547 9d8e2152a303bf4 26c", "publicURL": "http:// 10.109. 25.2:8000/ api"}], "endpoints_links": [], "type": "fuel", "name": "nailgun"}, {"endpoints": [{"adminURL": "http:// 10.109. 25.2:35357/ v2.0/v2. 0", "region": "RegionOne", "internalURL": "http:// 10.109. 25.2:5000/ v2.0/v2. 0", "id": "e43b006835be4e c588f1367cce2c7 c14", "publicURL": "http:// 10.109. 25.2:5000/ v2.0/v2. 0"}], "endpoints_links": [], "type": "identity", "name": "keystone"}], "user": {"username": "admin", "roles_links": [], "id": "7be419bf1d554f 34a877f564ab132 489", "roles": [{"name": "admin"}], "name": "admin"}, "metadata": {"is_admin": 0, "roles": ["b999d49c009d4 e6493f3aa65a396 8fbe"]} }}
{"access": {"token": {"issued_at": "2016-02-
[root@nailgun ~]# TOKEN=8beb2c1f6 b2c4745ac78e229 6416f179
[root@nailgun ~]# curl -k -i http:// 10.109. 25.2:8080/ swift/v1/ test/test -X PUT -H "X-Auth-Token: $TOKEN" -H "Transfer-Encoding: chunked" -H "Content-Length: 5274" HTTP/1.1 405 Not Allowed
Server: nginx
Date: Fri, 19 Feb 2016 12:21:59 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 166
Connection: keep-alive
<html> /title> </head> /h1></center> nginx</ center>
<head><title>405 Not Allowed<
<body bgcolor="white">
<center><h1>405 Not Allowed<
<hr><center>
</body>
</html>