Pagination does not work properly in Volume snapshot panel

Bug #1539697 reported by Alexey Galkin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Fix Released
Medium
MOS Horizon
8.0.x
Won't Fix
Medium
MOS Horizon
9.x
Fix Released
Medium
Timur Sufiev

Bug Description

Steps to repoduce:

- Login as admin
- Go to admin settings
- Set "Items Per Page" to 2.
- Go to Projects-Compute->Volumes
- Create a volume if no volumes are present
- Create 5 snapshots of a volume via dropdown menu
- Go to "Volume Snapshots" tab
-> snapshot#5 and snapshot#4 are displayed, next button is avalable
- Click "Next"
- Click "Next"
-> snapshot#1 is displayed
- Click "Prev"
- Click "Prev"

Expected result:
- snapshot#4 and snapshot#5 are displayed, prev button is absent

Actual result:
- snapshot#3 and snapshot#4 are displayed, prev button is present

env:
cat /etc/fuel_build_id:
 129
cat /etc/fuel_build_number:
 129
cat /etc/fuel_release:
 9.0
cat /etc/fuel_openstack_version:
 liberty-9.0
rpm -qa | egrep 'fuel|astute|network-checker|nailgun|packetary|shotgun':
 fuel-release-9.0.0-1.mos6318.noarch
 rubygem-astute-9.0.0-1.mos730.noarch
 fuel-library9.0-9.0.0-1.mos8209.noarch
 fuelmenu-9.0.0-1.mos263.noarch
 fuel-agent-9.0.0-1.mos269.noarch
 fuel-ui-9.0.0-1.mos2624.noarch
 fuel-migrate-9.0.0-1.mos8209.noarch
 nailgun-mcagents-9.0.0-1.mos730.noarch
 fuel-misc-9.0.0-1.mos8209.noarch
 shotgun-9.0.0-1.mos85.noarch
 python-packetary-9.0.0-1.mos128.noarch
 fuel-bootstrap-cli-9.0.0-1.mos269.noarch
 fuel-provisioning-scripts-9.0.0-1.mos8588.noarch
 fuel-mirror-9.0.0-1.mos128.noarch
 fuel-openstack-metadata-9.0.0-1.mos8588.noarch
 fuel-notify-9.0.0-1.mos8209.noarch
 fuel-setup-9.0.0-1.mos6318.noarch
 python-fuelclient-9.0.0-1.mos297.noarch
 network-checker-9.0.0-1.mos72.x86_64
 fuel-9.0.0-1.mos6318.noarch
 fuel-utils-9.0.0-1.mos8209.noarch
 fuel-nailgun-9.0.0-1.mos8588.noarch
 fuel-ostf-9.0.0-1.mos919.noarch

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Which ISO build the bug was reproduced on?

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Setting to Incomplete because the build ISO is not specified.

Changed in mos:
status: Confirmed → Incomplete
Revision history for this message
Alexey Galkin (agalkin) wrote :

mos 8.0 iso #509

Changed in mos:
status: Incomplete → Confirmed
Revision history for this message
Alexey Galkin (agalkin) wrote :

Set 'Won't Fix' on MOS 8.0, because this bug have a Medium impotance.

Changed in mos:
status: Confirmed → Won't Fix
description: updated
Timur Sufiev (tsufiev-x)
Changed in mos:
milestone: 8.0-updates → 9.0
status: Won't Fix → Confirmed
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Actually this feature (Volumes Snapshots and Backups pagination) was even not expected to work in 8.0, because it requires Cinder service and client changes that are not available in Liberty release.

Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

Commit https://review.openstack.org/#/c/251427/ has landed in Mitaka, we're going to receive the fix with one of syncs from Mitaka upstream code.

Changed in mos:
status: Confirmed → Fix Committed
Revision history for this message
Sergii Turivnyi (sturivnyi) wrote :
Changed in mos:
status: Fix Committed → Confirmed
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

expected result

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Revision history for this message
Sergei Chipiga (schipiga) wrote : Re: Not working pagination in Volume snapshot panel

I checked that case with build #129. Pagination is working but with a problem. On that basis I update the ticket description.

description: updated
summary: - Not working pagination in Volume snapshot panel
+ Pagination does not work properly in Volume snapshot panel
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/18886

tags: removed: need-info
Timur Sufiev (tsufiev-x)
Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/18886
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: ddc5d5edc60ee57b4a5e68b5abe2290da7145cf7
Author: Timur Sufiev <email address hidden>
Date: Tue Mar 29 13:22:12 2016

Fix backward pagination for Volume Snapshots and Backups

Change-Id: I5fd10798fc3fbccda7599ef4f3e60c018af56071
Closes-Bug: #1539697

Timur Sufiev (tsufiev-x)
Changed in mos:
status: In Progress → Fix Committed
Revision history for this message
Sergei Chipiga (schipiga) wrote :

mos9.0#188

Steps:
- Login as admin
- Go to admin settings
- Set "Items Per Page" to 2.
- Go to Projects-Compute->Volumes
- Create a volume if no volumes are present
- Create 5 snapshots of a volume via dropdown menu
- Go to "Volume Snapshots" tab
-> snapshot#5 and snapshot#4 are displayed, next button is avalable
- Click "Next"
- Click "Next"
-> snapshot#1 is displayed
- Click "Prev"
- Click "Prev"

Result:
- Navigation is correct with both directions.
- Elements order is correct.

Fixed

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (mcp/newton)

Fix proposed to branch: mcp/newton
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/33703

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (11.0/ocata)

Fix proposed to branch: 11.0/ocata
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/33824

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/horizon (mcp/ocata)

Fix proposed to branch: mcp/ocata
Change author: Timur Sufiev <email address hidden>
Review: https://review.fuel-infra.org/34510

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Change abandoned on openstack/horizon (11.0/ocata)

Change abandoned by Ihor Kalnytskyi <email address hidden> on branch: 11.0/ocata
Review: https://review.fuel-infra.org/33824
Reason: 11.0/ocata is obsolete. We use mcp/ocata instead.

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (mcp/ocata)

Reviewed: https://review.fuel-infra.org/34510
Submitter: Pkgs Jenkins <email address hidden>
Branch: mcp/ocata

Commit: f9942aa1910745b0875b235c9e67feeb3972b4e9
Author: Timur Sufiev <email address hidden>
Date: Wed Apr 26 13:31:39 2017

Fix backward pagination for Volume Snapshots and Backups

Change-Id: I5fd10798fc3fbccda7599ef4f3e60c018af56071
Closes-Bug: #1539697

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/horizon (mcp/newton)

Reviewed: https://review.fuel-infra.org/33703
Submitter: Pkgs Jenkins <email address hidden>
Branch: mcp/newton

Commit: d10f1c3f821378c406f10f09ac59a6b853c36c5b
Author: Timur Sufiev <email address hidden>
Date: Mon May 8 11:47:43 2017

Fix backward pagination for Volume Snapshots and Backups

Change-Id: I5fd10798fc3fbccda7599ef4f3e60c018af56071
Closes-Bug: #1539697

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.