Volume type tab shows an error if volume type encryption is disabled

Bug #1593890 reported by Ying Zuo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Ying Zuo

Bug Description

Steps to reproduce:

1. Disable volume type encryption on cinder_policy.json as the following
    "volume_extension:volume_type_encryption": "!",
    "volume_extension:volume_encryption_metadata": "!",

2. Go to admin -> volumes panel
3. Click on Volume Types tab
4. Verify the volume type encryption is disabled by check the "Create Encryption" action is not available for the volume type.
5. Note that there's an error showing unable to retrieve volume type encryption information.

The volume types table has an encryption column and it assumes the encryption is always enabled which is not the case.

Revision history for this message
Ying Zuo (yingzuo) wrote :
Changed in horizon:
assignee: nobody → Ying Zuo (yingzuo)
description: updated
Ying Zuo (yingzuo)
description: updated
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/331380

Changed in horizon:
status: New → In Progress
Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

I could not reproduce the error in current master today.

Revision history for this message
Richard Jones (r1chardj0n3s) wrote :

Oh, nwm, I figured it out.

Changed in horizon:
importance: Undecided → Wishlist
milestone: none → newton-rc1
importance: Wishlist → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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

commit e8298d90a450f45f01559314042584f320c5bb9e
Author: Ying Zuo <email address hidden>
Date: Fri Jun 17 16:50:49 2016 -0700

    Check if volume type encryption is enabled before retrieving the data

    Change-Id: I4338acf0f22e6639e29a3d2d4e589bdef8a0c10c
    Closes-bug: #1593890

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 10.0.0.0rc1

This issue was fixed in the openstack/horizon 10.0.0.0rc1 release candidate.

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.