Comment 1 for bug 1562024

Revision history for this message
Sheel Rana (ranasheel2000) wrote :

Dear Peter,

I could not see this problem.
You can refer below for details and let me know in case you have some different steps to reproduce this issue:

1. Create encryption

root@sheel:/home/sheel/next/cinder# curl -H "X-Auth-Token:a983cd943e7f4017b1c88e097a216899" -H "Content-type: application/json" http://10.0.2.15:8776/v2/f270b245cb11498ca4031deb7e141cfa/types/898016e6-038e-4ae7-baad-2f07b4404567/encryption -X POST -d '{"encryption": {"control_location": "front-end", "cipher": null, "key_size": null, "provider": "LuksEncryptor"}}'
{"encryption": {"volume_type_id": "898016e6-038e-4ae7-baad-2f07b4404567", "key_size": null, "control_location": "front-end", "encryption_id": "ded4e252-c74d-44e0-bb3e-89d00a8ae968", "cipher": null, "provider": "LuksEncryptor"}}

2. Delete Encryption
root@sheel:/home/sheel/python-openstackclient# cinder encryption-type-delete 898016e6-038e-4ae7-baad-2f07b4404567

3. List Encryption
root@sheel:/home/sheel/python-openstackclient# curl -H "X-Auth-Token:a983cd943e7f4017b1c88e097a216899" http://10.0.2.15:8776/v2/f270b245cb11498ca4031deb7e141cfa/types/c3460d77-f142-47a6-b601-44c427ec4221/encryption -X GET
{}

4. Show Encryption
cinder --debug encryption-type-show c3460d77-f142-47a6-b601-44c427ec4221

RESP: [200] Content-Length: 2 X-Compute-Request-Id: req-969a5434-2cc9-4379-ac6d-0fb1cb9f932c Connection: keep-alive Date: Fri, 25 Mar 2016 16:55:28 GMT Content-Type: application/json X-Openstack-Request-Id: req-969a5434-2cc9-4379-ac6d-0fb1cb9f932c
RESP BODY: {}