create encrypted volume fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Opinion
|
Undecided
|
Keith Berger | ||
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
stack with current devstack as of 8/3/2017 (Pike)
enable barbican in local.conf
[[local|localrc]]
enable_plugin barbican https:/
once devstack finishes and services are up you can see /etc/cinder/
...
[key_manager]
api_class = castellan.
from cmdln
master-vm vagrant master ~ devstack cinder list
cinder type+--
| ID | Status | Name | Size | Volume Type | Bootable | Attached to |
+----+-
+----+-
- master-vm vagrant master ~ devstack cinder type-list
+------
| ID | Name | Description | Is_Public |
+------
| 0be4eb35-
| ba936fd6-
+------
master-vm vagrant master ~ devstack cinder type-create LUKS
+------
| ID | Name | Description | Is_Public |
+------
| d1e9a6bc-
+------
master-vm vagrant master ~ devstack cinder type-key LUKS set volume_
master-vm vagrant master ~ devstack cinder encryption-
--control_location front-end LUKS nova.volume.
+------
| Volume Type ID | Provider | Cipher | Key Size | Control Location |
+------
| d1e9a6bc-
+------
master-vm vagrant master ~ devstack
master-vm vagrant master ~ devstack cinder create --volume-type LUKS --name test 1
ERROR: Key manager error (HTTP 400) (Request-ID: req-b49e8300-
cinder-api.log
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR castellan.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Aug 03 17:56:47 master-vm <email address hidden>[13448]: ERROR cinder.
Changed in cinder: | |
status: | Confirmed → Opinion |
Changed in cinder: | |
assignee: | nobody → Keith Berger (keith-berger) |
Looks like Barbican puked
barbican.log
Could not perform processing for task 'Process TypeOrder'.: CryptoPluginUns upportedOperati on: Could not find an enabled crypto plugin backend that supports the requested operation: store or generate a secret of type SYMMETRIC_ KEY_GENERATION with algorithm aes, bit length 512, and mode None