Quick before/after illustration using public read ACLs as an example:
Failure before applying patch:
$ swift post foobar
$ touch test
$ swift upload foobar test
test
$ swift post -r ".r:*" foobar
$ curl -i 'http://192.168.122.101:8080/swift/v1/foobar/test'
HTTP/1.1 403 Forbidden
Content-Length: 12
X-Trans-Id: tx00000000000000000001d-005bd8cd7d-4e0b-default
X-Openstack-Request-Id: tx00000000000000000001d-005bd8cd7d-4e0b-default
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Date: Tue, 30 Oct 2018 21:30:37 GMT
Quick before/after illustration using public read ACLs as an example:
Failure before applying patch:
$ swift post foobar 192.168. 122.101: 8080/swift/ v1/foobar/ test' 0000001d- 005bd8cd7d- 4e0b-default Request- Id: tx0000000000000 0000001d- 005bd8cd7d- 4e0b-default
$ touch test
$ swift upload foobar test
test
$ swift post -r ".r:*" foobar
$ curl -i 'http://
HTTP/1.1 403 Forbidden
Content-Length: 12
X-Trans-Id: tx0000000000000
X-Openstack-
Accept-Ranges: bytes
Content-Type: text/plain; charset=utf-8
Date: Tue, 30 Oct 2018 21:30:37 GMT
AccessDenied
Apply patch:
$ git checkout bug-1800637-rocky ceph-rgw- install. yml
$ sudo openstack-ansible playbooks/
[...]
Repeat curl command, now with the AUTH_<tenant_id>:
$ curl -i 'http:// 192.168. 122.101: 8080/swift/ v1/AUTH_ efa36c210341449 48ef39964a9d887 e2/foobar/ test' 4e9800998ecf842 7e 0000000e- 005bd8cea0- 4e2b-default Request- Id: tx0000000000000 0000000e- 005bd8cea0- 4e2b-default
HTTP/1.1 200 OK
Content-Length: 0
Accept-Ranges: bytes
Last-Modified: Tue, 30 Oct 2018 21:29:36 GMT
X-Timestamp: 1540934976.93130
etag: d41d8cd98f00b20
X-Trans-Id: tx0000000000000
X-Openstack-
Content-Type: binary/octet-stream
Date: Tue, 30 Oct 2018 21:35:28 GMT