]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Delete unused codes in rbd.retype
authorLisaLi <xiaoyan.li@intel.com>
Thu, 12 Nov 2015 06:08:11 +0000 (06:08 +0000)
committerlisali <xiaoyan.li@intel.com>
Wed, 2 Dec 2015 02:46:47 +0000 (10:46 +0800)
commit1e3213591d6a518049d1ee94a308fb37efb6e383
treede6a74b3fbad9bec4b88a29cb222cb6fea195be6
parent6a942ba647ee17893727e7b3c256ef067c9b5d5e
Delete unused codes in rbd.retype

Before rbd.retype is called, encryption and host have
been checked so that encryptions are different and
host are same.
Meanwhile, as extra_spec is not used during the
rbd driver. As a result, even if they are different
rbd.retype can still return True which means no need
to do further migration.

Change-Id: Id025a51631676389203b8e3892a5826c834105ca
Closes-Bug: #1515493
Closes-Bug: #1514775
cinder/tests/unit/test_rbd.py
cinder/volume/drivers/rbd.py