Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make live_migration_permit_auto_converge flag into a parameter to set via reclass #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions nova/files/ocata/nova-compute.conf.Debian
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,12 @@ reserved_host_memory_mb = {{ compute.get('reserved_host_memory_mb', '512') }}
# * Any valid positive integer or float value
# (floating point value)
# Minimum value: 0
{%- if compute.live_migration_permit_auto_converge is defined %}
live_migration_permit_auto_converge = {{ compute.live_migration_permit_auto_converge }}
{%- else %}
#live_migration_permit_auto_converge=false
{%- endif %}

{%- if compute.cpu_allocation_ratio is defined %}
cpu_allocation_ratio = {{ compute.cpu_allocation_ratio }}
{%- else %}
Expand Down Expand Up @@ -6383,6 +6389,8 @@ live_migration_tunnelled = {{ compute.libvirt.live_migration_tunnelled }}
#
# * live_migration_permit_post_copy
# (boolean value)
live_migration_permit_auto_converge={{ compute.config.get('live_migration_permit_auto_converge', 'false') }}

#live_migration_permit_auto_converge=false

#
Expand Down
7 changes: 7 additions & 0 deletions nova/files/ocata/nova-controller.conf.Debian
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,12 @@ injected_network_template=$pybasedir/nova/virt/interfaces.template
# * Any valid positive integer or float value
# (floating point value)
# Minimum value: 0
{%- if controller.live_migration_permit_auto_converge is defined %}
live_migration_permit_auto_converge = {{ controller.live_migration_permit_auto_converge }}
{%- else %}
#live_migration_permit_auto_converge=false
{%- endif %}

#cpu_allocation_ratio=0.0
cpu_allocation_ratio={{ controller.cpu_allocation_ratio }}

Expand Down Expand Up @@ -6345,6 +6351,7 @@ use_usb_tablet=true
# * live_migration_permit_post_copy
# (boolean value)
#live_migration_permit_auto_converge=false
live_migration_permit_auto_converge={{ controller.config.get('live_migration_permit_auto_converge', 'false') }}

#
# Determine the snapshot image format when sending to the image service.
Expand Down