Remove verbose
Since we are in Ocata we should remove the verbose option that was deprecated Change-Id: Iac5f2a120c80ddd1bad40981ee50f550fe51195b
This commit is contained in:
@@ -275,10 +275,6 @@
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*verbose*]
|
||||
# (Optional) DEPRECATED. Should the daemons log verbose messages
|
||||
# Defaults to undef.
|
||||
#
|
||||
# [*enable_v1_api*]
|
||||
# (Optional) DEPRECATED. Whether to enable the v1 API (true/false).
|
||||
# Defaults to undef.
|
||||
@@ -368,7 +364,6 @@ class cinder (
|
||||
$host = $::os_service_default,
|
||||
$purge_config = false,
|
||||
# DEPRECATED PARAMETERS
|
||||
$verbose = undef,
|
||||
$enable_v1_api = undef,
|
||||
$enable_v2_api = undef,
|
||||
$use_ssl = undef,
|
||||
@@ -381,10 +376,6 @@ class cinder (
|
||||
include ::cinder::db
|
||||
include ::cinder::logging
|
||||
|
||||
if $verbose {
|
||||
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
|
||||
}
|
||||
|
||||
if $enable_v1_api {
|
||||
warning('enable_v1_api is deprecated, has no effect and will be removed in a future release')
|
||||
}
|
||||
|
||||
@@ -85,12 +85,6 @@
|
||||
# Defaults to $::os_service_default
|
||||
# Example: 'Y-%m-%d %H:%M:%S'
|
||||
#
|
||||
# DEPRECATED PARAMETERS
|
||||
#
|
||||
# [*verbose*]
|
||||
# (Optional) DEPRECATED. Should the daemons log verbose messages
|
||||
# Defaults to undef
|
||||
#
|
||||
class cinder::logging(
|
||||
$use_syslog = $::os_service_default,
|
||||
$use_stderr = $::os_service_default,
|
||||
@@ -108,16 +102,10 @@ class cinder::logging(
|
||||
$instance_format = $::os_service_default,
|
||||
$instance_uuid_format = $::os_service_default,
|
||||
$log_date_format = $::os_service_default,
|
||||
# DEPRECATED PARAMETERS
|
||||
$verbose = undef,
|
||||
) {
|
||||
|
||||
include ::cinder::deps
|
||||
|
||||
if $verbose {
|
||||
warning('verbose is deprecated, has no effect and will be removed after Newton cycle.')
|
||||
}
|
||||
|
||||
# NOTE(spredzy): In order to keep backward compatibility we rely on the pick function
|
||||
# to use cinder::<myparam> if cinder::logging::<myparam> isn't specified.
|
||||
$use_syslog_real = pick($::cinder::use_syslog,$use_syslog)
|
||||
|
||||
4
releasenotes/notes/remove_verbose-f932b850028aa72f.yaml
Normal file
4
releasenotes/notes/remove_verbose-f932b850028aa72f.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
other:
|
||||
- The verbose option was marked to be removed in Ocata,
|
||||
in Newton the option was deprecated.
|
||||
Reference in New Issue
Block a user