Horizon does not display 1000 volumes

Bug #1541733 reported by Olga Klochkova
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Status tracked in 10.0.x
10.0.x
Confirmed
Medium
Olga Klochkova
8.0.x
Won't Fix
Medium
MOS Horizon
9.x
Won't Fix
Medium
Olga Klochkova

Bug Description

Steps:
1. Log in WebUI
2. Create 1000 volumes
3. Go to Settings page and change 'Items Per Page' to 1000
4. Open Horizon->admin->volumes

Actual result:
Page shows empty page and error's message: Unable to retrieve volume list

VERSION:
  feature_groups:
    - mirantis
  production: "docker"
  release: "8.0"
  api: "1.0"
  build_number: "510"
  build_id: "510"
  fuel-nailgun_sha: "41170db11c366af5fe04c1c539c11b2e3e388ef9"
  python-fuelclient_sha: "4f234669cfe88a9406f4e438b1e1f74f1ef484a5"
  fuel-agent_sha: "658be72c4b42d3e1436b86ac4567ab914bfb451b"
  fuel-nailgun-agent_sha: "b2bb466fd5bd92da614cdbd819d6999c510ebfb1"
  astute_sha: "b81577a5b7857c4be8748492bae1dec2fa89b446"
  fuel-library_sha: "ec7e212972ead554f21b52b9e165156665f659df"
  fuel-ostf_sha: "5fe41945c2a49f26c849df1fd46329f6db1ab6b0"
  fuel-mirror_sha: "351d568fa3b3e4dd062054b91d766aa54d379867"
  fuelmenu_sha: "234cb4cbb30fbd2df00f388c28f31606d9cae15f"
  shotgun_sha: "63645dea384a37dde5c01d4f8905566978e5d906"
  network-checker_sha: "a43cf96cd9532f10794dce736350bf5bed350e9d"
  fuel-upgrade_sha: "616a7490ec7199f69759e97e42f9b97dfc87e85b"
  fuelmain_sha: "94507c5e4dad6d8cfbd8f5d41aa8389d5335990a"

tags: added: area-horizon
removed: horizon
Revision history for this message
Timur Sufiev (tsufiev-x) wrote :

It's not expected to work with such numbers per page. Please, check if 1000 volumes could be displayed in 10 pages with 100 volumes per page.

Revision history for this message
Olga Klochkova (oklochkova) wrote :

The bug is about code logic flaw in a corner case, so it doesn't matter if 1000 volumes per page is practically usable.
It makes sense to fix the code anyways.

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

Okay, then please provide us with horizon logs with that error.

Changed in mos:
status: New → Won't Fix
Revision history for this message
Olga Klochkova (oklochkova) wrote :

horizon logs:
2016-02-25 13:44:55,384 4364 ERROR horizon.exceptions Not Found: Not Found (HTTP 404)
Traceback (most recent call last):
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/volumes/tabs.py", line 42, in _get_volumes
    sort_dir=sort_dir, paginate=True)
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py", line 225, in volume_list_paged
    sort=sort):
  File "/usr/lib/python2.7/dist-packages/cinderclient/v2/volumes.py", line 375, in list
    "volumes", limit=limit)
  File "/usr/lib/python2.7/dist-packages/cinderclient/base.py", line 110, in _list
    limit, items)
  File "/usr/lib/python2.7/dist-packages/cinderclient/base.py", line 65, in _list
    resp, body = self.api.client.get(url)
  File "/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 303, in get
    return self._cs_request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 266, in _cs_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 249, in request
    raise exceptions.from_response(resp, body)
NotFound: Not Found (HTTP 404)

Revision history for this message
Dina Belova (dbelova) wrote :

Added move-to-10.0 tag due to the fact bug was transferred from 9.0 to 10.0

tags: added: move-to-10.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.