Puppet Class: nova::workarounds

Defined in:
manifests/workarounds.pp

Overview

Class: nova::workarounds

nova workarounds configuration

Parameters:

never_download_image_if_on_rbd

(optional) refuse to boot an instance if it would require downloading from glance and uploading to ceph instead of a COW clone Defaults to $::os_service_default

ensure_libvirt_rbd_instance_dir_cleanup

(optional) Ensure the instance directory is removed during clean up when using rbd. When enabled this workaround will ensure that the instance directory is always removed during cleanup on hosts using “[libvirt]/images_type=rbd“ Defaults to $::os_service_default

DEPRECATED

[*enable_numa_live_migration*]
 (optional) Whether to enable live migration for NUMA topology instances.
 Defaults to undef

Parameters:

  • never_download_image_if_on_rbd (Any) (defaults to: $::os_service_default)
  • ensure_libvirt_rbd_instance_dir_cleanup (Any) (defaults to: $::os_service_default)
  • enable_numa_live_migration (Any) (defaults to: undef)


24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'manifests/workarounds.pp', line 24

class nova::workarounds (
  $never_download_image_if_on_rbd = $::os_service_default,
  $ensure_libvirt_rbd_instance_dir_cleanup = $::os_service_default,
  # DEPRECATED PARAMETER
  $enable_numa_live_migration     = undef,
) {

  if $enable_numa_live_migration != undef {
    warning('The enable_numa_live_migration parameter is deprecated')
    nova_config {
      'workarounds/enable_numa_live_migration': value => $enable_numa_live_migration;
    }
  }

  nova_config {
    'workarounds/never_download_image_if_on_rbd':
      value => $never_download_image_if_on_rbd;
    'workarounds/ensure_libvirt_rbd_instance_dir_cleanup':
      value => $ensure_libvirt_rbd_instance_dir_cleanup;
  }

}