Remove volume_api_class option

The deprecated ``volume_api_class`` config option has been
removed. We only have one sensible backend for it, so don't
need it anymore.

Change-Id: Id51e66ea50778337be01a2372a6aab32b39be9a0
This commit is contained in:
ZhongShengping 2016-11-01 16:22:08 +08:00
parent b735b67158
commit 5fae69587e
3 changed files with 24 additions and 30 deletions

View File

@ -211,10 +211,6 @@
# (optional) DEPRECATED. The keystone url where nova should send requests for ec2tokens
# Defaults to undef
#
# [*volume_api_class*]
# (optional) DEPRECATED. The name of the class that nova will use to access volumes. Cinder is the only option.
# Defaults to undef
#
# [*ec2_listen_port*]
# (optional) DEPRECATED. The port on which the EC2 API will listen.
# Defaults to port undef
@ -311,7 +307,6 @@ class nova::api(
$ec2_workers = undef,
$keystone_ec2_url = undef,
$auth_version = undef,
$volume_api_class = undef,
$osapi_v3 = undef,
$admin_password = undef,
$auth_uri = undef,
@ -334,10 +329,6 @@ class nova::api(
warning('osapi_v3 is deprecated, has no effect and will be removed in a future release.')
}
if $volume_api_class {
warning('volume_api_class parameter is deprecated, has no effect and will be removed in a future release.')
}
if $ec2_listen_port or $ec2_workers or $keystone_ec2_url {
warning('ec2_listen_port, ec2_workers and keystone_ec2_url are deprecated and have no effect. Deploy openstack/ec2-api instead.')
}

View File

@ -0,0 +1,4 @@
---
deprecations:
- The deprecated ``volume_api_class`` config option has been
removed.

View File

@ -103,7 +103,6 @@ describe 'nova::api' do
:metadata_listen => '127.0.0.1',
:metadata_listen_port => 8875,
:osapi_compute_listen_port => 8874,
:volume_api_class => 'nova.volume.cinder.API',
:use_forwarded_for => false,
:ratelimits => '(GET, "*", .*, 100, MINUTE);(POST, "*", .*, 200, MINUTE)',
:neutron_metadata_proxy_shared_secret => 'secrete',