Red Hat Bugzilla – Bug 984625
RFE: cannot create a volume under a specific tenant using the keystone default admin user
Last modified: 2016-04-26 20:24:25 EDT
Description of problem:
I wanted to create a volume for a different tenant by logging in with the keystone admin user and we do not have a --tenant tag in create
I think that since admin user can create a tenanat, a user and assign permissions there is no reason why the same user cannot create an object and assign it to a specific tenant.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create a volume using admin user
the volume is created only under the admin tenant and we have no way of creating a volume for a specific tenant using the admin user.
we should be able to create a volume for a tenant
Are there any OpenStack operations that behave this way? Creating VMs for tenants, creating images for tenants, etc.?
well, we can for images since glance help image-create shows:
--owner <TENANT_ID> Tenant who should own image.
Instances run under a specific zone and I think that since we run them from a specific image that they will automatically be assigned to a tenant.
since volume is an object we can attach or boot to an instance I think that we should be able to create it with --owner
Havana / RHOS 4 now allows transfer of volumes from one owner to another, which I think enables the desired use case here: admin creates a volume, initiates a volume transfer, provides tenant/user with the credentials needed to accept that transfer.
I would suggest that any further requests around this be handled upstream rather than here as I don't think there is a strong argument for adding this feature in the near future with transfer present in Havana.
Haim / Dafna, please file upstream.
Eric, since nothing was done, have changed the requires_doc_text to -. Unless you think it should be marked as a 'Known Issue' and the doc text gives your workaround?
Agree w/ requires_doc_text- .