Bug 1546535

Summary: Creating OpenStack Router with user in a Tenant should list shared external networks
Product: Red Hat CloudForms Management Engine Reporter: Ido Ovadia <iovadia>
Component: ProvidersAssignee: Scott Seago <sseago>
Status: CLOSED CURRENTRELEASE QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: medium    
Version: 5.9.0CC: gblomqui, jfrey, jhajyahy, jhardy, maufart, obarenbo, simaishi, slucidi, sseago
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.10.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1596248 (view as bug list) Environment:
Last Closed: 2019-02-11 14:08:17 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: 1596248    

Description Ido Ovadia 2018-02-18 12:56:17 UTC
Description of problem:
=======================
Creating OpenStack Router with user in a Tenant should list all shared external networks when External Gateway is selected

Version-Release number of selected component:
=============================================
5.9.0.21

How reproducible:
=================
100%

Steps to Reproduce:
===================
1. As Admin Create an external shared network
2. Create a user in a group limited in a OpenStack Tenant
3. Create Router
4. Select External Gateway

Actual results:
===============
Only Tenant network are visible. Shared external networks don't visible 

Expected results:
=================
Shared external networks should be visible when External Gateway is selected

Comment 2 CFME Bot 2018-06-14 14:11:56 UTC
New commit detected on ManageIQ/manageiq/master:

https://github.com/ManageIQ/manageiq/commit/bed4a6a8b0fa484793803a0bb3e332c3d5bb7ff2
commit bed4a6a8b0fa484793803a0bb3e332c3d5bb7ff2
Author:     Scott Seago <sseago>
AuthorDate: Mon Apr 16 13:45:23 2018 -0400
Commit:     Scott Seago <sseago>
CommitDate: Mon Apr 16 13:45:23 2018 -0400

    Bug 1546535: include shared external networks in list on router create

    https://bugzilla.redhat.com/show_bug.cgi?id=1546535

    When generating the list of networks for router external gateway
    network, include shared networks owned by other tenants.

 app/models/cloud_network.rb | 4 +
 1 file changed, 4 insertions(+)

Comment 4 Jad Haj Yahya 2018-07-15 10:30:24 UTC
Verified on 5.10.0.3