Remove libvirt migration flags options
The 'live_migration_flag' and 'block_migration_flag' options in libvirt section that were deprecated in Mitaka have been completely removed in Newton, because nova automatically sets correct migration flags. Change-Id: Ia4bbbe3d0e46467b0d5f0a495528471dbf340b01
This commit is contained in:
parent
324e725293
commit
5825886fc1
|
@ -49,16 +49,6 @@
|
||||||
# (optional) Whether or not configure libvirt bits.
|
# (optional) Whether or not configure libvirt bits.
|
||||||
# Defaults to true.
|
# Defaults to true.
|
||||||
#
|
#
|
||||||
#DEPRECATED PARAMETERS
|
|
||||||
#
|
|
||||||
# [*live_migration_flag*]
|
|
||||||
# (optional) Migration flags to be set for live migration (string value)
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
# [*block_migration_flag*]
|
|
||||||
# (optional) Migration flags to be set for block migration (string value)
|
|
||||||
# Defaults to undef
|
|
||||||
#
|
|
||||||
class nova::migration::libvirt(
|
class nova::migration::libvirt(
|
||||||
$use_tls = false,
|
$use_tls = false,
|
||||||
$auth = 'none',
|
$auth = 'none',
|
||||||
|
@ -68,9 +58,6 @@ class nova::migration::libvirt(
|
||||||
$override_uuid = false,
|
$override_uuid = false,
|
||||||
$configure_libvirt = true,
|
$configure_libvirt = true,
|
||||||
$configure_nova = true,
|
$configure_nova = true,
|
||||||
#DEPRECATED PARAMETERS
|
|
||||||
$live_migration_flag = undef,
|
|
||||||
$block_migration_flag = undef,
|
|
||||||
){
|
){
|
||||||
|
|
||||||
include ::nova::deps
|
include ::nova::deps
|
||||||
|
@ -85,14 +72,6 @@ class nova::migration::libvirt(
|
||||||
$listen_tcp = '1'
|
$listen_tcp = '1'
|
||||||
}
|
}
|
||||||
|
|
||||||
if $live_migration_flag {
|
|
||||||
warning('live_migration_flag parameter is deprecated, has no effect and will be removed in a future release.')
|
|
||||||
}
|
|
||||||
|
|
||||||
if $block_migration_flag {
|
|
||||||
warning('block_migration_flag parameter is deprecated, has no effect and will be removed in a future release.')
|
|
||||||
}
|
|
||||||
|
|
||||||
if $configure_nova {
|
if $configure_nova {
|
||||||
if $use_tls {
|
if $use_tls {
|
||||||
nova_config {
|
nova_config {
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- The 'live_migration_flag' and 'block_migration_flag' options in libvirt
|
||||||
|
section that were deprecated in Mitaka have been completely removed in
|
||||||
|
Newton.
|
Loading…
Reference in New Issue