Remove live_migration_progress_timeout parameter
live_migration_progress_timeout parameter is now deprecated and will be removed in the future release. Change-Id: If575118ec764fd2f13e9bb6d8f60a371bebbfa22
This commit is contained in:
parent
d93963ec1e
commit
c60b1b3534
|
@ -77,12 +77,6 @@
|
||||||
# Defaults to false
|
# Defaults to false
|
||||||
# Deprecated by transport paramater.
|
# Deprecated by transport paramater.
|
||||||
#
|
#
|
||||||
# [*live_migration_progress_timeout*]
|
|
||||||
# (optional) Time to wait, in seconds, for migration to make forward progress
|
|
||||||
# in transferring data before aborting the operation. Set to 0 to disable
|
|
||||||
# timeouts.
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
class nova::migration::libvirt(
|
class nova::migration::libvirt(
|
||||||
$transport = undef,
|
$transport = undef,
|
||||||
$auth = 'none',
|
$auth = 'none',
|
||||||
|
@ -98,7 +92,6 @@ class nova::migration::libvirt(
|
||||||
$client_extraparams = {},
|
$client_extraparams = {},
|
||||||
# DEPRECATED PARAMETERS
|
# DEPRECATED PARAMETERS
|
||||||
$use_tls = false,
|
$use_tls = false,
|
||||||
$live_migration_progress_timeout = undef,
|
|
||||||
){
|
){
|
||||||
|
|
||||||
include ::nova::deps
|
include ::nova::deps
|
||||||
|
@ -114,10 +107,6 @@ class nova::migration::libvirt(
|
||||||
$transport_real = 'tcp'
|
$transport_real = 'tcp'
|
||||||
}
|
}
|
||||||
|
|
||||||
if $live_migration_progress_timeout {
|
|
||||||
warning('live_migration_progress_timeout parameter is now deprecated and will be removed in the future release.')
|
|
||||||
}
|
|
||||||
|
|
||||||
validate_re($transport_real, ['^tcp$', '^tls$', '^ssh$'], 'Valid options for transport are tcp, tls, ssh.')
|
validate_re($transport_real, ['^tcp$', '^tls$', '^ssh$'], 'Valid options for transport are tcp, tls, ssh.')
|
||||||
validate_re($auth, [ '^sasl$', '^none$' ], 'Valid options for auth are none and sasl.')
|
validate_re($auth, [ '^sasl$', '^none$' ], 'Valid options for auth are none and sasl.')
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- Remove live_migration_progress_timeout parameter
|
Loading…
Reference in New Issue