Volumes tab doesn't list any volumes

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

Bug Description

It seems that the Volumes tab doesn't show any volumes at the moment, even when there are some -- when I select "create volume" and "from volume", I have several volumes to choose from, but they don't show up in the main table.

Revision history for this message
Radomir Dopieralski (deshipu) wrote :

This is in the current master.

Revision history for this message
Radomir Dopieralski (deshipu) wrote :

This is the code that doesn't work:

        sort = 'created_at:' + sort_dir
        for v in c_client.volumes.list(search_opts=search_opts,
                                       limit=page_size + 1,
                                       marker=marker,
                                       sort=sort):

When I remove the "sort" parameter, it works properly.

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

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

Reviewed: https://review.openstack.org/479322
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=45665406b49680967d246de647a9b95a27e14b39
Submitter: Jenkins
Branch: master

commit 45665406b49680967d246de647a9b95a27e14b39
Author: Radomir Dopieralski <email address hidden>
Date: Fri Jun 30 16:06:55 2017 +0200

    Prefer volumev3 and volumev2 endpoints over volume

    Make cinderclient use volumev3 or volumev2 endpoints, before
    falling back to the volume endpoint, otherwise Horizon is
    trying to use the v1 API, and that doesn't work with the
    "sort" parameter that we are using, resulting in an empty
    volumes list.

    Change-Id: Id03988d89000c4bc976090c68a41ee320b9d43f7
    Closes-bug: #1700977

Changed in horizon:
status: In Progress → Fix Released
Ying Zuo (yingzuo)
Changed in horizon:
importance: Undecided → High
milestone: none → pike-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.0.0b3

This issue was fixed in the openstack/horizon 12.0.0.0b3 development milestone.

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.