Unable to retrieve instances error when all instances in a page are terminated

Bug #1255562 reported by Victoria Martinez de la Cruz
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Confirmed
Low
Unassigned

Bug Description

An "Unable to retrieve instances" error occur when all instances in a page are removed using the "Terminate Instances" button above the table and then the "More" button is clicked to browse the remaining instances.
This happens when there are more instances than the items per page limit (default is 20) and the instances table is paginated.

Steps to reproduce:

1. (Optional) Change the "Items per page" limit to a lower number (e.g. 1).
2. Launch items_per_page_limit + 1 instances (e.g. 2).
3. In the first page, select all the instances and remove them using the "Terminate Instances" button.
4. Click on the "More" link to access to the remaining instances.

Expected result:
When click on the "More" link the remaining instances are showed, or (much better), when all the selected instances are removed, the table should update and show the remaining instances in page one without having to click on the "More" link.

Actual result:
"Error: Unable to retrieve instances" error shows up.

Tags: pagination
Changed in horizon:
status: New → Confirmed
chenhaiq (chenhaiq)
Changed in horizon:
assignee: nobody → chenhaiq (chenhaiq)
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/59658

Changed in horizon:
status: Confirmed → In Progress
David Lyle (david-lyle)
Changed in horizon:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by David Lyle (<email address hidden>) on branch: master
Review: https://review.openstack.org/59658
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

tags: added: pagination
Akihiro Motoki (amotoki)
Changed in horizon:
assignee: chenhaiq (chenhaiq) → nobody
Ivan Kolodyazhny (e0ne)
Changed in horizon:
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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