← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1953716] Re: Improve message in the NetworkInUse exception

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/821935
Committed: https://opendev.org/openstack/neutron/commit/7b61adbb4a0e3147e08e511cdf40a4073c00d099
Submitter: "Zuul (22348)"
Branch:    master

commit 7b61adbb4a0e3147e08e511cdf40a4073c00d099
Author: yatinkarel <ykarel@xxxxxxxxxx>
Date:   Thu Dec 16 11:38:20 2021 +0530

    List ports when attempt to delete network with ports
    
    When there is attempt to delete network with ports,
    a general error message is displayed that one or more
    ports are in use on the network. This patch proposes
    to also return the ports which are in use as part of
    the message.
    
    Also modify test_delete_network_if_port_exists unit
    test to check for port id and network id in Error
    message.
    
    Also bump required version of neutron-lib to 2.18.0
    as that's needed for custom message in NetworkInUse
    Exception.
    
    Depends-On: https://review.opendev.org/c/openstack/neutron-lib/+/821806
    
    Closes-Bug: #1953716
    Change-Id: Ib0b40402746c6a487a226b238907142384608d3c


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1953716

Title:
  Improve message in the NetworkInUse exception

Status in neutron:
  Fix Released

Bug description:
  Message returned to the user while trying to delete network which
  still have some ports could have uuid of the ports which blocks
  network deletion. It could maybe list those ports in the error
  message.

  It was reported as one of the pain points in the
  https://etherpad.opendev.org/p/pain-point-elimination

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



References