Bug 1593349

Summary: Can't delete selected router at the Networks -> Network Routers page
Product: Red Hat CloudForms Management Engine Reporter: Danylo Kholodov <dkholodo>
Component: UI - OPSAssignee: Gilles Dubreuil <gdubreui>
Status: CLOSED WONTFIX QA Contact: Danylo Kholodov <dkholodo>
Severity: high Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, dmetzger, gdubreui, hkataria, jprause, lavenel, maufart, mfeifer, mpovolny, ndhandre, obarenbo, simaishi
Target Milestone: GAKeywords: Regression, ZStream
Target Release: 5.9.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.5.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-18 18:59:37 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:
Attachments:
Description Flags
CFME_5.8_Del_rout
none
CFME_5.10_Del_rout
none
5.8.5.0 missed delete option
none
delete_router
none
production.log
none
evm.log none

Description Danylo Kholodov 2018-06-20 15:48:35 UTC
Description of problem:
During running CFME Openstack regression autotests an issue with the inability to Delete selected router was found

Version-Release number of selected component (if applicable):
CFME 5.8.4.5 on top of RHOS 10

How reproducible:
Always

Steps to Reproduce:
1. Login to CFME
2. Add an Openstack Cloud Provider
- Compute -> Clouds -> Providers
- Configuration -> Add a new cloud provider
3. Go to Networks -> Network Routers
4. Select any router and click Configuration

Actual results:
There is no a field: "Delete selected routers" (See attachment CFME_5.8_Del_rout)

Expected results:
A field "Delete selected routers" should be available
(like at the CFME 5.10. See attachment CFME_5.10_Del_rout)

Comment 3 Danylo Kholodov 2018-06-20 15:49:35 UTC
Created attachment 1453239 [details]
CFME_5.8_Del_rout

Comment 4 Danylo Kholodov 2018-06-20 15:50:00 UTC
Created attachment 1453240 [details]
CFME_5.10_Del_rout

Comment 5 Gilles Dubreuil 2018-06-27 13:12:53 UTC
I confirm the delete option in the configuration menu is missing.

https://github.com/ManageIQ/manageiq-ui-classic/pull/4220

Comment 7 Gilles Dubreuil 2018-07-03 07:21:53 UTC
The patch has been replaced with:

https://github.com/ManageIQ/manageiq/pull/17660

Comment 12 CFME Bot 2018-08-20 15:06:08 UTC
New commit detected on ManageIQ/manageiq/fine:

https://github.com/ManageIQ/manageiq/commit/9cfc0ea4c6da05bd928576d6984e1662ed9e568f
commit 9cfc0ea4c6da05bd928576d6984e1662ed9e568f
Author:     Marek Aufart <aufi.cz>
AuthorDate: Mon Jun 26 05:58:30 2017 -0400
Commit:     Marek Aufart <aufi.cz>
CommitDate: Mon Jun 26 05:58:30 2017 -0400

    Merge pull request #56 from gildub/network_controller_network_router_fix_support_feature

    Network Router: More generic use of SupportsFeatureMixin
    (cherry picked from commit 71520a1bced4e606b6703631cf40093044ef1838)

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

 app/models/manageiq/providers/openstack/network_manager/network_router.rb | 22 +-
 1 file changed, 19 insertions(+), 3 deletions(-)

Comment 14 Danylo Kholodov 2018-08-28 10:43:33 UTC
Verified at CFME 5.8.5.0
The delete option in the configuration menu is still missing.

Comment 15 Danylo Kholodov 2018-08-28 10:45:04 UTC
Created attachment 1479207 [details]
5.8.5.0 missed delete option

Comment 20 Gilles Dubreuil 2018-09-06 04:28:52 UTC
Following PR addresses the conflict:

https://github.com/ManageIQ/manageiq-ui-classic/pull/4610

Comment 21 Danylo Kholodov 2018-09-17 12:35:17 UTC
FAILED_QA at the CFME 5.8.5.1

The delete option in the configuration menu is still missing.

But anyway even if we open some Network Router page and will try to delete from this page (see attachment "delete_router") - no flash message ("Delete initiated for 1 Network Router.") appears. And router is still exist in the list.

Also I've checked the list in the CLI (openstack router list) and can see the same router which should be deleted.

Comment 22 Danylo Kholodov 2018-09-17 12:36:42 UTC
Created attachment 1484005 [details]
delete_router

Comment 23 Danylo Kholodov 2018-09-17 12:37:11 UTC
Created attachment 1484006 [details]
production.log

Comment 24 Danylo Kholodov 2018-09-17 12:37:53 UTC
Created attachment 1484007 [details]
evm.log