]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Remove remaining oslo-incubator code from Cinder
authorJay S Bryant <jsbryant@us.ibm.com>
Tue, 8 Mar 2016 11:22:39 +0000 (05:22 -0600)
committerJay S Bryant <jsbryant@us.ibm.com>
Wed, 9 Mar 2016 16:49:18 +0000 (10:49 -0600)
commit388a131c3dd720939a1fa697a8b54a1a33457f64
treed834217c411807e88f7c4a3864159af12760d7c0
parentb043410f3921c6f1246fd34ebb5fc26b62a6e427
Remove remaining oslo-incubator code from Cinder

Most of the parts for oslo-incubator have moved to
oslo libraries.  Cinder only had imageutils.py and
_i18n.py remaining in cinder/openstack/common.  I
was to able remove both of these remaining incubator
components.

oslo_utils now has imageutils available.  I moved
cinder/image/image_utils.py to use the new
imageutils from oslo_utils and updated all the other
places that were using the old imageutils import.

_i18n was only being used in scheduler/base_filter.py
which appears to have been accidentally left when the
scheduler was previously pulled out of incubator.  I
fixed this oversight.

Finally, this patch deletes cinder/openstack/common
cinder/openstack and the openstack-common.conf file.

Change-Id: I8fe0b5d6c278715620f93f682289df7ae60dbeba
Closes-bug: 1517861
15 files changed:
cinder/image/image_utils.py
cinder/openstack/__init__.py [deleted file]
cinder/openstack/common/README [deleted file]
cinder/openstack/common/__init__.py [deleted file]
cinder/openstack/common/_i18n.py [deleted file]
cinder/openstack/common/imageutils.py [deleted file]
cinder/scheduler/base_filter.py
cinder/tests/unit/test_glusterfs.py
cinder/tests/unit/test_image_utils.py
cinder/tests/unit/test_quobyte.py
cinder/tests/unit/test_scality.py
cinder/tests/unit/volume/flows/test_create_volume_flow.py
openstack-common.conf [deleted file]
run_tests.sh
tools/lintstack.py