Bug 1547465

Summary: GCE Load balancers are displayed from an other region
Product: Red Hat CloudForms Management Engine Reporter: thiebaut fischer <tfischer>
Component: ProvidersAssignee: Bronagh Sorota <bsorota>
Status: CLOSED DUPLICATE QA Contact: Dave Johnson <dajohnso>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, gblomqui, jfrey, jhardy, obarenbo, simaishi, tfischer
Target Milestone: GAKeywords: Reopened
Target Release: 5.9.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-17 11:41:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
target pools on google cloud
none
Lbs on CFME none

Description thiebaut fischer 2018-02-21 11:41:20 UTC
Created attachment 1398651 [details]
target pools on google cloud

Description of problem:
The load balancers from region Asia are displayed with a provider with region central. 
Problem is not about region itself, but that we see loadbalancers from an other region.
Adding a LB with specific region central_us1 is not displayed!

Version-Release number of selected component (if applicable):
 Version 5.9.0.21.20180214154720_6f2109d 

How reproducible:
Always

Steps to Reproduce:
1.setup a gce provider( region central)
2. check its LBs
3. compare the results with those from google console

Actual results:
see the loadbalancers from an other region

Expected results:
should see the lbs from the provider region region only.

Additional info:
Also the displayed LBs are targetpools.... is that normal that there is no other types of LBs displayed( http,https, ssl ?)

Comment 2 thiebaut fischer 2018-02-21 11:41:52 UTC
Created attachment 1398652 [details]
Lbs on CFME

Comment 3 Jillian Tullo 2018-02-22 14:21:03 UTC
After looking into this issue, the API is simply calling calling the `#loadbalancers` method on the provider itself. I believe that this issue should most likely be looked at on the Providers side. This seems like it may be an issue on provider create for GCE.

Comment 4 Bronagh Sorota 2018-02-22 18:53:50 UTC
Hi Tiebaut,
The region field is not actually used in the GCE provider so you will see the same inventory across providers for different regions. Setting the region is confusing and likely needs to be removed from the Add Provider screen. There is already a BZ for this: https://bugzilla.redhat.com/show_bug.cgi?id=1433062

Closing this ticket as a duplicate. Ping me if you would like to discuss.

Thanks
Bronagh

*** This bug has been marked as a duplicate of bug 1433062 ***

Comment 7 Bronagh Sorota 2018-04-09 20:40:59 UTC
Thiebaut,
Have you any outstanding questions?
thanks
Bronagh

Comment 9 Bronagh Sorota 2018-04-17 11:41:59 UTC

*** This bug has been marked as a duplicate of bug 1433062 ***