Snapshot table in Admin volume detail does not show snapshots for different project

Bug #1733186 reported by Akihiro Motoki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Akihiro Motoki

Bug Description

If a volume belongs to a different project from the current project, the snapshot tables in the admin volume detail shows no volume snapshots even if the volume has a volume snapshot.

Procedure to reproduce the bug with DevStack.

- Login as 'demo' project (with user 'demo')
- Go to Project/Volumes
- Create a volume 'vol1'
- Create a volume snapshot from the volume 'vol1'
- Re-Login as 'admin' project (with user 'admin')
- Go to Admin/Volumes/vol1 (volume detail page) and open 'Snapshots' tab
- No snapshot is displayed in the snapshot table

Akihiro Motoki (amotoki)
Changed in horizon:
importance: Undecided → Medium
milestone: none → queens-2
assignee: nobody → Akihiro Motoki (amotoki)
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/521367

Changed in horizon:
status: New → In Progress
Ying Zuo (yingzuo)
Changed in horizon:
milestone: queens-2 → queens-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/521367
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=17b7e91472c530de4ae61abc5b97db0d5ea4b428
Submitter: Zuul
Branch: master

commit 17b7e91472c530de4ae61abc5b97db0d5ea4b428
Author: Akihiro Motoki <email address hidden>
Date: Sun Nov 19 12:49:53 2017 +0000

    Show volume snapshots in admin volume detail page

    To show volume snapshots from different projects,
    we need to specify all_tenants=True to the list operation.

    Also fixes an issue that the actions in the snapshots table
    in the admin volume detail page refer to the project dashboard.

    Change-Id: I8dc50625e0e84fd2ce81d731bd54cbd0e08b100d
    Closes-Bug: #1733186

Changed in horizon:
status: In Progress → Fix Released
Akihiro Motoki (amotoki)
tags: added: pike-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 13.0.0.0b3

This issue was fixed in the openstack/horizon 13.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.