Proper message required for network deletion with instances using it is done

Bug #1279485 reported by Erasmo Isotton
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Nikunj Aggarwal

Bug Description

Poor error message when deleting networks with instances.

Steps to Reproduce the problem
1. Add private networks to Horizon
2. Create 2 additional networks
3. Launch an instance from portal using 1 of the networks
4. Instance is launched and assigned a network
5. Select the network and try to delete it
6. Delete fails as an instance is using the network
7. However the message fails to show the details for the same and shows "Failed to delete ..". Also the error gives the UID and not the network name selected.

Incorrect behavior
Error message for deletion of networks that are being used by instances lacks information

Expected behavior
Proper details should be seen in in the failure message when deletion of networks is done which
are being used by instances. Also Network name should be displayed instead of UID to make it user
friendly

Tags: neutron
Akihiro Motoki (amotoki)
tags: added: neutron
Revision history for this message
Akihiro Motoki (amotoki) wrote :
Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → ongoing
Changed in horizon:
assignee: nobody → Nikunj Aggarwal (nikunj2512)
Revision history for this message
Henrique Truta (henriquetruta) wrote :

Is anyone working on this bug?

Revision history for this message
Nikunj Aggarwal (nikunj2512) wrote :

Sorry for late reply but i am working on this bug.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/126247

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/126247
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=0d085cd42206e56361a4d70b59911622d8bea293
Submitter: Jenkins
Branch: master

commit 0d085cd42206e56361a4d70b59911622d8bea293
Author: nikunj2512 <email address hidden>
Date: Mon Oct 6 15:32:02 2014 +0530

    Fixes poor error message when deleting networks

    This patch fixes the poor error message when deleting networks when
    the network is being used by an active instance. The old error
    message upon network deletion used to show the network UUID, which
    was a little inconvenient for the end-user. So, with the help of
    this patch, any error in deleting the network will show the
    network name instead of network UUID.

    Change-Id: I38a8a0260860383eee9d3e3b28cc4bc3ec65b255
    Closes-bug: #1279485

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: ongoing → kilo-1
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.