Bug 1449915

Summary: Cannot select placement for Cloud Volumes (openstack cinder storage provider) and this volumes are created in different tenants during provisioning of the instance.
Product: Red Hat CloudForms Management Engine Reporter: ITD27M01 <igortiunov>
Component: ProvidersAssignee: Sam Lucidi <slucidi>
Status: CLOSED CURRENTRELEASE QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: high    
Version: 5.7.0CC: cpelland, dajohnso, fdewaley, gekis, iovadia, jfrey, jhardy, obarenbo, simaishi, tzumainn
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: openstack:volume:provision:tenant
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1450220 1450525 (view as bug list) Environment:
Last Closed: 2018-03-06 15:45:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1450220, 1450525    

Description ITD27M01 2017-05-11 07:13:13 UTC
Description of problem:
Cloud volumes do not fall under the restriction of cloud tenants. The user can perform any CRUD-operations on the cloud volumes in any cloud tenant not only in users own.

Moreover, when you deploy cloud instances (Lifecycle->Provisioning) and choose an additional volume to provision it provisioned in any cloud tenant (Likely to be selected first.) other than the tenant of provisioned instance.

Version-Release number of selected component (if applicable):
[root@srv-os-cfme02 vmdb]# cat VERSION 
5.7.2.1

RHOSP 10 (Newton)

How reproducible:


Steps to Reproduce:
1. Add OpenStack Cloud Provider keystone v3 with cloud tenant sync.
2. Create projects for diffirent users groups in OpenStack.
3. Add users groups to CFME and assign cfme tenants to them.
4. Start provisioning cloud instance with additional volume (Lifecycle->Provisioning)

Actual results:

Cloud volume provisioned in any cloud tenant (likely to be selected first) other than the tenant of provisioned instance.
Expected results:
Cloud volume provisioned in the same cloud tenant as the tenant of provisioned instance. And :volumes options hash have placement option for cloud tenant selection.

Additional info:

Comment 6 Ido Ovadia 2018-02-14 13:45:04 UTC
Verified
========
5.9.0.20