yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #50941
[Bug 1580294] Re: Impossible to create another iSCSI volume after encrypted one was created
I ran that test twice in a row on a simple devstack setup with the
default cinder storage backend (lvm) and didn't have any issues, so
maybe it's a problem with the Nexenta driver in Cinder?
** Also affects: cinder
Importance: Undecided
Status: New
** Changed in: nova
Status: New => Incomplete
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1580294
Title:
Impossible to create another iSCSI volume after encrypted one was
created
Status in Cinder:
New
Status in OpenStack Compute (nova):
Incomplete
Bug description:
Description
===========
Tempest test for Cinder drivers which uses encrypted volumes fails. I figured out that test uses nova.volume.encryptors.cryptsetup.CryptsetupEncryptor.
On setup it executes:
cryptsetup create --key-file=- dev_name dev_path
ln --symbolic --force /dev/mapper/dev_name symlink_path
On remove:
cryptsetup remove dev_name
and it doesn't restore the link. When a driver deletes a volume and creates anoter one with the same name as previous, that link becomes broken and volume is not able to be working. When I manually replace the link with original one, it works fine.
Steps to reproduce
==================
cd /opt/stack/tempest
tox -eall -- --concurrency=1 test_encrypted_cinder_volumes_cryptsetup
run the test twice
Expected result
===============
the test passes every time
Actual result
=============
the test passes only the first time
Environment
===========
I used devstack from master branch and Nexenta iSCSI driver.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1580294/+subscriptions
References