Bug 1529108 - Remove interface from this router is not working
Summary: Remove interface from this router is not working
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.0
Assignee: Alona Kaplan
QA Contact: Mor
URL:
Whiteboard:
: 1529104 (view as bug list)
Depends On: 1531998
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-26 11:41 UTC by Mor
Modified: 2018-04-18 10:47 UTC (History)
12 users (show)

Fixed In Version: 5.9.0.16
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1531998 (view as bug list)
Environment:
Last Closed: 2018-03-06 15:31:02 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs (1.01 MB, application/octet-stream)
2017-12-26 11:41 UTC, Mor
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ManageIQ manageiq-providers-openstack pull 188 0 None closed Add missing 'return' statement to 'network_manager.find_device_object' 2020-08-13 12:20:35 UTC

Description Mor 2017-12-26 11:41:02 UTC
Created attachment 1372430 [details]
logs

Description of problem:
Remove interface from router is not working as expected. It fails with error: 'No subnets to remove interfaces to Router "test_router"' even if a router has interface attached to it.

Version-Release number of selected component (if applicable):
CFME 5.9.0.12.20171205180333_3e32b3d 
ovirt-provider-ovn ovirt-provider-ovn-1.2.2-1.el7ev.noarch
RHV Version 4.2.0.2-0.1.el7

How reproducible:
100%

Steps to Reproduce:
1. Create a router and add interface with subnet.
2. On Network Routers --> Select router --> Configuration->Remove interface from this router.

Actual results:
UI error: 'No subnets to remove interfaces to Router "test_router"' where test_router already has interface in OVN that can be removed:
(on OVN central server)# ovn-nbctl show
...
    router 8c1d2ba2-9aff-40ca-a5e2-e74e27de4f71 (test_router)
        port lrp3a428fd7-0668-4a9b-8e33-4a57a15b3698
            mac: "00:0a:df:ea:98:5f"
            networks: ["10.0.0.1/24"]


Expected results:
There should be an option to select interface to be remove.

Additional info:

Comment 2 Alona Kaplan 2018-01-07 14:34:31 UTC
*** Bug 1529104 has been marked as a duplicate of this bug. ***

Comment 3 Dave Johnson 2018-01-08 18:01:41 UTC
Removing blocker flag.  RHV team needs to fix on their side and then we should be good to go.

Comment 4 Mor 2018-01-18 07:16:18 UTC
Hi Satoe,

I tried to verify it on CFME 5.9.0.16.20180109204148_7ac9852, but it still displays an error: "No subnets to remove interfaces to Router "test". 

Are we sure that the fix included in this version?

Thanks.

Comment 5 Alona Kaplan 2018-01-18 07:31:30 UTC
Hi Mor, the bug blocks on https://bugzilla.redhat.com/1531998. You can test it only when the blocking bug will be fixed.

Comment 6 Mor 2018-01-18 07:45:08 UTC
Hi Alona, 

If this is the case, could you please assign it back?

Thanks.

Comment 7 Alona Kaplan 2018-01-18 07:53:54 UTC
The CFME bug was fixed, ovn provider still have a bug.
If you want to test the CFME is now working you can test it with neutron instead of ovn (or wait for the ovn provider to be fixed before verifying the bug).

Comment 8 Martin Perina 2018-02-12 08:00:06 UTC
Moving back to MODIFIED as verification is blocked on BZ1531998

Comment 12 Martin Perina 2018-02-26 08:44:15 UTC
BZ1531998 is verified, moving to ON_QA

Comment 13 Mor 2018-02-27 08:14:54 UTC
Verified on:
rhv-4.2.2-1
ovirt-provider-ovn-1.2.7-2.el7ev.noarch


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