rgw is not accepting ACL edits via python-swiftclient on Red Hat Ceph Storage 2.0
Issue
- After a container creation ACL settings cannot be modified on the container:
# swift post rhtest01
# swift post rhtest01 -r ".r:*"
# swift stat rhtest01
Account: v1
Container: rhtest01
Objects: 0
Bytes: 0
Read ACL:
Write ACL:
Sync To:
Sync Key:
Accept-Ranges: bytes
X-Storage-Policy: default-placement
X-Container-Bytes-Used-Actual: 0
Connection: Keep-Alive
X-Timestamp: 0.00000
X-Trans-Id: tx000000000000000000056-0058345db7-507a9-default
Content-Type: text/plain; charset=utf-8
[root@mi-foo-bs2017 neutron-n-2 ~(openstack_exampleuser)]# swift post rhtest02 -r ".r:*"
[root@mi-foo-bs2017 neutron-n-2 ~(openstack_exampleuser)]# swift stat rhtest02
Account: v1
Container: rhtest02
Objects: 0
Bytes: 0
Read ACL: .r:*
Write ACL:
Sync To:
Sync Key:
Accept-Ranges: bytes
X-Trans-Id: tx000000000000000000058-0058345dc2-507a9-default
X-Storage-Policy: default-placement
X-Container-Bytes-Used-Actual: 0
Connection: Keep-Alive
X-Timestamp: 0.00000
Content-Type: text/plain; charset=utf-8
[root@mi-foo-bs2017 neutron-n-2 ~(openstack_exampleuser)]# swift post rhtest02 -r ""
[root@mi-foo-bs2017 neutron-n-2 ~(openstack_exampleuser)]# swift stat rhtest02
Account: v1
Container: rhtest02
Objects: 0
Bytes: 0
Read ACL: .r:*
Write ACL:
Sync To:
Sync Key:
Accept-Ranges: bytes
X-Trans-Id: tx000000000000000000059-0058345dca-507a9-default
X-Storage-Policy: default-placement
X-Container-Bytes-Used-Actual: 0
Connection: Keep-Alive
X-Timestamp: 0.00000
Content-Type: text/plain; charset=utf-8
Environment
- Red Hat Ceph Storage 2.0
- OpenStack Swift
- RadosGW
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
