← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1400667] Re: Unclear message is displayed while deleting a network

 

Reviewed:  https://review.openstack.org/508815
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=ed7e51af57fd9cfc520462a3cfced8e3c43d9abe
Submitter: Zuul
Branch:    master

commit ed7e51af57fd9cfc520462a3cfced8e3c43d9abe
Author: Marek Lycka <marek.lycka@xxxxxxxxxx>
Date:   Mon Oct 2 09:08:06 2017 +0200

    Show a better error message for network delete failure
    
    Previously deleting a network shows an unclear error message
    and it is not easy for a user to identify the reason:
    
      Error: Failed to delete network <network_name>
    
    With this fix it will now show proper error message including
    the error reason when neutron returns 409 (Conflict) response.
    
    NOTE: This is a fix for the https://review.openstack.org/#/c/140614/
    patch, which I couldn't restore.
    
    Change-Id: I5779725f1095d59a012d8e6cf6e47bbd11dda36a
    Closes-Bug: #1400667


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

-- 
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/1400667

Title:
  Unclear message is displayed while deleting a network

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  If a network is associated with a vm and if we try to delete it then
  it raises following error:

  Error: Failed to delete network 000550a1-0465-491d-9d44-01fa4f5cfaff

  which is very unclear to the user.

  I don't know whether horizon knows the reason or not but if horizon
  have the reason then it should get displayed.

  Error should be like:

  Error: Unable to delete network. <Reason>

  Steps to reproduce:
  1. Create a network.
  2. Launch an instance and assign new network to the vm.
  3. Try to delete the network

  
  I am using stable-icehouse

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


References