Switch Cinder to use oslo.concurrency

Let's switch to the newly released oslo library for the
processutils and lockutils. We use the config fixture(s) to
specify disable_process_locking and lock_path in the CONF
variable of oslo.concurrency library for correctly setting the
flags.

Change-Id: Ib8f3aac5449eba66ea84bc5cad8aea061adab276
This commit is contained in:
ChangBo Guo(gcb)
2014-11-10 20:45:12 +08:00
parent 7d341e267f
commit 372df8a75b
70 changed files with 97 additions and 661 deletions

View File

@@ -18,6 +18,7 @@
import math
from Crypto.Random import random
from oslo.concurrency import processutils
from oslo.config import cfg
from oslo.utils import strutils
from oslo.utils import timeutils
@@ -27,7 +28,6 @@ from cinder.brick.local_dev import lvm as brick_lvm
from cinder import exception
from cinder.i18n import _
from cinder.openstack.common import log as logging
from cinder.openstack.common import processutils
from cinder import rpc
from cinder import utils