Bug 1398911 - [RFE] Router created without GW or interface associated
Summary: [RFE] Router created without GW or interface associated
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.7.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: GA
: 5.9.0
Assignee: John Hardy
QA Contact: Ido Ovadia
URL:
Whiteboard: openstack
Depends On: 1394284
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-27 09:32 UTC by Ido Ovadia
Modified: 2018-03-05 13:58 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-05 13:58:51 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Routerwith 0 subnets (106.68 KB, image/png)
2016-11-28 11:09 UTC, Ido Ovadia
no flags Details

Description Ido Ovadia 2016-11-27 09:32:01 UTC
Description of problem:
=======================
This bug includes two issues 
1. Creating a router doesn't connect it to the network/subnet i fill on detail
2. Cant add an interface to a router.   

Version-Release number of selected component:
=============================================
5.7.0.12-rc2.20161123111642_a4a65ce

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

Steps to Reproduce:
===================
1. Navigate to: Networks --> Network Routers
2. Click Configuration --> Add a new Router
3. Fill all the details on the dialog. e.g:
    Network Manager: Overcloud Network Manager
    Router Name: router_test
    Network: private_test (any available)
    Cloud Tenant:  admin (any available)  

Actual results:
=================
Router created, but without any network connected 

Expected results:
=================
Router created with and connected to the selected network (e.g private_test)  

Additional info:
================
Another bug is there no option to add an interface to existing router

Comment 1 Ido Ovadia 2016-11-28 11:07:15 UTC
To make it clear I am repeating the steps to reproduce, and give more information
---------------------------------------------------------------------------------
1. Add Cloud Network : Net_test1

2. Add Cloud Subnet: Name: Subtest1
                     Network: Net_test1
                     Subnet CIDR: 192.168.42.0/24

3. Add a new Router: Name: Router_test1 
                     Network: Net_test1

Actual results:
===============
Router created without interface Net_test1

[stack@undercloud-0 ~]$ neutron router-list 
+--------------------------------------+----------------+-------------------------------------------------------------+-------------+------+
| id                                   | name           | external_gateway_info                                       | distributed | ha   |
+--------------------------------------+----------------+-------------------------------------------------------------+-------------+------+
| 5cc9616e-67e2-448b-ad52-5b28c6c99480 | Router_test1   | null                                                        | False       | True |
| de56cc7e-e323-4053-81ca-5beb3a54eb66 | Router_test_4c | {"network_id": "1e520917-21ef-4ab8-8e4c-b9313ffc46b3",      | False       | True |
|                                      |                | "enable_snat": true, "external_fixed_ips": [{"subnet_id":   |             |      |
|                                      |                | "f9eeba7c-26b1-409f-a431-f514f7f122cf", "ip_address":       |             |      |
|                                      |                | "10.0.0.211"}]}                                             |             |      |
| e5d6236c-3289-4008-be23-6554e5522190 | Router1_admin  | null                                                        | False       | True |
+--------------------------------------+----------------+-------------------------------------------------------------+-------------+------+
                  
neutron router-port-list Router_test1
+--------------------------------------+-------------------------------------------------+-------------------+--------------------------------------------------+
| id                                   | name                                            | mac_address       | fixed_ips                                        |
+--------------------------------------+-------------------------------------------------+-------------------+--------------------------------------------------+
| 1686386c-ceae-45a6-9c5f-9738e1bf20ce | HA port tenant d413266e75c444b1a26145cebfdbecfe | fa:16:3e:0a:01:f4 | {"subnet_id": "341cb674-c483-4864-a7bb-          |
|                                      |                                                 |                   | 75f86565bf39", "ip_address": "169.254.192.30"}   |
| 704385b3-8a6f-4b51-94c9-21da00949b6f | HA port tenant d413266e75c444b1a26145cebfdbecfe | fa:16:3e:5a:da:e5 | {"subnet_id": "341cb674-c483-4864-a7bb-          |
|                                      |                                                 |                   | 75f86565bf39", "ip_address": "169.254.192.28"}   |
| f05027be-b505-4edd-a830-7980bd49ca92 | HA port tenant d413266e75c444b1a26145cebfdbecfe | fa:16:3e:26:29:82 | {"subnet_id": "341cb674-c483-4864-a7bb-          |
|                                      |                                                 |                   | 75f86565bf39", "ip_address": "169.254.192.29"}   |
+--------------------------------------+-------------------------------------------------+-------------------+--------------------------------------------------+

Comment 2 Ido Ovadia 2016-11-28 11:09:35 UTC
Created attachment 1225241 [details]
Routerwith 0 subnets

Comment 3 Ido Ovadia 2016-11-28 11:11:35 UTC
Please see enclosed screenshot - no subnets connected to the router

Comment 4 Tzu-Mainn Chen 2016-11-28 14:36:37 UTC
This will be partially addressed by: https://bugzilla.redhat.com/show_bug.cgi?id=1394284

The rest requires an actual workflow for router creation that makes multiple API calls; that will probably have to wait for something similar to happen with the network provisioning feature.

Comment 5 Greg Blomquist 2016-11-28 21:08:38 UTC
Bugs that comprise two separate issues should really be two separate bugs.  You can link them to each other.  But, trying to track two issues in one BZ number is really difficult.

Comment 6 Tzu-Mainn Chen 2016-12-12 17:40:13 UTC
The immediate issue should be solved by https://bugzilla.redhat.com/show_bug.cgi?id=1394284.  Creating an interface during router creation through a single workflow is also desirable, but a longer-term need.

Comment 7 Tzu-Mainn Chen 2017-02-23 17:14:35 UTC
Ido, is this fixed by the features added into 5.7.1?

Comment 8 Ido Ovadia 2017-02-23 20:37:25 UTC
(In reply to Tzu-Mainn Chen from comment #7)
> Ido, is this fixed by the features added into 5.7.1?

No. Last reproduced on 5.7.1.3

Comment 9 Tzu-Mainn Chen 2017-02-23 20:43:51 UTC
Just for clarity's sake - is the second part solved (with the addition of a UI to add an interface to a router), leaving just the first part?

Comment 10 Ido Ovadia 2017-02-23 21:01:48 UTC
(In reply to Tzu-Mainn Chen from comment #9)
> Just for clarity's sake - is the second part solved (with the addition of a
> UI to add an interface to a router), leaving just the first part?

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

Comment 21 Ido Ovadia 2018-03-04 11:13:59 UTC
Verified
========
5.9.0.22


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