Bug 1518734 - No error message displayed on UI, when trying to delete Router with attached interface
Summary: No error message displayed on UI, when trying to delete Router with attached ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: All
OS: All
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: Andrey
QA Contact: Md Nadeem
URL:
Whiteboard:
: 1655704 (view as bug list)
Depends On:
Blocks: 1702477
TreeView+ depends on / blocked
 
Reported: 2017-11-29 14:15 UTC by Andrey
Modified: 2020-04-27 10:50 UTC (History)
12 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1702477 (view as bug list)
Environment:
Last Closed: 2019-12-13 14:54:29 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrey 2017-11-29 14:15:21 UTC
Description of problem:
==================
When deleting Router with some attached interface (i.e. subnet), there's no flash error message in UI
 
Version-Release number of selected component (if applicable):
==================
5.9.0.11

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

Steps to Reproduce:
===================

1. browse: Networks --> Network Routers --> Add new Network Router
2. Connect some existing subnet to a router
4. browse: Networks --> Routers
5. Select the created router
6. Click Configuration --> Delete this Network Router

Actual results:
===============
Message "Delete initiated for 1 Network Router" displayed on UI. The error message only shown in evm.log

Expected results:
=================
Error Should displayed on UI "Network In Use"

Additional info:
====================
evm.log
[----] E, [2017-11-29T08:14:33.163073 #58343:e79140] ERROR -- : MIQ(ManageIQ::Providers::Openstack::NetworkManager::NetworkRouter#raw_delete_network_router) router=[test_router], error: Expected(204) <=> Actual(404 Not Found)

====================
This bug is similar to https://bugzilla.redhat.com/show_bug.cgi?id=1470210

Comment 6 Ido Ovadia 2017-12-05 16:00:08 UTC
Seems to be fix by https://bugzilla.redhat.com/show_bug.cgi?id=1518338#c2

Comment 7 Ido Ovadia 2017-12-05 16:04:23 UTC
(In reply to Ido Ovadia from comment #6)
> Seems to be fix by https://bugzilla.redhat.com/show_bug.cgi?id=1518338#c2

Please ignore, putted on wrong bug by mistake

Comment 10 CFME Bot 2018-08-06 18:54:53 UTC
New commit detected on ManageIQ/manageiq-providers-openstack/master:

https://github.com/ManageIQ/manageiq-providers-openstack/commit/f58bbf45654bebd07ada248b4bb500d5772c831a
commit f58bbf45654bebd07ada248b4bb500d5772c831a
Author:     Andrei Veselov <aveselov>
AuthorDate: Thu Jun  7 05:17:48 2018 -0400
Commit:     Andrei Veselov <aveselov>
CommitDate: Thu Jun  7 05:17:48 2018 -0400

    Add notifications for Router delete

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1518734

 app/models/manageiq/providers/openstack/network_manager/network_router.rb | 9 +-
 1 file changed, 7 insertions(+), 2 deletions(-)

Comment 11 Jad Haj Yahya 2018-11-18 13:24:56 UTC
The router is not deleted but no error message appears
Tested on 5.10.0.24

Comment 15 Sam Lucidi 2019-03-19 15:06:10 UTC
https://github.com/ManageIQ/manageiq/pull/17514

Comment 16 Satoe Imaishi 2019-04-23 21:37:42 UTC
*** Bug 1655704 has been marked as a duplicate of this bug. ***


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