Fixes Nova live-migration post-copy
Live migration post-copy was not working because to be effective, 'live_migration_timeout_action' must be set to 'force_complete'. Closes-bug: #1950894 Change-Id: I66984a12b89cb0ac2aeebeb393a6f6c026d865da (cherry picked from commitd04cbcea20
) (cherry picked from commite2daf7121f
) (cherry picked from commit6fb73abcb8
)
This commit is contained in:
parent
edf5ff9b0e
commit
152e19debd
|
@ -147,14 +147,17 @@ options:
|
|||
type: boolean
|
||||
default: False
|
||||
description: |
|
||||
If live-migration is enabled, this option allows Nova to switch an on-
|
||||
going live migration to post-copy mode.
|
||||
If live-migration is enabled, this option allows Nova to switch an
|
||||
on-going live migration to post-copy mode. The switch will happen if the
|
||||
migration reaches 'live-migration-completion-timeout'. This supersedes
|
||||
'live-migration-permit-auto-converge'.
|
||||
live-migration-permit-auto-converge:
|
||||
type: boolean
|
||||
default: False
|
||||
description: |
|
||||
If live-migration is enabled, this option allows Nova to throttle down
|
||||
CPU when an on-going live migration is slow.
|
||||
CPU when an on-going live migration is slow. This is superseded by
|
||||
'live-migration-permit-post-copy'.
|
||||
authorized-keys-path:
|
||||
type: string
|
||||
default: '{homedir}/.ssh/authorized_keys'
|
||||
|
|
|
@ -295,6 +295,7 @@ live_migration_downtime_delay = {{ live_migration_downtime_delay }}
|
|||
{% endif -%}
|
||||
{% if live_migration_permit_post_copy -%}
|
||||
live_migration_permit_post_copy = {{ live_migration_permit_post_copy }}
|
||||
live_migration_timeout_action = force_complete
|
||||
{% endif -%}
|
||||
{% if live_migration_permit_auto_converge -%}
|
||||
live_migration_permit_auto_converge = {{ live_migration_permit_auto_converge }}
|
||||
|
|
|
@ -302,6 +302,7 @@ live_migration_downtime_delay = {{ live_migration_downtime_delay }}
|
|||
{% endif -%}
|
||||
{% if live_migration_permit_post_copy -%}
|
||||
live_migration_permit_post_copy = {{ live_migration_permit_post_copy }}
|
||||
live_migration_timeout_action = force_complete
|
||||
{% endif -%}
|
||||
{% if live_migration_permit_auto_converge -%}
|
||||
live_migration_permit_auto_converge = {{ live_migration_permit_auto_converge }}
|
||||
|
|
Loading…
Reference in New Issue