Cinder create volume does not document the 'encrypted' parameter

Bug #1393963 reported by Patrick Crews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
High
Anne Gentle

Bug Description

It would appear that one can set an 'encrypted' flag in Cinder (tested w/ v2 in devstack):
However, this is not documented on this page: http://developer.openstack.org/api-ref-blockstorage-v2.html
Would be useful to know more about this.

devstack output:
"volumes": [{"status": "creating", "user_id": "7cfdc9f815a143b29a7e23692778321f", "attachments": [], "links": [{"href": "http://192.168.0.5:8776/v2/6b71f90f4ef64a0eb66baf9ae08112e4/volumes/ef7e87e0-79c9-4821-a998-a2dee034af21", "rel": "self"}, {"href": "http://192.168.0.5:8776/6b71f90f4ef64a0eb66baf9ae08112e4/volumes/ef7e87e0-79c9-4821-a998-a2dee034af21", "rel": "bookmark"}], "availability_zone": "nova", "bootable": "false",
 *****"encrypted": false*****, <<<<<<<<<<
"created_at": "2014-11-18T22:09:50.000000", "description": null, "os-vol-tenant-attr:tenant_id": "6b71f90f4ef64a0eb66baf9ae08112e4", "os-volume-replication:driver_data": null, "volume_type": "lvmdriver-1", "name": "volume-0x7f41ad2dddd0-5", "replication_status": "disabled", "consistencygroup_id": null, "source_volid": null, "snapshot_id": null, "os-volume-replication:extended_status": null, "metadata": {}, "id": "ef7e87e0-79c9-4821-a998-a2dee034af21", "size": 1}...

Revision history for this message
Anne Gentle (annegentle) wrote :

I'm not sure, but possibly the encryption would happen once barbican is integrated with cinder. So we can certainly document it, just that it sounds like most providers would have it set to false.

Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Anne Gentle (annegentle) wrote :

Nope, there is encryption for volumes now.

Anne Gentle (annegentle)
Changed in openstack-api-site:
assignee: nobody → Anne Gentle (annegentle)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/183844

Changed in openstack-api-site:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/183844
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=f426378a5d2f15f63a133f41a584add13e2a650f
Submitter: Jenkins
Branch: master

commit f426378a5d2f15f63a133f41a584add13e2a650f
Author: Anne Gentle <email address hidden>
Date: Sat May 16 18:08:57 2015 -0500

    Adds encrypted parameter to POST for volume creation on Volume API v2

    Change-Id: I570cc401b92984a0659a54c90b862e3257e0202b
    Closes-bug: 1393963

Changed in openstack-api-site:
status: In Progress → Fix Released
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.