Merge "Remove CONF.volume_feature_enabled.bootable"

This commit is contained in:
Jenkins
2016-11-25 15:07:20 +00:00
committed by Gerrit Code Review
3 changed files with 6 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
---
deprecations:
- The *bootable* config option in the *volume_feature_enabled* group is
removed because the corresponding feature os-set_bootable has been
implemented 2.5 years ago and all OpenStack versions which are supported
by Tempest should support the feature.

View File

@@ -12,7 +12,6 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import testtools
from tempest.api.volume import base
from tempest.common.utils import data_utils
@@ -67,8 +66,6 @@ class VolumesV2ActionsTest(base.BaseVolumeTest):
self.volume['id'], 'available')
@test.idempotent_id('63e21b4c-0a0c-41f6-bfc3-7c2816815599')
@testtools.skipUnless(CONF.volume_feature_enabled.bootable,
'Update bootable status of a volume is not enabled.')
def test_volume_bootable(self):
# Verify that a volume bootable flag is retrieved
for bool_bootable in [True, False]:

View File

@@ -780,11 +780,6 @@ VolumeFeaturesGroup = [
cfg.BoolOpt('api_v3',
default=False,
help="Is the v3 volume API enabled"),
cfg.BoolOpt('bootable',
default=True,
help='Update bootable status of a volume '
'Not implemented on icehouse ',
deprecated_for_removal=True),
# TODO(ynesenenko): Remove volume_services once liberty-eol happens.
cfg.BoolOpt('volume_services',
default=False,