Description of problem: ======================= I tried to delete network which in use (connected to router). There is no error message on UI. Version-Release number of selected component: ============================================= 5.8.1.0 How reproducible: ================= 100% Steps to Reproduce: =================== 1. Create a network on Overcloud NM 2. Create a subnet for this network 3. Connect the network to a router 4. browse: Networks --> Networks 5. Select the network (which created on step 1) 6. Click Configuration --> Delete this Cloud Network Actual results: =============== No error displayed on UI, although there is an error in evm.log Expected results: ================= Error Should displayed on UI "Network In Use" Additional info: ================ evm.log: ERROR -- : MIQ(ManageIQ::Providers::Openstack::NetworkManager::CloudNetwork::Private#raw_delete_cloud_network) network=[Internal], error: Expected(204) <=> Actual(409 Conflict) excon.error.response :body => "{\"NeutronError\": {\"message\": \"Unable to complete operation on network 79034167-cd8a-426f-a456-256c3cf2dfc6. There are one or more ports still in use on the network.\", \"type\": \"NetworkInUse\", \"detail\": \"\"}}"
Same behavior with subnet
Petr, we should be adding notifications when a queued task fails; that should take care of this issue.
Two possible duplicates of this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1540701 and https://bugzilla.redhat.com/show_bug.cgi?id=1512413
This bug may be irrelevant with the fix of https://bugzilla.redhat.com/show_bug.cgi?id=1539723 Networks can no longer be deleted from the list page, only from the show page (since delete only works for OpenStack networks, not for the general case)
Ido, is this bug still relevant after https://bugzilla.redhat.com/show_bug.cgi?id=1539723 is merged? It doesn't seem like it, so please let me know if it can be closed.
*** Bug 1512413 has been marked as a duplicate of this bug. ***
*** Bug 1540701 has been marked as a duplicate of this bug. ***
(In reply to Sam Lucidi from comment #5) > Ido, is this bug still relevant after > https://bugzilla.redhat.com/show_bug.cgi?id=1539723 is merged? It doesn't > seem like it, so please let me know if it can be closed. This bug reproduced on
(In reply to Sam Lucidi from comment #5) > Ido, is this bug still relevant after > https://bugzilla.redhat.com/show_bug.cgi?id=1539723 is merged? It doesn't > seem like it, so please let me know if it can be closed. The bug reproduced on network (from show page) and subnet (from show page)
https://github.com/ManageIQ/manageiq-providers-openstack/pull/301
New commit detected on ManageIQ/manageiq-providers-openstack/master: https://github.com/ManageIQ/manageiq-providers-openstack/commit/73b72431cdcbf8592f8f19bb6a2f1565c1f1d3fe commit 73b72431cdcbf8592f8f19bb6a2f1565c1f1d3fe Author: Andrei Veselov <aveselov> AuthorDate: Mon Jun 11 10:44:31 2018 -0400 Commit: Andrei Veselov <aveselov> CommitDate: Mon Jun 11 10:44:31 2018 -0400 Add delete notification for Cloud Subnet Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1470210 app/models/manageiq/providers/openstack/network_manager/cloud_subnet.rb | 9 +- 1 file changed, 7 insertions(+), 2 deletions(-)
Failed QA ========== While trying to delete network which in use the following error is displayed: "Delete initiated for 1 Cloud Network." The task failed as expected, but no error displayed on UI.
Hi, Jad. Please, see comments above ^^
Tested on 5.10.0.30: Still seeing success message of deletion: Delete initiated for 1 Cloud Network
(In reply to Jadh from comment #17) > Tested on 5.10.0.30: > > Still seeing success message of deletion: > > Delete initiated for 1 Cloud Network "Delete initiated for 1 Cloud Network" is a normal queue message and doesn't necessarily reflect whether the event was successful. Do the error notifications eventually appear in the notification list?
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days