Created attachment 928854 [details] detach of in-use volume Description of problem: Detaching the encrypted volume is racy. It sometimes fails to detach, the image status is in-use for more than a minute. Version-Release number of selected component (if applicable): openstack-nova-compute-2014.1.2-1.el6ost.noarch openstack-cinder-2014.1.2-2.el6ost.noarch How reproducible: about 2 from 5 trials Steps to Reproduce: 1. Create a vm and encrypted volume (https://github.com/infn-bari-school/cinder-advanced/wiki/Encryption) 2. ID=f95a2ddf-86f2-4908-b5ab-dc97dff5b557 nova volume-attach bar $ID nova volume-detach bar $ID nova delete $ID Actual results: | f95a2ddf-86f2-4908-b5ab-dc97dff5b557 | in-use | test-encryption | 1 | DMCRYPT | false | aa285a66-f2d1-481e-8b5c-ad907d5e70ac | Expected results: Additional info:
It seems that RHEL 7 doesn't suffer from this.
Created attachment 928856 [details] another traceback, probably during trying to detach
Created attachment 928858 [details] sequence of atach detach delete detach I think I did a sequence like # cinder create --display-name test-encryption --volume-type DMCRYPT 1 # ID=f95a2ddf-86f2-4908-b5ab-dc97dff5b557 # nova volume-attach bar $ID # cinder delete $ID # nova volume-detach bar $ID to produce this log
Hi Jaroslav, Would you mind filing an upstream bug for this one as well? Thanks, Steve
[Bug triaging here] It's been about more than a year, Jaroslav, is this still reproducible today?