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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user