Bug 1184648 - Unable to provision openstack instance with non-admin tenant
Summary: Unable to provision openstack instance with non-admin tenant
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: GA
: 5.3.3
Assignee: Brandon Dunne
QA Contact: Jan Krocil
URL:
Whiteboard:
Depends On: 1182795
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-21 22:22 UTC by Brandon Dunne
Modified: 2015-03-23 16:21 UTC (History)
11 users (show)

Fixed In Version: 5.3.3
Doc Type: Bug Fix
Doc Text:
CFME did not discover instances in all accessible tenants. As a result, user was unable to provision OpenStack instance with non-admin tenant. Modified code to discover instance in all accessible tenants and the user is now able to provision an instance in a non-admin tenant with dedicated network + subnet.
Clone Of: 1182795
Environment:
Last Closed: 2015-02-25 16:12:35 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1189157 0 medium CLOSED RHOS Unable to provision an openstack instance in a non-admin tenant with only a shared network 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2015:0261 0 normal SHIPPED_LIVE cfme (5.3.3) bug fix and enhancement update 2015-02-25 21:09:28 UTC

Internal Links: 1189157

Comment 3 Jan Krocil 2015-02-03 15:30:18 UTC
Tested with RHOS{4,5,6}:

I was able to provision an instance in a non-admin tenant with dedicated network + subnet - this I can confirm as verified.

However, I wasn't able to provision a VM in a tenant that didn't have a dedicated network but had only access to a shared one. The issue is that the shared network does not show up in the "Cloud network" selectbox in such case even though it should (as I can see it in the RHOS web ui being available to the non-admin tenant).

From my POV it would seem that there is a check like this somewhere:
"network.proj_id == proj.id"

when it really should be more like this:
"network.is_shared || network.proj_id == proj.id"

Comment 4 Brandon Dunne 2015-02-04 14:52:35 UTC
Jan,

This is a different problem, please open as a new bug.

Comment 5 Dave Johnson 2015-02-05 22:28:17 UTC
Jan, I believe you opened a new bug...  Please add it to 'see also' field and take the honors of closing this one.

Comment 6 Jan Krocil 2015-02-06 08:00:40 UTC
Dave,
thanks and apologies!

Closing this one as verified/fixed.

Comment 8 errata-xmlrpc 2015-02-25 16:12:35 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0261.html


Note You need to log in before you can comment on or make changes to this bug.