[swift][ceph][radosgw] Can not create container with the same name in different tenants

Bug #1578213 reported by Ahmad
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
In Progress
Wishlist
Radoslaw Zarzynski
Ubuntu
New
Undecided
Unassigned

Bug Description

Detailed bug description:
We are using ceph and enable rgw we create two user and assign each one of them to a tenant with role _member_ as following
user1 -> tenent1
user2 -> tenent2

when we create a container from horizon named test1 on tenent1 we will not be able to create a container named test1 on tenent2

Steps to reproduce:
 create container (public or private) on teanet with name and create another container on another tenant with the same name
Expected results:
 both containers created
Actual result:
 first container created but the second did not with error message “Error: A container with the name "test" already exists.” if the created container public and “ Error: Unable to create container.” if the created container private
Reproducibility:
 we are able to reproduce
Workaround:
 No workaround found yet
Impact:
 Different tenants can’t use the same containers names
Description of the environment:
 Operation system: Ubuntu 14.04
 Fuel version 8.0.0
ceph version 0.94.5

[root@fuel ~]# more /etc/nailgun/version.yaml
VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "570"
  build_id: "570"
  fuel-nailgun_sha: "558ca91a854cf29e395940c232911ffb851899c1"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "c2a335b5b725f1b994f78d4c78723d29fa44685a"
  fuel-ostf_sha: "3bc76a63a9e7d195ff34eadc29552f4235fa6c52"
  fuel-mirror_sha: "fb45b80d7bee5899d931f926e5c9512e2b442749"
  fuelmenu_sha: "78ffc73065a9674b707c081d128cb7eea611474f"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "d605bcbabf315382d56d0ce8143458be67c53434"

Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Known limitation of rgw - lack of separated namespaces for containers.

Changed in fuel:
status: New → Won't Fix
Revision history for this message
Radoslaw Zarzynski (rzarzynski) wrote :

It's worth to add that initial support for multitenancy will be available since Jewel (next LTS release of Ceph). You might be especially interested in the "rgw_keystone_implicit_tenants" option.

However, please be aware that first version of MT will have some restrictions (like lack of cross-tenant access, TempURL). We are working on covering all those features. There is a chance the changes will be later backported to Jewel.

tags: added: customer-found
Revision history for this message
Radoslaw Zarzynski (rzarzynski) wrote :

There is a pull request [1] that brings further improvements to the initial multi-tenancy support that will be available with Jewel.

[1] https://github.com/ceph/ceph/pull/8657

affects: fuel → mos
Changed in mos:
milestone: none → 9.0
tags: added: enhancement
Changed in mos:
assignee: nobody → MOS Ceph (mos-ceph)
importance: Undecided → Wishlist
tags: added: area-ceph
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.