Bug 1437139

Summary: Cloud Router Summary does not show subnets which connected it
Product: Red Hat CloudForms Management Engine Reporter: Ido Ovadia <iovadia>
Component: ProvidersAssignee: Tzu-Mainn Chen <tzumainn>
Status: CLOSED DUPLICATE QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: jfrey, jhardy, obarenbo, simaishi, tzumainn
Target Milestone: GA   
Target Release: cfme-future   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1418223 Environment:
Last Closed: 2017-05-22 23:07:34 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:

Description Ido Ovadia 2017-03-29 15:30:54 UTC
Description of problem:
=======================
I created a router and connect it to external gateway and internal network

but on CFME Cloud Router Summary show Cloud subnets = 0


Version-Release number of selected component:
=============================================
Reproduced with CFME 5.8.0.7 and RHOS 10


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


Steps to Reproduce:
====================
Note: I have attached the interface to the router via OpenStack CLI due to https://bugzilla.redhat.com/show_bug.cgi?id=1413212

1. Create a router on overcloud
2. Set a gateway 
3. Add an internal network to the router

Actual results:
===============
CFME Router Summary does show the sunbet which connected to the  router   

Cloud subnets 0

Expected results:
=================
Cloud subnets 1 , and linked to the correct internal subnet

Additional info:
================

[stack@undercloud-0 ~]$ neutron router-port-list Router123_admin
+--------------------------------------+-------------------------------------------------+-------------------+--------------------------------------------------------------------------------------+
| id                                   | name                                            | mac_address       | fixed_ips                                                                            |
+--------------------------------------+-------------------------------------------------+-------------------+--------------------------------------------------------------------------------------+
| 27a92c25-e8a9-498e-bea2-ad0cea3ea891 | HA port tenant 3fbc9300d381402bb34ae5ceec6bf54b | fa:16:3e:5c:82:26 | {"subnet_id": "023adff3-6778-4d12-987c-3995fb84e128", "ip_address": "169.254.192.1"} |
| 5bd59257-98d2-4d4d-a3a0-57aadf9d2030 |                                                 | fa:16:3e:61:04:69 | {"subnet_id": "4add835e-6bf7-4bee-8f25-012660e1c094", "ip_address": "10.0.0.213"}    |
| 7d383b44-cea0-4432-89bd-2f5bb772d1e1 | HA port tenant 3fbc9300d381402bb34ae5ceec6bf54b | fa:16:3e:16:be:9d | {"subnet_id": "023adff3-6778-4d12-987c-3995fb84e128", "ip_address": "169.254.192.2"} |
| e95f0696-1f85-4ffe-96c7-d00b8d7963b8 | HA port tenant 3fbc9300d381402bb34ae5ceec6bf54b | fa:16:3e:36:e0:53 | {"subnet_id": "023adff3-6778-4d12-987c-3995fb84e128", "ip_address": "169.254.192.9"} |
| f69684e8-6d09-4b39-baac-541d2bccc637 |                                                 | fa:16:3e:da:1c:fe | {"subnet_id": "5da1c822-2986-465c-a0e3-66fba024f911", "ip_address": "192.168.100.1"} |
+--------------------------------------+-------------------------------------------------+-------------------+--------------------------------------------------------------------------------------+

Comment 1 Tzu-Mainn Chen 2017-05-22 23:07:34 UTC
Same root cause as https://bugzilla.redhat.com/show_bug.cgi?id=1413212, will be fixed alongside that BZ

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