Failed to delete server from network topology view

Bug #1597677 reported by Min Sun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Min Sun

Bug Description

When I try to terminate(delete) an instance in the network topology view, it seems do nothing at all.
As check with the code, when click "terminate/delete" button, it will try to load project/instance table in background, then do the delete row action of the sever. But, the project instance table was paginated. And if you try to terminate/delete an instance that are not in first page of project/instance table, the terminate/delete action would take no action at all.

Revision history for this message
Min Sun (minsu) wrote :

I try to override the get_data method of instance table without pagination. But if we got lots of instance, it really slow to load all instances.

Revision history for this message
Min Sun (minsu) wrote :

Any one encounter the same problem?

Revision history for this message
Ankur (ankur-gupta-f) wrote :

I just tried replicating on current master branch and was not able to replicate.

Revision history for this message
Min Sun (minsu) wrote :

Hi Ankui, did you create a lot of instances that would be more than one page instances (default 20 instances per page), and try to delete the instance that not on the first page when list instances?

Revision history for this message
Min Sun (minsu) wrote :

Anyone hit the same problem?

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

Changed in horizon:
assignee: nobody → Min Sun (minsu)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/366498
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=73f867514864954cca49e957e15011ab8b6e90aa
Submitter: Jenkins
Branch: master

commit 73f867514864954cca49e957e15011ab8b6e90aa
Author: MinSun <email address hidden>
Date: Wed Sep 7 13:14:42 2016 +0800

    Support to delete instance from network topology view

    When try to delete an instance in network topology view, horizon would
    try to load project/instance table in background, then do the delete
    row action to the instance.
    But the project instance table was paginated, it only load the first
    page instances. The delete action would not work if you try to delete
    an instance that are not in the first page.
    The patch try to fix the bug.

    Change-Id: I317bd1ee418d19c075ae3ac8d39563a0514b1795
    Closes-Bug: #1597677

Changed in horizon:
status: In Progress → Fix Released
Changed in horizon:
milestone: none → ocata-rc1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 11.0.0.0rc1

This issue was fixed in the openstack/horizon 11.0.0.0rc1 release candidate.

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.