Radosgw swift cli create container ACL failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Confirmed
|
Medium
|
MOS Maintenance |
Bug Description
Detailed bug description:
When in the controller shell swift command line is unable to add ACLs to containers (using CEPH Hammer backend)
Steps to reproduce:
Created container through openstack cli with:
openstack container create marvel-art
attempted to add swift ACL with:
swift post -r ".r:*,.rlistings" marvel.art
No changes were made:
openstack container show marvel-art
+------
| Field | Value |
+------
| account | v1 |
| bytes_used | 18 |
| container | marvel-art |
| object_count | 1 |
+------
swift stat -v marvel-art
X-Container-
If I go through horizon though and make the container public then display the stats or container on the cli it shows this:
openstack container show marvel-art
+------
| Field | Value |
+------
| account | v1 |
| bytes_used | 18 |
| container | marvel-art |
| object_count | 1 |
| read_acl | .r:* |
+------
swift stat -v marvel-art
X-Container-
but if I try to add another ACL via the swift command line it deletes the existing ACL and displays no ACL output.
Expected results:
It should list the correct ACLs
Actual result:
ACLs are not listed and attempting to add ACL after making the container public in horizon deletes the public access ACL.
Reproducibility:
100%
Workaround:
Haven't found a work around beyond making the container public on horizon
Impact:
low
Description of the environment:
- Operation system: 9.2
- Versions of components: <put your information here>
- Reference architecture: <put your information here>
- Network model: <put your information here>
- Related projects installed: <put your information here>
Additional information:
<put your information here>
Changed in mos: | |
milestone: | none → 9.x-updates |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
Changed in mos: | |
importance: | Undecided → Medium |
assignee: | nobody → MOS Maintenance (mos-maintenance) |