← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1748153] [NEW] Proper error message should get displayed while trying to delete router interface

 

Public bug reported:

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?

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1748153

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

Status in OpenStack Dashboard (Horizon):
  New

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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1748153/+subscriptions


Follow ups