Proper error message should get displayed while trying to delete router interface

Bug #1748153 reported by Puneet Arora on 2018-02-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Undecided
Vishal Manchanda

Bug Description

Steps:
1) Create network, subnet
2) Create router and attach subnet to router.
3) Attach router to external network as a gateway.
4) Create port and associate port to floatingip.
5) Goto Horizon and try to delete router-interface, it doesn't gives you proper error message.

Error message on Horizon:
Error: Unable to delete interface: (5148c328-d7df)

But same If I try to delete from cli, it throws proper error message:
$ neutron router-interface-delete 273b224e-033e-4fb4-89ca-6a7fcca595bd 4b00cb1e-75df-4555-88c3-66dfb826e295
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Router interface for subnet 4b00cb1e-75df-4555-88c3-66dfb826e295 on router 273b224e-033e-4fb4-89ca-6a7fcca595bd cannot be deleted, as it is required by one or more floating IPs.

Can we make changes on horizon side also to provide proper error message just like cli throws message?

Puneet Arora (apuneet) on 2018-02-08
tags: added: neutron
Puneet Arora (apuneet) on 2018-03-08
affects: horizon → neutron
Akihiro Motoki (amotoki) wrote :

This is a horizon issue. Retarget it to horizon.

affects: neutron → horizon
tags: added: error-reporting
Changed in horizon:
status: New → Confirmed
assignee: nobody → Vishal Manchanda (vishalmanchanda)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers