blob: 764284f803bd523f5fd95c39b76d2960839790e3 [file] [log] [blame]
Oleh Hryhorov5d0f13a2018-05-21 17:02:54 +00001{%- from "nova/map.jinja" import controller with context %}
2[DEFAULT]
3
4#
5# From nova.conf
6#
7compute_manager=nova.controller.manager.ComputeManager
8network_device_mtu=65000
9use_neutron = True
10security_group_api=neutron
11image_service=nova.image.glance.GlanceImageService
12
13#
14# Availability zone for internal services.
15#
16# This option determines the availability zone for the various
17# internal nova
18# services, such as 'nova-scheduler', 'nova-conductor', etc.
19#
20# Possible values:
21#
22# * Any string representing an existing availability zone name.
23# (string value)
24#internal_service_availability_zone = internal
25
26#
27# Default availability zone for compute services.
28#
29# This option determines the default availability zone for 'nova-
30# compute'
31# services, which will be used if the service(s) do not belong to
32# aggregates with
33# availability zone metadata.
34#
35# Possible values:
36#
37# * Any string representing an existing availability zone name.
38# (string value)
39#default_availability_zone = nova
40
41#
42# Default availability zone for instances.
43#
44# This option determines the default availability zone for instances,
45# which will
46# be used when a user does not specify one when creating an instance.
47# The
48# instance(s) will be bound to this availability zone for their
49# lifetime.
50#
51# Possible values:
52#
53# * Any string representing an existing availability zone name.
54# * None, which means that the instance can move from one availability
55# zone to
56# another during its lifetime if it is moved from one compute node
57# to another.
58# (string value)
59#default_schedule_zone = <None>
60
61# Length of generated instance admin passwords. (integer value)
62# Minimum value: 0
63#password_length = 12
64
65#
66# Time period to generate instance usages for. It is possible to
67# define optional
68# offset to given period by appending @ character followed by a number
69# defining
70# offset.
71#
72# Possible values:
73#
74# * period, example: ``hour``, ``day``, ``month` or ``year``
75# * period with offset, example: ``month@15`` will result in monthly
76# audits
77# starting on 15th day of month.
78# (string value)
79#instance_usage_audit_period = month
80{% if pillar.ceilometer is defined %}
81instance_usage_audit = True
82instance_usage_audit_period = hour
83{%- endif %}
84
85#
86# Start and use a daemon that can run the commands that need to be run
87# with
88# root privileges. This option is usually enabled on nodes that run
89# nova compute
90# processes.
91# (boolean value)
92#use_rootwrap_daemon = false
93
94#
95# Path to the rootwrap configuration file.
96#
97# Goal of the root wrapper is to allow a service-specific unprivileged
98# user to
99# run a number of actions as the root user in the safest manner
100# possible.
101# The configuration file used here must match the one defined in the
102# sudoers
103# entry.
104# (string value)
105rootwrap_config = /etc/nova/rootwrap.conf
106
107# Explicitly specify the temporary working directory. (string value)
108#tempdir = <None>
109
110# DEPRECATED:
111# Determine if monkey patching should be applied.
112#
113# Related options:
114#
115# * ``monkey_patch_modules``: This must have values set for this
116# option to
117# have any effect
118# (boolean value)
119# This option is deprecated for removal since 17.0.0.
120# Its value may be silently ignored in the future.
121# Reason:
122# Monkey patching nova is not tested, not supported, and is a barrier
123# for interoperability.
124#monkey_patch = false
125
126# DEPRECATED:
127# List of modules/decorators to monkey patch.
128#
129# This option allows you to patch a decorator for all functions in
130# specified
131# modules.
132#
133# Possible values:
134#
135# * nova.compute.api:nova.notifications.notify_decorator
136# * [...]
137#
138# Related options:
139#
140# * ``monkey_patch``: This must be set to ``True`` for this option to
141# have any effect
142# (list value)
143# This option is deprecated for removal since 17.0.0.
144# Its value may be silently ignored in the future.
145# Reason:
146# Monkey patching nova is not tested, not supported, and is a barrier
147# for interoperability.
148#monkey_patch_modules = nova.compute.api:nova.notifications.notify_decorator
149
150#
151# Defines which driver to use for controlling virtualization.
152#
153# Possible values:
154#
155# * ``libvirt.LibvirtDriver``
156# * ``xenapi.XenAPIDriver``
157# * ``fake.FakeDriver``
158# * ``ironic.IronicDriver``
159# * ``vmwareapi.VMwareVCDriver``
160# * ``hyperv.HyperVDriver``
161# * ``powervm.PowerVMDriver``
162# (string value)
163#compute_driver = <None>
164compute_driver = {{ controller.get('compute_driver', 'libvirt.LibvirtDriver') }}
165
166#
167# Allow destination machine to match source for resize. Useful when
168# testing in single-host environments. By default it is not allowed
169# to resize to the same host. Setting this option to true will add
170# the same host to the destination options. Also set to true
171# if you allow the ServerGroupAffinityFilter and need to resize.
172# (boolean value)
173#allow_resize_to_same_host = false
174allow_resize_to_same_host = true
175
176#
177# Image properties that should not be inherited from the instance
178# when taking a snapshot.
179#
180# This option gives an opportunity to select which image-properties
181# should not be inherited by newly created snapshots.
182#
183# Possible values:
184#
185# * A comma-separated list whose item is an image property. Usually
186# only
187# the image properties that are only needed by base images can be
188# included
189# here, since the snapshots that are created from the base images
190# don't
191# need them.
192# * Default list: cache_in_nova, bittorrent,
193# img_signature_hash_method,
194# img_signature, img_signature_key_type,
195# img_signature_certificate_uuid
196#
197# (list value)
198#non_inheritable_image_properties = cache_in_nova,bittorrent,img_signature_hash_method,img_signature,img_signature_key_type,img_signature_certificate_uuid
199
200# DEPRECATED:
201# When creating multiple instances with a single request using the
202# os-multiple-create API extension, this template will be used to
203# build
204# the display name for each instance. The benefit is that the
205# instances
206# end up with different hostnames. Example display names when creating
207# two VM's: name-1, name-2.
208#
209# Possible values:
210#
211# * Valid keys for the template are: name, uuid, count.
212# (string value)
213# This option is deprecated for removal since 15.0.0.
214# Its value may be silently ignored in the future.
215# Reason:
216# This config changes API behaviour. All changes in API behaviour
217# should be
218# discoverable.
219#multi_instance_display_name_template = %(name)s-%(count)d
220
221#
222# Maximum number of devices that will result in a local image being
223# created on the hypervisor node.
224#
225# A negative number means unlimited. Setting max_local_block_devices
226# to 0 means that any request that attempts to create a local disk
227# will fail. This option is meant to limit the number of local discs
228# (so root local disc that is the result of --image being used, and
229# any other ephemeral and swap disks). 0 does not mean that images
230# will be automatically converted to volumes and boot instances from
231# volumes - it just means that all requests that attempt to create a
232# local disk will fail.
233#
234# Possible values:
235#
236# * 0: Creating a local disk is not allowed.
237# * Negative number: Allows unlimited number of local discs.
238# * Positive number: Allows only these many number of local discs.
239# (Default value is 3).
240# (integer value)
241#max_local_block_devices = 3
242
243#
244# A comma-separated list of monitors that can be used for getting
245# compute metrics. You can use the alias/name from the setuptools
246# entry points for nova.compute.monitors.* namespaces. If no
247# namespace is supplied, the "cpu." namespace is assumed for
248# backwards-compatibility.
249#
250# NOTE: Only one monitor per namespace (For example: cpu) can be
251# loaded at
252# a time.
253#
254# Possible values:
255#
256# * An empty list will disable the feature (Default).
257# * An example value that would enable both the CPU and NUMA memory
258# bandwidth monitors that use the virt driver variant:
259#
260# compute_monitors = cpu.virt_driver, numa_mem_bw.virt_driver
261# (list value)
262#compute_monitors =
263
264#
265# The default format an ephemeral_volume will be formatted with on
266# creation.
267#
268# Possible values:
269#
270# * ``ext2``
271# * ``ext3``
272# * ``ext4``
273# * ``xfs``
274# * ``ntfs`` (only for Windows guests)
275# (string value)
276#default_ephemeral_format = <None>
277
278#
279# Determine if instance should boot or fail on VIF plugging timeout.
280#
281# Nova sends a port update to Neutron after an instance has been
282# scheduled,
283# providing Neutron with the necessary information to finish setup of
284# the port.
285# Once completed, Neutron notifies Nova that it has finished setting
286# up the
287# port, at which point Nova resumes the boot of the instance since
288# network
289# connectivity is now supposed to be present. A timeout will occur if
290# the reply
291# is not received after a given interval.
292#
293# This option determines what Nova does when the VIF plugging timeout
294# event
295# happens. When enabled, the instance will error out. When disabled,
296# the
297# instance will continue to boot on the assumption that the port is
298# ready.
299#
300# Possible values:
301#
302# * True: Instances should fail after VIF plugging timeout
303# * False: Instances should continue booting after VIF plugging
304# timeout
305# (boolean value)
306vif_plugging_is_fatal = {{ controller.get('vif_plugging_is_fatal', 'true') }}
307
308#
309# Timeout for Neutron VIF plugging event message arrival.
310#
311# Number of seconds to wait for Neutron vif plugging events to
312# arrive before continuing or failing (see 'vif_plugging_is_fatal').
313#
314# Related options:
315#
316# * vif_plugging_is_fatal - If ``vif_plugging_timeout`` is set to zero
317# and
318# ``vif_plugging_is_fatal`` is False, events should not be expected
319# to
320# arrive at all.
321# (integer value)
322# Minimum value: 0
323vif_plugging_timeout = {{ controller.get('vif_plugging_timeout', '300') }}
324
325# Path to '/etc/network/interfaces' template.
326#
327# The path to a template file for the '/etc/network/interfaces'-style
328# file, which
329# will be populated by nova and subsequently used by cloudinit. This
330# provides a
331# method to configure network connectivity in environments without a
332# DHCP server.
333#
334# The template will be rendered using Jinja2 template engine, and
335# receive a
336# top-level key called ``interfaces``. This key will contain a list of
337# dictionaries, one for each interface.
338#
339# Refer to the cloudinit documentaion for more information:
340#
341# https://cloudinit.readthedocs.io/en/latest/topics/datasources.html
342#
343# Possible values:
344#
345# * A path to a Jinja2-formatted template for a Debian
346# '/etc/network/interfaces'
347# file. This applies even if using a non Debian-derived guest.
348#
349# Related options:
350#
351# * ``flat_inject``: This must be set to ``True`` to ensure nova
352# embeds network
353# configuration information in the metadata provided through the
354# config drive.
355# (string value)
356#injected_network_template = $pybasedir/nova/virt/interfaces.template
357
358#
359# The image preallocation mode to use.
360#
361# Image preallocation allows storage for instance images to be
362# allocated up front
363# when the instance is initially provisioned. This ensures immediate
364# feedback is
365# given if enough space isn't available. In addition, it should
366# significantly
367# improve performance on writes to new blocks and may even improve I/O
368# performance to prewritten blocks due to reduced fragmentation.
369#
370# Possible values:
371#
372# * "none" => no storage provisioning is done up front
373# * "space" => storage is fully allocated at instance start
374# (string value)
375# Possible values:
376# none - <No description provided>
377# space - <No description provided>
378#preallocate_images = none
379
380#
381# Enable use of copy-on-write (cow) images.
382#
383# QEMU/KVM allow the use of qcow2 as backing files. By disabling this,
384# backing files will not be used.
385# (boolean value)
386#use_cow_images = true
387
388#
389# Force conversion of backing images to raw format.
390#
391# Possible values:
392#
393# * True: Backing image files will be converted to raw image format
394# * False: Backing image files will not be converted
395#
396# Related options:
397#
398# * ``compute_driver``: Only the libvirt driver uses this option.
399# (boolean value)
400#force_raw_images = true
401
402#
403# Name of the mkfs commands for ephemeral device.
404#
405# The format is <os_type>=<mkfs command>
406# (multi valued)
407#virt_mkfs =
408
409#
410# Enable resizing of filesystems via a block device.
411#
412# If enabled, attempt to resize the filesystem by accessing the image
413# over a
414# block device. This is done by the host and may not be necessary if
415# the image
416# contains a recent version of cloud-init. Possible mechanisms require
417# the nbd
418# driver (for qcow and raw), or loop (for raw).
419# (boolean value)
420#resize_fs_using_block_device = false
421
422# Amount of time, in seconds, to wait for NBD device start up.
423# (integer value)
424# Minimum value: 0
425#timeout_nbd = 10
426
427#
428# Location of cached images.
429#
430# This is NOT the full path - just a folder name relative to
431# '$instances_path'.
432# For per-compute-host cached images, set to '_base_$my_ip'
433# (string value)
434#image_cache_subdirectory_name = _base
435
436# Should unused base images be removed? (boolean value)
437#remove_unused_base_images = true
438
439#
440# Unused unresized base images younger than this will not be removed.
441# (integer value)
442remove_unused_original_minimum_age_seconds = 86400
443
444#
445# Generic property to specify the pointer type.
446#
447# Input devices allow interaction with a graphical framebuffer. For
448# example to provide a graphic tablet for absolute cursor movement.
449#
450# If set, the 'hw_pointer_model' image property takes precedence over
451# this configuration option.
452#
453# Possible values:
454#
455# * None: Uses default behavior provided by drivers (mouse on PS2 for
456# libvirt x86)
457# * ps2mouse: Uses relative movement. Mouse connected by PS2
458# * usbtablet: Uses absolute movement. Tablet connect by USB
459#
460# Related options:
461#
462# * usbtablet must be configured with VNC enabled or SPICE enabled and
463# SPICE
464# agent disabled. When used with libvirt the instance mode should be
465# configured as HVM.
466# (string value)
467# Possible values:
468# <None> - <No description provided>
469# ps2mouse - <No description provided>
470# usbtablet - <No description provided>
471#pointer_model = usbtablet
472
473#
474# Defines which physical CPUs (pCPUs) can be used by instance
475# virtual CPUs (vCPUs).
476#
477# Possible values:
478#
479# * A comma-separated list of physical CPU numbers that virtual CPUs
480# can be
481# allocated to by default. Each element should be either a single
482# CPU number,
483# a range of CPU numbers, or a caret followed by a CPU number to be
484# excluded from a previous range. For example:
485#
486# vcpu_pin_set = "4-12,^8,15"
487# (string value)
488#vcpu_pin_set = <None>
489
490#
491# Number of huge/large memory pages to reserved per NUMA host cell.
492#
493# Possible values:
494#
495# * A list of valid key=value which reflect NUMA node ID, page size
496# (Default unit is KiB) and number of pages to be reserved.
497#
498# reserved_huge_pages = node:0,size:2048,count:64
499# reserved_huge_pages = node:1,size:1GB,count:1
500#
501# In this example we are reserving on NUMA node 0 64 pages of 2MiB
502# and on NUMA node 1 1 page of 1GiB.
503# (dict value)
504#reserved_huge_pages = <None>
505
506#
507# Amount of disk resources in MB to make them always available to
508# host. The
509# disk usage gets reported back to the scheduler from nova-compute
510# running
511# on the compute nodes. To prevent the disk resources from being
512# considered
513# as available, this option can be used to reserve disk space for that
514# host.
515#
516# Possible values:
517#
518# * Any positive integer representing amount of disk in MB to reserve
519# for the host.
520# (integer value)
521# Minimum value: 0
522#reserved_host_disk_mb = 0
523
524#
525# Amount of memory in MB to reserve for the host so that it is always
526# available
527# to host processes. The host resources usage is reported back to the
528# scheduler
529# continuously from nova-compute running on the compute node. To
530# prevent the host
531# memory from being considered as available, this option is used to
532# reserve
533# memory for the host.
534#
535# Possible values:
536#
537# * Any positive integer representing amount of memory in MB to
538# reserve
539# for the host.
540# (integer value)
541# Minimum value: 0
542#reserved_host_memory_mb = 512
543
544#
545# Number of physical CPUs to reserve for the host. The host resources
546# usage is
547# reported back to the scheduler continuously from nova-compute
548# running on the
549# compute node. To prevent the host CPU from being considered as
550# available,
551# this option is used to reserve random pCPU(s) for the host.
552#
553# Possible values:
554#
555# * Any positive integer representing number of physical CPUs to
556# reserve
557# for the host.
558# (integer value)
559# Minimum value: 0
560#reserved_host_cpus = 0
561
562#
563# This option helps you specify virtual CPU to physical CPU allocation
564# ratio.
565#
566# From Ocata (15.0.0) this is used to influence the hosts selected by
567# the Placement API. Note that when Placement is used, the CoreFilter
568# is redundant, because the Placement API will have already filtered
569# out hosts that would have failed the CoreFilter.
570#
571# This configuration specifies ratio for CoreFilter which can be set
572# per compute node. For AggregateCoreFilter, it will fall back to this
573# configuration value if no per-aggregate setting is found.
574#
575# NOTE: This can be set per-compute, or if set to 0.0, the value
576# set on the scheduler node(s) or compute node(s) will be used
577# and defaulted to 16.0.
578#
579# NOTE: As of the 16.0.0 Pike release, this configuration option is
580# ignored
581# for the ironic.IronicDriver compute driver and is hardcoded to 1.0.
582#
583# Possible values:
584#
585# * Any valid positive integer or float value
586# (floating point value)
587# Minimum value: 0
588#cpu_allocation_ratio = 0.0
589{%- if controller.cpu_allocation_ratio is defined %}
590cpu_allocation_ratio = {{ controller.cpu_allocation_ratio }}
591{%- else %}
592#cpu_allocation_ratio=0.0
593{%- endif %}
594
595#
596# This option helps you specify virtual RAM to physical RAM
597# allocation ratio.
598#
599# From Ocata (15.0.0) this is used to influence the hosts selected by
600# the Placement API. Note that when Placement is used, the RamFilter
601# is redundant, because the Placement API will have already filtered
602# out hosts that would have failed the RamFilter.
603#
604# This configuration specifies ratio for RamFilter which can be set
605# per compute node. For AggregateRamFilter, it will fall back to this
606# configuration value if no per-aggregate setting found.
607#
608# NOTE: This can be set per-compute, or if set to 0.0, the value
609# set on the scheduler node(s) or compute node(s) will be used and
610# defaulted to 1.5.
611#
612# NOTE: As of the 16.0.0 Pike release, this configuration option is
613# ignored
614# for the ironic.IronicDriver compute driver and is hardcoded to 1.0.
615#
616# Possible values:
617#
618# * Any valid positive integer or float value
619# (floating point value)
620# Minimum value: 0
621#ram_allocation_ratio = 0.0
622{%- if controller.ram_allocation_ratio is defined %}
623ram_allocation_ratio = {{ controller.ram_allocation_ratio }}
624{%- else %}
625#ram_allocation_ratio=0.0
626{%- endif %}
627
628#
629# This option helps you specify virtual disk to physical disk
630# allocation ratio.
631#
632# From Ocata (15.0.0) this is used to influence the hosts selected by
633# the Placement API. Note that when Placement is used, the DiskFilter
634# is redundant, because the Placement API will have already filtered
635# out hosts that would have failed the DiskFilter.
636#
637# A ratio greater than 1.0 will result in over-subscription of the
638# available physical disk, which can be useful for more
639# efficiently packing instances created with images that do not
640# use the entire virtual disk, such as sparse or compressed
641# images. It can be set to a value between 0.0 and 1.0 in order
642# to preserve a percentage of the disk for uses other than
643# instances.
644#
645# NOTE: This can be set per-compute, or if set to 0.0, the value
646# set on the scheduler node(s) or compute node(s) will be used and
647# defaulted to 1.0.
648#
649# NOTE: As of the 16.0.0 Pike release, this configuration option is
650# ignored
651# for the ironic.IronicDriver compute driver and is hardcoded to 1.0.
652#
653# Possible values:
654#
655# * Any valid positive integer or float value
656# (floating point value)
657# Minimum value: 0
658#disk_allocation_ratio = 0.0
659
660#
661# Console proxy host to be used to connect to instances on this host.
662# It is the
663# publicly visible name for the console host.
664#
665# Possible values:
666#
667# * Current hostname (default) or any string representing hostname.
668# (string value)
669#console_host = <current_hostname>
670
671#
672# Name of the network to be used to set access IPs for instances. If
673# there are
674# multiple IPs to choose from, an arbitrary one will be chosen.
675#
676# Possible values:
677#
678# * None (default)
679# * Any string representing network name.
680# (string value)
681#default_access_ip_network_name = <None>
682
683#
684# Whether to batch up the application of IPTables rules during a host
685# restart
686# and apply all at the end of the init phase.
687# (boolean value)
688#defer_iptables_apply = false
689
690#
691# Specifies where instances are stored on the hypervisor's disk.
692# It can point to locally attached storage or a directory on NFS.
693#
694# Possible values:
695#
696# * $state_path/instances where state_path is a config option that
697# specifies
698# the top-level directory for maintaining nova's state. (default) or
699# Any string representing directory path.
700# (string value)
701#instances_path =
702
703#
704# This option enables periodic compute.instance.exists notifications.
705# Each
706# compute node must be configured to generate system usage data. These
707# notifications are consumed by OpenStack Telemetry service.
708# (boolean value)
709#instance_usage_audit = false
710{% if controller.instance_usage_audit is defined %}
711instance_usage_audit = {{ controller.instance_usage_audit }}
712{%- endif %}
713
714#
715# Maximum number of 1 second retries in live_migration. It specifies
716# number
717# of retries to iptables when it complains. It happens when an user
718# continuously
719# sends live-migration request to same host leading to concurrent
720# request
721# to iptables.
722#
723# Possible values:
724#
725# * Any positive integer representing retry count.
726# (integer value)
727# Minimum value: 0
728#live_migration_retry_count = 30
729
730#
731# This option specifies whether to start guests that were running
732# before the
733# host rebooted. It ensures that all of the instances on a Nova
734# compute node
735# resume their state each time the compute node boots or restarts.
736# (boolean value)
737#resume_guests_state_on_host_boot = {{ controller.get('resume_guests_state_on_host_boot', True) }}
738
739#
740# Number of times to retry network allocation. It is required to
741# attempt network
742# allocation retries if the virtual interface plug fails.
743#
744# Possible values:
745#
746# * Any positive integer representing retry count.
747# (integer value)
748# Minimum value: 0
749#network_allocate_retries = 0
750
751#
752# Limits the maximum number of instance builds to run concurrently by
753# nova-compute. Compute service can attempt to build an infinite
754# number of
755# instances, if asked to do so. This limit is enforced to avoid
756# building
757# unlimited instance concurrently on a compute node. This value can be
758# set
759# per compute node.
760#
761# Possible Values:
762#
763# * 0 : treated as unlimited.
764# * Any positive integer representing maximum concurrent builds.
765# (integer value)
766# Minimum value: 0
767#max_concurrent_builds = 10
768
769#
770# Maximum number of live migrations to run concurrently. This limit is
771# enforced
772# to avoid outbound live migrations overwhelming the host/network and
773# causing
774# failures. It is not recommended that you change this unless you are
775# very sure
776# that doing so is safe and stable in your environment.
777#
778# Possible values:
779#
780# * 0 : treated as unlimited.
781# * Negative value defaults to 0.
782# * Any positive integer representing maximum number of live
783# migrations
784# to run concurrently.
785# (integer value)
786#max_concurrent_live_migrations = 1
787
788#
789# Number of times to retry block device allocation on failures.
790# Starting with
791# Liberty, Cinder can use image volume cache. This may help with block
792# device
793# allocation performance. Look at the cinder
794# image_volume_cache_enabled
795# configuration option.
796#
797# Possible values:
798#
799# * 60 (default)
800# * If value is 0, then one attempt is made.
801# * Any negative value is treated as 0.
802# * For any value > 0, total attempts are (value + 1)
803# (integer value)
804block_device_allocate_retries = {{ controller.get('block_device_allocate_retries', '600') }}
805
806#
807# Number of greenthreads available for use to sync power states.
808#
809# This option can be used to reduce the number of concurrent requests
810# made to the hypervisor or system with real instance power states
811# for performance reasons, for example, with Ironic.
812#
813# Possible values:
814#
815# * Any positive integer representing greenthreads count.
816# (integer value)
817#sync_power_state_pool_size = 1000
818
819#
820# Number of seconds to wait between runs of the image cache manager.
821#
822# Possible values:
823# * 0: run at the default rate.
824# * -1: disable
825# * Any other value
826# (integer value)
827# Minimum value: -1
828# image_cache_manager_interval = 0
829
830#
831# Interval to pull network bandwidth usage info.
832#
833# Not supported on all hypervisors. If a hypervisor doesn't support
834# bandwidth
835# usage, it will not get the info in the usage events.
836#
837# Possible values:
838#
839# * 0: Will run at the default periodic interval.
840# * Any value < 0: Disables the option.
841# * Any positive integer in seconds.
842# (integer value)
843#bandwidth_poll_interval = 600
844
845#
846# Interval to sync power states between the database and the
847# hypervisor.
848#
849# The interval that Nova checks the actual virtual machine power state
850# and the power state that Nova has in its database. If a user powers
851# down their VM, Nova updates the API to report the VM has been
852# powered down. Should something turn on the VM unexpectedly,
853# Nova will turn the VM back off to keep the system in the expected
854# state.
855#
856# Possible values:
857#
858# * 0: Will run at the default periodic interval.
859# * Any value < 0: Disables the option.
860# * Any positive integer in seconds.
861#
862# Related options:
863#
864# * If ``handle_virt_lifecycle_events`` in workarounds_group is
865# false and this option is negative, then instances that get out
866# of sync between the hypervisor and the Nova database will have
867# to be synchronized manually.
868# (integer value)
869#sync_power_state_interval = 600
870
871#
872# Interval between instance network information cache updates.
873#
874# Number of seconds after which each compute node runs the task of
875# querying Neutron for all of its instances networking information,
876# then updates the Nova db with that information. Nova will never
877# update it's cache if this option is set to 0. If we don't update the
878# cache, the metadata service and nova-api endpoints will be proxying
879# incorrect network data about the instance. So, it is not recommended
880# to set this option to 0.
881#
882# Possible values:
883#
884# * Any positive integer in seconds.
885# * Any value <=0 will disable the sync. This is not recommended.
886# (integer value)
887#heal_instance_info_cache_interval = 60
888
889#
890# Interval for reclaiming deleted instances.
891#
892# A value greater than 0 will enable SOFT_DELETE of instances.
893# This option decides whether the server to be deleted will be put
894# into
895# the SOFT_DELETED state. If this value is greater than 0, the deleted
896# server will not be deleted immediately, instead it will be put into
897# a queue until it's too old (deleted time greater than the value of
898# reclaim_instance_interval). The server can be recovered from the
899# delete queue by using the restore action. If the deleted server
900# remains
901# longer than the value of reclaim_instance_interval, it will be
902# deleted by a periodic task in the compute service automatically.
903#
904# Note that this option is read from both the API and compute nodes,
905# and
906# must be set globally otherwise servers could be put into a soft
907# deleted
908# state in the API and never actually reclaimed (deleted) on the
909# compute
910# node.
911#
912# Possible values:
913#
914# * Any positive integer(in seconds) greater than 0 will enable
915# this option.
916# * Any value <=0 will disable the option.
917# (integer value)
918#reclaim_instance_interval = 0
919
920#
921# Interval for gathering volume usages.
922#
923# This option updates the volume usage cache for every
924# volume_usage_poll_interval number of seconds.
925#
926# Possible values:
927#
928# * Any positive integer(in seconds) greater than 0 will enable
929# this option.
930# * Any value <=0 will disable the option.
931# (integer value)
932#volume_usage_poll_interval = 0
933
934#
935# Interval for polling shelved instances to offload.
936#
937# The periodic task runs for every shelved_poll_interval number
938# of seconds and checks if there are any shelved instances. If it
939# finds a shelved instance, based on the 'shelved_offload_time' config
940# value it offloads the shelved instances. Check
941# 'shelved_offload_time'
942# config option description for details.
943#
944# Possible values:
945#
946# * Any value <= 0: Disables the option.
947# * Any positive integer in seconds.
948#
949# Related options:
950#
951# * ``shelved_offload_time``
952# (integer value)
953#shelved_poll_interval = 3600
954
955#
956# Time before a shelved instance is eligible for removal from a host.
957#
958# By default this option is set to 0 and the shelved instance will be
959# removed from the hypervisor immediately after shelve operation.
960# Otherwise, the instance will be kept for the value of
961# shelved_offload_time(in seconds) so that during the time period the
962# unshelve action will be faster, then the periodic task will remove
963# the instance from hypervisor after shelved_offload_time passes.
964#
965# Possible values:
966#
967# * 0: Instance will be immediately offloaded after being
968# shelved.
969# * Any value < 0: An instance will never offload.
970# * Any positive integer in seconds: The instance will exist for
971# the specified number of seconds before being offloaded.
972# (integer value)
973#shelved_offload_time = 0
974
975#
976# Interval for retrying failed instance file deletes.
977#
978# This option depends on 'maximum_instance_delete_attempts'.
979# This option specifies how often to retry deletes whereas
980# 'maximum_instance_delete_attempts' specifies the maximum number
981# of retry attempts that can be made.
982#
983# Possible values:
984#
985# * 0: Will run at the default periodic interval.
986# * Any value < 0: Disables the option.
987# * Any positive integer in seconds.
988#
989# Related options:
990#
991# * ``maximum_instance_delete_attempts`` from instance_cleaning_opts
992# group.
993# (integer value)
994#instance_delete_interval = 300
995
996#
997# Interval (in seconds) between block device allocation retries on
998# failures.
999#
1000# This option allows the user to specify the time interval between
1001# consecutive retries. 'block_device_allocate_retries' option
1002# specifies
1003# the maximum number of retries.
1004#
1005# Possible values:
1006#
1007# * 0: Disables the option.
1008# * Any positive integer in seconds enables the option.
1009#
1010# Related options:
1011#
1012# * ``block_device_allocate_retries`` in compute_manager_opts group.
1013# (integer value)
1014# Minimum value: 0
1015block_device_allocate_retries_interval = {{ controller.get('block_device_allocate_retries_interval', '10') }}
1016
1017#
1018# Interval between sending the scheduler a list of current instance
1019# UUIDs to
1020# verify that its view of instances is in sync with nova.
1021#
1022# If the CONF option 'scheduler_tracks_instance_changes' is
1023# False, the sync calls will not be made. So, changing this option
1024# will
1025# have no effect.
1026#
1027# If the out of sync situations are not very common, this interval
1028# can be increased to lower the number of RPC messages being sent.
1029# Likewise, if sync issues turn out to be a problem, the interval
1030# can be lowered to check more frequently.
1031#
1032# Possible values:
1033#
1034# * 0: Will run at the default periodic interval.
1035# * Any value < 0: Disables the option.
1036# * Any positive integer in seconds.
1037#
1038# Related options:
1039#
1040# * This option has no impact if ``scheduler_tracks_instance_changes``
1041# is set to False.
1042# (integer value)
1043#scheduler_instance_sync_interval = 120
1044
1045#
1046# Interval for updating compute resources.
1047#
1048# This option specifies how often the update_available_resources
1049# periodic task should run. A number less than 0 means to disable the
1050# task completely. Leaving this at the default of 0 will cause this to
1051# run at the default periodic interval. Setting it to any positive
1052# value will cause it to run at approximately that number of seconds.
1053#
1054# Possible values:
1055#
1056# * 0: Will run at the default periodic interval.
1057# * Any value < 0: Disables the option.
1058# * Any positive integer in seconds.
1059# (integer value)
1060#update_resources_interval = 0
1061
1062#
1063# Time interval after which an instance is hard rebooted
1064# automatically.
1065#
1066# When doing a soft reboot, it is possible that a guest kernel is
1067# completely hung in a way that causes the soft reboot task
1068# to not ever finish. Setting this option to a time period in seconds
1069# will automatically hard reboot an instance if it has been stuck
1070# in a rebooting state longer than N seconds.
1071#
1072# Possible values:
1073#
1074# * 0: Disables the option (default).
1075# * Any positive integer in seconds: Enables the option.
1076# (integer value)
1077# Minimum value: 0
1078#reboot_timeout = 0
1079
1080#
1081# Maximum time in seconds that an instance can take to build.
1082#
1083# If this timer expires, instance status will be changed to ERROR.
1084# Enabling this option will make sure an instance will not be stuck
1085# in BUILD state for a longer period.
1086#
1087# Possible values:
1088#
1089# * 0: Disables the option (default)
1090# * Any positive integer in seconds: Enables the option.
1091# (integer value)
1092# Minimum value: 0
1093#instance_build_timeout = 0
1094
1095#
1096# Interval to wait before un-rescuing an instance stuck in RESCUE.
1097#
1098# Possible values:
1099#
1100# * 0: Disables the option (default)
1101# * Any positive integer in seconds: Enables the option.
1102# (integer value)
1103# Minimum value: 0
1104#rescue_timeout = 0
1105
1106#
1107# Automatically confirm resizes after N seconds.
1108#
1109# Resize functionality will save the existing server before resizing.
1110# After the resize completes, user is requested to confirm the resize.
1111# The user has the opportunity to either confirm or revert all
1112# changes. Confirm resize removes the original server and changes
1113# server status from resized to active. Setting this option to a time
1114# period (in seconds) will automatically confirm the resize if the
1115# server is in resized state longer than that time.
1116#
1117# Possible values:
1118#
1119# * 0: Disables the option (default)
1120# * Any positive integer in seconds: Enables the option.
1121# (integer value)
1122# Minimum value: 0
1123#resize_confirm_window = 0
1124
1125#
1126# Total time to wait in seconds for an instance toperform a clean
1127# shutdown.
1128#
1129# It determines the overall period (in seconds) a VM is allowed to
1130# perform a clean shutdown. While performing stop, rescue and shelve,
1131# rebuild operations, configuring this option gives the VM a chance
1132# to perform a controlled shutdown before the instance is powered off.
1133# The default timeout is 60 seconds.
1134#
1135# The timeout value can be overridden on a per image basis by means
1136# of os_shutdown_timeout that is an image metadata setting allowing
1137# different types of operating systems to specify how much time they
1138# need to shut down cleanly.
1139#
1140# Possible values:
1141#
1142# * Any positive integer in seconds (default value is 60).
1143# (integer value)
1144# Minimum value: 1
1145#shutdown_timeout = 60
1146
1147#
1148# The compute service periodically checks for instances that have been
1149# deleted in the database but remain running on the compute node. The
1150# above option enables action to be taken when such instances are
1151# identified.
1152#
1153# Possible values:
1154#
1155# * reap: Powers down the instances and deletes them(default)
1156# * log: Logs warning message about deletion of the resource
1157# * shutdown: Powers down instances and marks them as non-
1158# bootable which can be later used for debugging/analysis
1159# * noop: Takes no action
1160#
1161# Related options:
1162#
1163# * running_deleted_instance_poll_interval
1164# * running_deleted_instance_timeout
1165# (string value)
1166# Possible values:
1167# noop - <No description provided>
1168# log - <No description provided>
1169# shutdown - <No description provided>
1170# reap - <No description provided>
1171#running_deleted_instance_action = reap
1172
1173#
1174# Time interval in seconds to wait between runs for the clean up
1175# action.
1176# If set to 0, above check will be disabled. If
1177# "running_deleted_instance
1178# _action" is set to "log" or "reap", a value greater than 0 must be
1179# set.
1180#
1181# Possible values:
1182#
1183# * Any positive integer in seconds enables the option.
1184# * 0: Disables the option.
1185# * 1800: Default value.
1186#
1187# Related options:
1188#
1189# * running_deleted_instance_action
1190# (integer value)
1191#running_deleted_instance_poll_interval = 1800
1192
1193#
1194# Time interval in seconds to wait for the instances that have
1195# been marked as deleted in database to be eligible for cleanup.
1196#
1197# Possible values:
1198#
1199# * Any positive integer in seconds(default is 0).
1200#
1201# Related options:
1202#
1203# * "running_deleted_instance_action"
1204# (integer value)
1205#running_deleted_instance_timeout = 0
1206
1207#
1208# The number of times to attempt to reap an instance's files.
1209#
1210# This option specifies the maximum number of retry attempts
1211# that can be made.
1212#
1213# Possible values:
1214#
1215# * Any positive integer defines how many attempts are made.
1216# * Any value <=0 means no delete attempts occur, but you should use
1217# ``instance_delete_interval`` to disable the delete attempts.
1218#
1219# Related options:
1220# * ``instance_delete_interval`` in interval_opts group can be used to
1221# disable
1222# this option.
1223# (integer value)
1224#maximum_instance_delete_attempts = 5
1225
1226#
1227# Sets the scope of the check for unique instance names.
1228#
1229# The default doesn't check for unique names. If a scope for the name
1230# check is
1231# set, a launch of a new instance or an update of an existing instance
1232# with a
1233# duplicate name will result in an ''InstanceExists'' error. The
1234# uniqueness is
1235# case-insensitive. Setting this option can increase the usability for
1236# end
1237# users as they don't have to distinguish among instances with the
1238# same name
1239# by their IDs.
1240#
1241# Possible values:
1242#
1243# * '': An empty value means that no uniqueness check is done and
1244# duplicate
1245# names are possible.
1246# * "project": The instance name check is done only for instances
1247# within the
1248# same project.
1249# * "global": The instance name check is done for all instances
1250# regardless of
1251# the project.
1252# (string value)
1253# Possible values:
1254# '' - <No description provided>
1255# project - <No description provided>
1256# global - <No description provided>
1257#osapi_compute_unique_server_name_scope =
1258
1259#
1260# Enable new nova-compute services on this host automatically.
1261#
1262# When a new nova-compute service starts up, it gets
1263# registered in the database as an enabled service. Sometimes it can
1264# be useful
1265# to register new compute services in disabled state and then enabled
1266# them at a
1267# later point in time. This option only sets this behavior for nova-
1268# compute
1269# services, it does not auto-disable other services like nova-
1270# conductor,
1271# nova-scheduler, nova-consoleauth, or nova-osapi_compute.
1272#
1273# Possible values:
1274#
1275# * ``True``: Each new compute service is enabled as soon as it
1276# registers itself.
1277# * ``False``: Compute services must be enabled via an os-services
1278# REST API call
1279# or with the CLI with ``nova service-enable <hostname> <binary>``,
1280# otherwise
1281# they are not ready to use.
1282# (boolean value)
1283#enable_new_services = true
1284
1285#
1286# Template string to be used to generate instance names.
1287#
1288# This template controls the creation of the database name of an
1289# instance. This
1290# is *not* the display name you enter when creating an instance (via
1291# Horizon
1292# or CLI). For a new deployment it is advisable to change the default
1293# value
1294# (which uses the database autoincrement) to another value which makes
1295# use
1296# of the attributes of an instance, like ``instance-%(uuid)s``. If you
1297# already have instances in your deployment when you change this, your
1298# deployment will break.
1299#
1300# Possible values:
1301#
1302# * A string which either uses the instance database ID (like the
1303# default)
1304# * A string with a list of named database columns, for example
1305# ``%(id)d``
1306# or ``%(uuid)s`` or ``%(hostname)s``.
1307#
1308# Related options:
1309#
1310# * not to be confused with: ``multi_instance_display_name_template``
1311# (string value)
1312#instance_name_template = instance-%08x
1313
1314#
1315# Number of times to retry live-migration before failing.
1316#
1317# Possible values:
1318#
1319# * If == -1, try until out of hosts (default)
1320# * If == 0, only try once, no retries
1321# * Integer greater than 0
1322# (integer value)
1323# Minimum value: -1
1324#migrate_max_retries = -1
1325
1326#
1327# Configuration drive format
1328#
1329# Configuration drive format that will contain metadata attached to
1330# the
1331# instance when it boots.
1332#
1333# Possible values:
1334#
1335# * iso9660: A file system image standard that is widely supported
1336# across
1337# operating systems. NOTE: Mind the libvirt bug
1338# (https://bugs.launchpad.net/nova/+bug/1246201) - If your
1339# hypervisor
1340# driver is libvirt, and you want live migrate to work without
1341# shared storage,
1342# then use VFAT.
1343# * vfat: For legacy reasons, you can configure the configuration
1344# drive to
1345# use VFAT format instead of ISO 9660.
1346#
1347# Related options:
1348#
1349# * This option is meaningful when one of the following alternatives
1350# occur:
1351# 1. force_config_drive option set to 'true'
1352# 2. the REST API call to create the instance contains an enable
1353# flag for
1354# config drive option
1355# 3. the image used to create the instance requires a config drive,
1356# this is defined by img_config_drive property for that image.
1357# * A compute node running Hyper-V hypervisor can be configured to
1358# attach
1359# configuration drive as a CD drive. To attach the configuration
1360# drive as a CD
1361# drive, set config_drive_cdrom option at hyperv section, to true.
1362# (string value)
1363# Possible values:
1364# iso9660 - <No description provided>
1365# vfat - <No description provided>
1366#config_drive_format = iso9660
1367
1368#
1369# Force injection to take place on a config drive
1370#
1371# When this option is set to true configuration drive functionality
1372# will be
1373# forced enabled by default, otherwise user can still enable
1374# configuration
1375# drives via the REST API or image metadata properties.
1376#
1377# Possible values:
1378#
1379# * True: Force to use of configuration drive regardless the user's
1380# input in the
1381# REST API call.
1382# * False: Do not force use of configuration drive. Config drives can
1383# still be
1384# enabled via the REST API or image metadata properties.
1385#
1386# Related options:
1387#
1388# * Use the 'mkisofs_cmd' flag to set the path where you install the
1389# genisoimage program. If genisoimage is in same path as the
1390# nova-compute service, you do not need to set this flag.
1391# * To use configuration drive with Hyper-V, you must set the
1392# 'mkisofs_cmd' value to the full path to an mkisofs.exe
1393# installation.
1394# Additionally, you must set the qemu_img_cmd value in the hyperv
1395# configuration section to the full path to an qemu-img command
1396# installation.
1397# (boolean value)
1398#force_config_drive = false
1399
1400#
1401# Name or path of the tool used for ISO image creation
1402#
1403# Use the mkisofs_cmd flag to set the path where you install the
1404# genisoimage
1405# program. If genisoimage is on the system path, you do not need to
1406# change
1407# the default value.
1408#
1409# To use configuration drive with Hyper-V, you must set the
1410# mkisofs_cmd value
1411# to the full path to an mkisofs.exe installation. Additionally, you
1412# must set
1413# the qemu_img_cmd value in the hyperv configuration section to the
1414# full path
1415# to an qemu-img command installation.
1416#
1417# Possible values:
1418#
1419# * Name of the ISO image creator program, in case it is in the same
1420# directory
1421# as the nova-compute service
1422# * Path to ISO image creator program
1423#
1424# Related options:
1425#
1426# * This option is meaningful when config drives are enabled.
1427# * To use configuration drive with Hyper-V, you must set the
1428# qemu_img_cmd
1429# value in the hyperv configuration section to the full path to an
1430# qemu-img
1431# command installation.
1432# (string value)
1433#mkisofs_cmd = genisoimage
1434
1435# DEPRECATED: The driver to use for database access (string value)
1436# This option is deprecated for removal since 13.0.0.
1437# Its value may be silently ignored in the future.
1438#db_driver = nova.db
1439
1440# DEPRECATED:
1441# Default flavor to use for the EC2 API only.
1442# The Nova API does not support a default flavor.
1443# (string value)
1444# This option is deprecated for removal since 14.0.0.
1445# Its value may be silently ignored in the future.
1446# Reason: The EC2 API is deprecated.
1447#default_flavor = m1.small
1448
1449#
1450# The IP address which the host is using to connect to the management
1451# network.
1452#
1453# Possible values:
1454#
1455# * String with valid IP address. Default is IPv4 address of this
1456# host.
1457#
1458# Related options:
1459#
1460# * metadata_host
1461# * my_block_storage_ip
1462# * routing_source_ip
1463# * vpn_ip
1464# (string value)
1465#my_ip = <host_ipv4>
1466my_ip={{ controller.bind.private_address }}
1467
1468#
1469# The IP address which is used to connect to the block storage
1470# network.
1471#
1472# Possible values:
1473#
1474# * String with valid IP address. Default is IP address of this host.
1475#
1476# Related options:
1477#
1478# * my_ip - if my_block_storage_ip is not set, then my_ip value is
1479# used.
1480# (string value)
1481#my_block_storage_ip = $my_ip
1482
1483#
1484# Hostname, FQDN or IP address of this host.
1485#
1486# Used as:
1487#
1488# * the oslo.messaging queue name for nova-compute worker
1489# * we use this value for the binding_host sent to neutron. This means
1490# if you use
1491# a neutron agent, it should have the same value for host.
1492# * cinder host attachment information
1493#
1494# Must be valid within AMQP key.
1495#
1496# Possible values:
1497#
1498# * String with hostname, FQDN or IP address. Default is hostname of
1499# this host.
1500# (string value)
1501#host = <current_hostname>
1502{%- if controller.host is defined %}
1503host={{ controller.host }}
1504{%- endif %}
1505
1506# DEPRECATED:
1507# This option is a list of full paths to one or more configuration
1508# files for
1509# dhcpbridge. In most cases the default path of '/etc/nova/nova-
1510# dhcpbridge.conf'
1511# should be sufficient, but if you have special needs for configuring
1512# dhcpbridge,
1513# you can change or add to this list.
1514#
1515# Possible values
1516#
1517# * A list of strings, where each string is the full path to a
1518# dhcpbridge
1519# configuration file.
1520# (multi valued)
1521# This option is deprecated for removal since 16.0.0.
1522# Its value may be silently ignored in the future.
1523# Reason:
1524# nova-network is deprecated, as are any related configuration
1525# options.
1526#dhcpbridge_flagfile = /etc/nova/nova.conf
1527
1528# DEPRECATED:
1529# The location where the network configuration files will be kept. The
1530# default is
1531# the 'networks' directory off of the location where nova's Python
1532# module is
1533# installed.
1534#
1535# Possible values
1536#
1537# * A string containing the full path to the desired configuration
1538# directory
1539# (string value)
1540# This option is deprecated for removal since 16.0.0.
1541# Its value may be silently ignored in the future.
1542# Reason:
1543# nova-network is deprecated, as are any related configuration
1544# options.
1545#networks_path = $state_path/networks
1546
1547# DEPRECATED:
1548# This is the name of the network interface for public IP addresses.
1549# The default
1550# is 'eth0'.
1551#
1552# Possible values:
1553#
1554# * Any string representing a network interface name
1555# (string value)
1556# This option is deprecated for removal since 16.0.0.
1557# Its value may be silently ignored in the future.
1558# Reason:
1559# nova-network is deprecated, as are any related configuration
1560# options.
1561#public_interface = eth0
1562
1563# DEPRECATED:
1564# The location of the binary nova-dhcpbridge. By default it is the
1565# binary named
1566# 'nova-dhcpbridge' that is installed with all the other nova
1567# binaries.
1568#
1569# Possible values:
1570#
1571# * Any string representing the full path to the binary for dhcpbridge
1572# (string value)
1573# This option is deprecated for removal since 16.0.0.
1574# Its value may be silently ignored in the future.
1575# Reason:
1576# nova-network is deprecated, as are any related configuration
1577# options.
1578#dhcpbridge = $bindir/nova-dhcpbridge
1579
1580# DEPRECATED:
1581# The public IP address of the network host.
1582#
1583# This is used when creating an SNAT rule.
1584#
1585# Possible values:
1586#
1587# * Any valid IP address
1588#
1589# Related options:
1590#
1591# * ``force_snat_range``
1592# (string value)
1593# This option is deprecated for removal since 16.0.0.
1594# Its value may be silently ignored in the future.
1595# Reason:
1596# nova-network is deprecated, as are any related configuration
1597# options.
1598#routing_source_ip = $my_ip
1599
1600# DEPRECATED:
1601# The lifetime of a DHCP lease, in seconds. The default is 86400 (one
1602# day).
1603#
1604# Possible values:
1605#
1606# * Any positive integer value.
1607# (integer value)
1608# Minimum value: 1
1609# This option is deprecated for removal since 16.0.0.
1610# Its value may be silently ignored in the future.
1611# Reason:
1612# nova-network is deprecated, as are any related configuration
1613# options.
1614#dhcp_lease_time = 86400
1615
1616# DEPRECATED:
1617# Despite the singular form of the name of this option, it is actually
1618# a list of
1619# zero or more server addresses that dnsmasq will use for DNS
1620# nameservers. If
1621# this is not empty, dnsmasq will not read /etc/resolv.conf, but will
1622# only use
1623# the servers specified in this option. If the option
1624# use_network_dns_servers is
1625# True, the dns1 and dns2 servers from the network will be appended to
1626# this list,
1627# and will be used as DNS servers, too.
1628#
1629# Possible values:
1630#
1631# * A list of strings, where each string is either an IP address or a
1632# FQDN.
1633#
1634# Related options:
1635#
1636# * ``use_network_dns_servers``
1637# (multi valued)
1638# This option is deprecated for removal since 16.0.0.
1639# Its value may be silently ignored in the future.
1640# Reason:
1641# nova-network is deprecated, as are any related configuration
1642# options.
1643#dns_server =
1644
1645# DEPRECATED:
1646# When this option is set to True, the dns1 and dns2 servers for the
1647# network
1648# specified by the user on boot will be used for DNS, as well as any
1649# specified in
1650# the `dns_server` option.
1651#
1652# Related options:
1653#
1654# * ``dns_server``
1655# (boolean value)
1656# This option is deprecated for removal since 16.0.0.
1657# Its value may be silently ignored in the future.
1658# Reason:
1659# nova-network is deprecated, as are any related configuration
1660# options.
1661#use_network_dns_servers = false
1662
1663# DEPRECATED:
1664# This option is a list of zero or more IP address ranges in your
1665# network's DMZ
1666# that should be accepted.
1667#
1668# Possible values:
1669#
1670# * A list of strings, each of which should be a valid CIDR.
1671# (list value)
1672# This option is deprecated for removal since 16.0.0.
1673# Its value may be silently ignored in the future.
1674# Reason:
1675# nova-network is deprecated, as are any related configuration
1676# options.
1677#dmz_cidr =
1678
1679# DEPRECATED:
1680# This is a list of zero or more IP ranges that traffic from the
1681# `routing_source_ip` will be SNATted to. If the list is empty, then
1682# no SNAT
1683# rules are created.
1684#
1685# Possible values:
1686#
1687# * A list of strings, each of which should be a valid CIDR.
1688#
1689# Related options:
1690#
1691# * ``routing_source_ip``
1692# (multi valued)
1693# This option is deprecated for removal since 16.0.0.
1694# Its value may be silently ignored in the future.
1695# Reason:
1696# nova-network is deprecated, as are any related configuration
1697# options.
1698#force_snat_range =
1699
1700# DEPRECATED:
1701# The path to the custom dnsmasq configuration file, if any.
1702#
1703# Possible values:
1704#
1705# * The full path to the configuration file, or an empty string if
1706# there is no
1707# custom dnsmasq configuration file.
1708# (string value)
1709# This option is deprecated for removal since 16.0.0.
1710# Its value may be silently ignored in the future.
1711# Reason:
1712# nova-network is deprecated, as are any related configuration
1713# options.
1714#dnsmasq_config_file =
1715
1716# DEPRECATED:
1717# This is the class used as the ethernet device driver for linuxnet
1718# bridge
1719# operations. The default value should be all you need for most cases,
1720# but if you
1721# wish to use a customized class, set this option to the full dot-
1722# separated
1723# import path for that class.
1724#
1725# Possible values:
1726#
1727# * Any string representing a dot-separated class path that Nova can
1728# import.
1729# (string value)
1730# This option is deprecated for removal since 16.0.0.
1731# Its value may be silently ignored in the future.
1732# Reason:
1733# nova-network is deprecated, as are any related configuration
1734# options.
1735#linuxnet_interface_driver = nova.network.linux_net.LinuxBridgeInterfaceDriver
1736
1737# DEPRECATED:
1738# The name of the Open vSwitch bridge that is used with linuxnet when
1739# connecting
1740# with Open vSwitch."
1741#
1742# Possible values:
1743#
1744# * Any string representing a valid bridge name.
1745# (string value)
1746# This option is deprecated for removal since 16.0.0.
1747# Its value may be silently ignored in the future.
1748# Reason:
1749# nova-network is deprecated, as are any related configuration
1750# options.
1751#linuxnet_ovs_integration_bridge = br-int
1752
1753#
1754# When True, when a device starts up, and upon binding floating IP
1755# addresses, arp
1756# messages will be sent to ensure that the arp caches on the compute
1757# hosts are
1758# up-to-date.
1759#
1760# Related options:
1761#
1762# * ``send_arp_for_ha_count``
1763# (boolean value)
1764#send_arp_for_ha = false
1765
1766#
1767# When arp messages are configured to be sent, they will be sent with
1768# the count
1769# set to the value of this option. Of course, if this is set to zero,
1770# no arp
1771# messages will be sent.
1772#
1773# Possible values:
1774#
1775# * Any integer greater than or equal to 0
1776#
1777# Related options:
1778#
1779# * ``send_arp_for_ha``
1780# (integer value)
1781#send_arp_for_ha_count = 3
1782
1783# DEPRECATED:
1784# When set to True, only the firt nic of a VM will get its default
1785# gateway from
1786# the DHCP server.
1787# (boolean value)
1788# This option is deprecated for removal since 16.0.0.
1789# Its value may be silently ignored in the future.
1790# Reason:
1791# nova-network is deprecated, as are any related configuration
1792# options.
1793#use_single_default_gateway = false
1794
1795# DEPRECATED:
1796# One or more interfaces that bridges can forward traffic to. If any
1797# of the items
1798# in this list is the special keyword 'all', then all traffic will be
1799# forwarded.
1800#
1801# Possible values:
1802#
1803# * A list of zero or more interface names, or the word 'all'.
1804# (multi valued)
1805# This option is deprecated for removal since 16.0.0.
1806# Its value may be silently ignored in the future.
1807# Reason:
1808# nova-network is deprecated, as are any related configuration
1809# options.
1810#forward_bridge_interface = all
1811
1812#
1813# This option determines the IP address for the network metadata API
1814# server.
1815#
1816# This is really the client side of the metadata host equation that
1817# allows
1818# nova-network to find the metadata server when doing a default multi
1819# host
1820# networking.
1821#
1822# Possible values:
1823#
1824# * Any valid IP address. The default is the address of the Nova API
1825# server.
1826#
1827# Related options:
1828#
1829# * ``metadata_port``
1830# (string value)
1831#metadata_host = $my_ip
1832
1833# DEPRECATED:
1834# This option determines the port used for the metadata API server.
1835#
1836# Related options:
1837#
1838# * ``metadata_host``
1839# (port value)
1840# Minimum value: 0
1841# Maximum value: 65535
1842# This option is deprecated for removal since 16.0.0.
1843# Its value may be silently ignored in the future.
1844# Reason:
1845# nova-network is deprecated, as are any related configuration
1846# options.
1847#metadata_port = 8775
1848
1849# DEPRECATED:
1850# This expression, if defined, will select any matching iptables rules
1851# and place
1852# them at the top when applying metadata changes to the rules.
1853#
1854# Possible values:
1855#
1856# * Any string representing a valid regular expression, or an empty
1857# string
1858#
1859# Related options:
1860#
1861# * ``iptables_bottom_regex``
1862# (string value)
1863# This option is deprecated for removal since 16.0.0.
1864# Its value may be silently ignored in the future.
1865# Reason:
1866# nova-network is deprecated, as are any related configuration
1867# options.
1868#iptables_top_regex =
1869
1870# DEPRECATED:
1871# This expression, if defined, will select any matching iptables rules
1872# and place
1873# them at the bottom when applying metadata changes to the rules.
1874#
1875# Possible values:
1876#
1877# * Any string representing a valid regular expression, or an empty
1878# string
1879#
1880# Related options:
1881#
1882# * iptables_top_regex
1883# (string value)
1884# This option is deprecated for removal since 16.0.0.
1885# Its value may be silently ignored in the future.
1886# Reason:
1887# nova-network is deprecated, as are any related configuration
1888# options.
1889#iptables_bottom_regex =
1890
1891# DEPRECATED:
1892# By default, packets that do not pass the firewall are DROPped. In
1893# many cases,
1894# though, an operator may find it more useful to change this from DROP
1895# to REJECT,
1896# so that the user issuing those packets may have a better idea as to
1897# what's
1898# going on, or LOGDROP in order to record the blocked traffic before
1899# DROPping.
1900#
1901# Possible values:
1902#
1903# * A string representing an iptables chain. The default is DROP.
1904# (string value)
1905# This option is deprecated for removal since 16.0.0.
1906# Its value may be silently ignored in the future.
1907# Reason:
1908# nova-network is deprecated, as are any related configuration
1909# options.
1910#iptables_drop_action = DROP
1911
1912# DEPRECATED:
1913# This option represents the period of time, in seconds, that the
1914# ovs_vsctl calls
1915# will wait for a response from the database before timing out. A
1916# setting of 0
1917# means that the utility should wait forever for a response.
1918#
1919# Possible values:
1920#
1921# * Any positive integer if a limited timeout is desired, or zero if
1922# the calls
1923# should wait forever for a response.
1924# (integer value)
1925# Minimum value: 0
1926# This option is deprecated for removal since 16.0.0.
1927# Its value may be silently ignored in the future.
1928# Reason:
1929# nova-network is deprecated, as are any related configuration
1930# options.
1931#ovs_vsctl_timeout = 120
1932
1933# DEPRECATED:
1934# This option is used mainly in testing to avoid calls to the
1935# underlying network
1936# utilities.
1937# (boolean value)
1938# This option is deprecated for removal since 16.0.0.
1939# Its value may be silently ignored in the future.
1940# Reason:
1941# nova-network is deprecated, as are any related configuration
1942# options.
1943#fake_network = false
1944
1945# DEPRECATED:
1946# This option determines the number of times to retry ebtables
1947# commands before
1948# giving up. The minimum number of retries is 1.
1949#
1950# Possible values:
1951#
1952# * Any positive integer
1953#
1954# Related options:
1955#
1956# * ``ebtables_retry_interval``
1957# (integer value)
1958# Minimum value: 1
1959# This option is deprecated for removal since 16.0.0.
1960# Its value may be silently ignored in the future.
1961# Reason:
1962# nova-network is deprecated, as are any related configuration
1963# options.
1964#ebtables_exec_attempts = 3
1965
1966# DEPRECATED:
1967# This option determines the time, in seconds, that the system will
1968# sleep in
1969# between ebtables retries. Note that each successive retry waits a
1970# multiple of
1971# this value, so for example, if this is set to the default of 1.0
1972# seconds, and
1973# ebtables_exec_attempts is 4, after the first failure, the system
1974# will sleep for
1975# 1 * 1.0 seconds, after the second failure it will sleep 2 * 1.0
1976# seconds, and
1977# after the third failure it will sleep 3 * 1.0 seconds.
1978#
1979# Possible values:
1980#
1981# * Any non-negative float or integer. Setting this to zero will
1982# result in no
1983# waiting between attempts.
1984#
1985# Related options:
1986#
1987# * ebtables_exec_attempts
1988# (floating point value)
1989# This option is deprecated for removal since 16.0.0.
1990# Its value may be silently ignored in the future.
1991# Reason:
1992# nova-network is deprecated, as are any related configuration
1993# options.
1994#ebtables_retry_interval = 1.0
1995
1996# DEPRECATED:
1997# Enable neutron as the backend for networking.
1998#
1999# Determine whether to use Neutron or Nova Network as the back end.
2000# Set to true
2001# to use neutron.
2002# (boolean value)
2003# This option is deprecated for removal since 15.0.0.
2004# Its value may be silently ignored in the future.
2005# Reason:
2006# nova-network is deprecated, as are any related configuration
2007# options.
2008use_neutron = true
2009
2010#
2011# This option determines whether the network setup information is
2012# injected into
2013# the VM before it is booted. While it was originally designed to be
2014# used only
2015# by nova-network, it is also used by the vmware and xenapi virt
2016# drivers to
2017# control whether network information is injected into a VM. The
2018# libvirt virt
2019# driver also uses it when we use config_drive to configure network to
2020# control
2021# whether network information is injected into a VM.
2022# (boolean value)
2023#flat_injected = false
2024
2025# DEPRECATED:
2026# This option determines the bridge used for simple network interfaces
2027# when no
2028# bridge is specified in the VM creation request.
2029#
2030# Please note that this option is only used when using nova-network
2031# instead of
2032# Neutron in your deployment.
2033#
2034# Possible values:
2035#
2036# * Any string representing a valid network bridge, such as 'br100'
2037#
2038# Related options:
2039#
2040# * ``use_neutron``
2041# (string value)
2042# This option is deprecated for removal since 15.0.0.
2043# Its value may be silently ignored in the future.
2044# Reason:
2045# nova-network is deprecated, as are any related configuration
2046# options.
2047#flat_network_bridge = <None>
2048
2049# DEPRECATED:
2050# This is the address of the DNS server for a simple network. If this
2051# option is
2052# not specified, the default of '8.8.4.4' is used.
2053#
2054# Please note that this option is only used when using nova-network
2055# instead of
2056# Neutron in your deployment.
2057#
2058# Possible values:
2059#
2060# * Any valid IP address.
2061#
2062# Related options:
2063#
2064# * ``use_neutron``
2065# (string value)
2066# This option is deprecated for removal since 15.0.0.
2067# Its value may be silently ignored in the future.
2068# Reason:
2069# nova-network is deprecated, as are any related configuration
2070# options.
2071#flat_network_dns = 8.8.4.4
2072
2073# DEPRECATED:
2074# This option is the name of the virtual interface of the VM on which
2075# the bridge
2076# will be built. While it was originally designed to be used only by
2077# nova-network, it is also used by libvirt for the bridge interface
2078# name.
2079#
2080# Possible values:
2081#
2082# * Any valid virtual interface name, such as 'eth0'
2083# (string value)
2084# This option is deprecated for removal since 15.0.0.
2085# Its value may be silently ignored in the future.
2086# Reason:
2087# nova-network is deprecated, as are any related configuration
2088# options.
2089#flat_interface = <None>
2090
2091# DEPRECATED:
2092# This is the VLAN number used for private networks. Note that the
2093# when creating
2094# the networks, if the specified number has already been assigned,
2095# nova-network
2096# will increment this number until it finds an available VLAN.
2097#
2098# Please note that this option is only used when using nova-network
2099# instead of
2100# Neutron in your deployment. It also will be ignored if the
2101# configuration option
2102# for `network_manager` is not set to the default of
2103# 'nova.network.manager.VlanManager'.
2104#
2105# Possible values:
2106#
2107# * Any integer between 1 and 4094. Values outside of that range will
2108# raise a
2109# ValueError exception.
2110#
2111# Related options:
2112#
2113# * ``network_manager``
2114# * ``use_neutron``
2115# (integer value)
2116# Minimum value: 1
2117# Maximum value: 4094
2118# This option is deprecated for removal since 15.0.0.
2119# Its value may be silently ignored in the future.
2120# Reason:
2121# nova-network is deprecated, as are any related configuration
2122# options.
2123#vlan_start = 100
2124
2125# DEPRECATED:
2126# This option is the name of the virtual interface of the VM on which
2127# the VLAN
2128# bridge will be built. While it was originally designed to be used
2129# only by
2130# nova-network, it is also used by libvirt and xenapi for the bridge
2131# interface
2132# name.
2133#
2134# Please note that this setting will be ignored in nova-network if the
2135# configuration option for `network_manager` is not set to the default
2136# of
2137# 'nova.network.manager.VlanManager'.
2138#
2139# Possible values:
2140#
2141# * Any valid virtual interface name, such as 'eth0'
2142# (string value)
2143# This option is deprecated for removal since 15.0.0.
2144# Its value may be silently ignored in the future.
2145# Reason:
2146# nova-network is deprecated, as are any related configuration
2147# options. While
2148# this option has an effect when using neutron, it incorrectly
2149# override the value
2150# provided by neutron and should therefore not be used.
2151#vlan_interface = <None>
2152
2153# DEPRECATED:
2154# This option represents the number of networks to create if not
2155# explicitly
2156# specified when the network is created. The only time this is used is
2157# if a CIDR
2158# is specified, but an explicit network_size is not. In that case, the
2159# subnets
2160# are created by diving the IP address space of the CIDR by
2161# num_networks. The
2162# resulting subnet sizes cannot be larger than the configuration
2163# option
2164# `network_size`; in that event, they are reduced to `network_size`,
2165# and a
2166# warning is logged.
2167#
2168# Please note that this option is only used when using nova-network
2169# instead of
2170# Neutron in your deployment.
2171#
2172# Possible values:
2173#
2174# * Any positive integer is technically valid, although there are
2175# practical
2176# limits based upon available IP address space and virtual
2177# interfaces.
2178#
2179# Related options:
2180#
2181# * ``use_neutron``
2182# * ``network_size``
2183# (integer value)
2184# Minimum value: 1
2185# This option is deprecated for removal since 15.0.0.
2186# Its value may be silently ignored in the future.
2187# Reason:
2188# nova-network is deprecated, as are any related configuration
2189# options.
2190#num_networks = 1
2191
2192# DEPRECATED:
2193# This option is no longer used since the /os-cloudpipe API was
2194# removed in the
2195# 16.0.0 Pike release. This is the public IP address for the cloudpipe
2196# VPN
2197# servers. It defaults to the IP address of the host.
2198#
2199# Please note that this option is only used when using nova-network
2200# instead of
2201# Neutron in your deployment. It also will be ignored if the
2202# configuration option
2203# for `network_manager` is not set to the default of
2204# 'nova.network.manager.VlanManager'.
2205#
2206# Possible values:
2207#
2208# * Any valid IP address. The default is ``$my_ip``, the IP address of
2209# the VM.
2210#
2211# Related options:
2212#
2213# * ``network_manager``
2214# * ``use_neutron``
2215# * ``vpn_start``
2216# (string value)
2217# This option is deprecated for removal since 15.0.0.
2218# Its value may be silently ignored in the future.
2219# Reason:
2220# nova-network is deprecated, as are any related configuration
2221# options.
2222#vpn_ip = $my_ip
2223
2224# DEPRECATED:
2225# This is the port number to use as the first VPN port for private
2226# networks.
2227#
2228# Please note that this option is only used when using nova-network
2229# instead of
2230# Neutron in your deployment. It also will be ignored if the
2231# configuration option
2232# for `network_manager` is not set to the default of
2233# 'nova.network.manager.VlanManager', or if you specify a value the
2234# 'vpn_start'
2235# parameter when creating a network.
2236#
2237# Possible values:
2238#
2239# * Any integer representing a valid port number. The default is 1000.
2240#
2241# Related options:
2242#
2243# * ``use_neutron``
2244# * ``vpn_ip``
2245# * ``network_manager``
2246# (port value)
2247# Minimum value: 0
2248# Maximum value: 65535
2249# This option is deprecated for removal since 15.0.0.
2250# Its value may be silently ignored in the future.
2251# Reason:
2252# nova-network is deprecated, as are any related configuration
2253# options.
2254#vpn_start = 1000
2255
2256# DEPRECATED:
2257# This option determines the number of addresses in each private
2258# subnet.
2259#
2260# Please note that this option is only used when using nova-network
2261# instead of
2262# Neutron in your deployment.
2263#
2264# Possible values:
2265#
2266# * Any positive integer that is less than or equal to the available
2267# network
2268# size. Note that if you are creating multiple networks, they must
2269# all fit in
2270# the available IP address space. The default is 256.
2271#
2272# Related options:
2273#
2274# * ``use_neutron``
2275# * ``num_networks``
2276# (integer value)
2277# Minimum value: 1
2278# This option is deprecated for removal since 15.0.0.
2279# Its value may be silently ignored in the future.
2280# Reason:
2281# nova-network is deprecated, as are any related configuration
2282# options.
2283#network_size = 256
2284
2285# DEPRECATED:
2286# This option determines the fixed IPv6 address block when creating a
2287# network.
2288#
2289# Please note that this option is only used when using nova-network
2290# instead of
2291# Neutron in your deployment.
2292#
2293# Possible values:
2294#
2295# * Any valid IPv6 CIDR
2296#
2297# Related options:
2298#
2299# * ``use_neutron``
2300# (string value)
2301# This option is deprecated for removal since 15.0.0.
2302# Its value may be silently ignored in the future.
2303# Reason:
2304# nova-network is deprecated, as are any related configuration
2305# options.
2306#fixed_range_v6 = fd00::/48
2307
2308# DEPRECATED:
2309# This is the default IPv4 gateway. It is used only in the testing
2310# suite.
2311#
2312# Please note that this option is only used when using nova-network
2313# instead of
2314# Neutron in your deployment.
2315#
2316# Possible values:
2317#
2318# * Any valid IP address.
2319#
2320# Related options:
2321#
2322# * ``use_neutron``
2323# * ``gateway_v6``
2324# (string value)
2325# This option is deprecated for removal since 15.0.0.
2326# Its value may be silently ignored in the future.
2327# Reason:
2328# nova-network is deprecated, as are any related configuration
2329# options.
2330#gateway = <None>
2331
2332# DEPRECATED:
2333# This is the default IPv6 gateway. It is used only in the testing
2334# suite.
2335#
2336# Please note that this option is only used when using nova-network
2337# instead of
2338# Neutron in your deployment.
2339#
2340# Possible values:
2341#
2342# * Any valid IP address.
2343#
2344# Related options:
2345#
2346# * ``use_neutron``
2347# * ``gateway``
2348# (string value)
2349# This option is deprecated for removal since 15.0.0.
2350# Its value may be silently ignored in the future.
2351# Reason:
2352# nova-network is deprecated, as are any related configuration
2353# options.
2354#gateway_v6 = <None>
2355
2356# DEPRECATED:
2357# This option represents the number of IP addresses to reserve at the
2358# top of the
2359# address range for VPN clients. It also will be ignored if the
2360# configuration
2361# option for `network_manager` is not set to the default of
2362# 'nova.network.manager.VlanManager'.
2363#
2364# Possible values:
2365#
2366# * Any integer, 0 or greater.
2367#
2368# Related options:
2369#
2370# * ``use_neutron``
2371# * ``network_manager``
2372# (integer value)
2373# Minimum value: 0
2374# This option is deprecated for removal since 15.0.0.
2375# Its value may be silently ignored in the future.
2376# Reason:
2377# nova-network is deprecated, as are any related configuration
2378# options.
2379#cnt_vpn_clients = 0
2380
2381# DEPRECATED:
2382# This is the number of seconds to wait before disassociating a
2383# deallocated fixed
2384# IP address. This is only used with the nova-network service, and has
2385# no effect
2386# when using neutron for networking.
2387#
2388# Possible values:
2389#
2390# * Any integer, zero or greater.
2391#
2392# Related options:
2393#
2394# * ``use_neutron``
2395# (integer value)
2396# Minimum value: 0
2397# This option is deprecated for removal since 15.0.0.
2398# Its value may be silently ignored in the future.
2399# Reason:
2400# nova-network is deprecated, as are any related configuration
2401# options.
2402#fixed_ip_disassociate_timeout = 600
2403
2404# DEPRECATED:
2405# This option determines how many times nova-network will attempt to
2406# create a
2407# unique MAC address before giving up and raising a
2408# `VirtualInterfaceMacAddressException` error.
2409#
2410# Possible values:
2411#
2412# * Any positive integer. The default is 5.
2413#
2414# Related options:
2415#
2416# * ``use_neutron``
2417# (integer value)
2418# Minimum value: 1
2419# This option is deprecated for removal since 15.0.0.
2420# Its value may be silently ignored in the future.
2421# Reason:
2422# nova-network is deprecated, as are any related configuration
2423# options.
2424#create_unique_mac_address_attempts = 5
2425
2426# DEPRECATED:
2427# Determines whether unused gateway devices, both VLAN and bridge, are
2428# deleted if
2429# the network is in nova-network VLAN mode and is multi-hosted.
2430#
2431# Related options:
2432#
2433# * ``use_neutron``
2434# * ``vpn_ip``
2435# * ``fake_network``
2436# (boolean value)
2437# This option is deprecated for removal since 15.0.0.
2438# Its value may be silently ignored in the future.
2439# Reason:
2440# nova-network is deprecated, as are any related configuration
2441# options.
2442#teardown_unused_network_gateway = false
2443
2444# DEPRECATED:
2445# When this option is True, a call is made to release the DHCP for the
2446# instance
2447# when that instance is terminated.
2448#
2449# Related options:
2450#
2451# * ``use_neutron``
2452# (boolean value)
2453# This option is deprecated for removal since 15.0.0.
2454# Its value may be silently ignored in the future.
2455# Reason:
2456# nova-network is deprecated, as are any related configuration
2457# options.
2458force_dhcp_release = {{ controller.get('force_dhcp_release', 'true') }}
2459
2460# DEPRECATED:
2461# When this option is True, whenever a DNS entry must be updated, a
2462# fanout cast
2463# message is sent to all network hosts to update their DNS entries in
2464# multi-host
2465# mode.
2466#
2467# Related options:
2468#
2469# * ``use_neutron``
2470# (boolean value)
2471# This option is deprecated for removal since 15.0.0.
2472# Its value may be silently ignored in the future.
2473# Reason:
2474# nova-network is deprecated, as are any related configuration
2475# options.
2476#update_dns_entries = false
2477
2478# DEPRECATED:
2479# This option determines the time, in seconds, to wait between
2480# refreshing DNS
2481# entries for the network.
2482#
2483# Possible values:
2484#
2485# * A positive integer
2486# * -1 to disable updates
2487#
2488# Related options:
2489#
2490# * ``use_neutron``
2491# (integer value)
2492# Minimum value: -1
2493# This option is deprecated for removal since 15.0.0.
2494# Its value may be silently ignored in the future.
2495# Reason:
2496# nova-network is deprecated, as are any related configuration
2497# options.
2498#dns_update_periodic_interval = -1
2499
2500# DEPRECATED:
2501# This option allows you to specify the domain for the DHCP server.
2502#
2503# Possible values:
2504#
2505# * Any string that is a valid domain name.
2506#
2507# Related options:
2508#
2509# * ``use_neutron``
2510# (string value)
2511# This option is deprecated for removal since 15.0.0.
2512# Its value may be silently ignored in the future.
2513# Reason:
2514# nova-network is deprecated, as are any related configuration
2515# options.
2516#dhcp_domain = novalocal
2517dhcp_domain={{ controller.get('dhcp_domain', 'novalocal') }}
2518
2519# DEPRECATED:
2520# This option allows you to specify the L3 management library to be
2521# used.
2522#
2523# Possible values:
2524#
2525# * Any dot-separated string that represents the import path to an L3
2526# networking
2527# library.
2528#
2529# Related options:
2530#
2531# * ``use_neutron``
2532# (string value)
2533# This option is deprecated for removal since 15.0.0.
2534# Its value may be silently ignored in the future.
2535# Reason:
2536# nova-network is deprecated, as are any related configuration
2537# options.
2538#l3_lib = nova.network.l3.LinuxNetL3
2539
2540# DEPRECATED:
2541# THIS VALUE SHOULD BE SET WHEN CREATING THE NETWORK.
2542#
2543# If True in multi_host mode, all compute hosts share the same dhcp
2544# address. The
2545# same IP address used for DHCP will be added on each nova-network
2546# node which is
2547# only visible to the VMs on the same host.
2548#
2549# The use of this configuration has been deprecated and may be removed
2550# in any
2551# release after Mitaka. It is recommended that instead of relying on
2552# this option,
2553# an explicit value should be passed to 'create_networks()' as a
2554# keyword argument
2555# with the name 'share_address'.
2556# (boolean value)
2557# This option is deprecated for removal since 2014.2.
2558# Its value may be silently ignored in the future.
2559#share_dhcp_address = false
2560
2561# DEPRECATED:
2562# URL for LDAP server which will store DNS entries
2563#
2564# Possible values:
2565#
2566# * A valid LDAP URL representing the server
2567# (uri value)
2568# This option is deprecated for removal since 16.0.0.
2569# Its value may be silently ignored in the future.
2570# Reason:
2571# nova-network is deprecated, as are any related configuration
2572# options.
2573#ldap_dns_url = ldap://ldap.example.com:389
2574
2575# DEPRECATED: Bind user for LDAP server (string value)
2576# This option is deprecated for removal since 16.0.0.
2577# Its value may be silently ignored in the future.
2578# Reason:
2579# nova-network is deprecated, as are any related configuration
2580# options.
2581#ldap_dns_user = uid=admin,ou=people,dc=example,dc=org
2582
2583# DEPRECATED: Bind user's password for LDAP server (string value)
2584# This option is deprecated for removal since 16.0.0.
2585# Its value may be silently ignored in the future.
2586# Reason:
2587# nova-network is deprecated, as are any related configuration
2588# options.
2589#ldap_dns_password = password
2590
2591# DEPRECATED:
2592# Hostmaster for LDAP DNS driver Statement of Authority
2593#
2594# Possible values:
2595#
2596# * Any valid string representing LDAP DNS hostmaster.
2597# (string value)
2598# This option is deprecated for removal since 16.0.0.
2599# Its value may be silently ignored in the future.
2600# Reason:
2601# nova-network is deprecated, as are any related configuration
2602# options.
2603#ldap_dns_soa_hostmaster = hostmaster@example.org
2604
2605# DEPRECATED:
2606# DNS Servers for LDAP DNS driver
2607#
2608# Possible values:
2609#
2610# * A valid URL representing a DNS server
2611# (multi valued)
2612# This option is deprecated for removal since 16.0.0.
2613# Its value may be silently ignored in the future.
2614# Reason:
2615# nova-network is deprecated, as are any related configuration
2616# options.
2617#ldap_dns_servers = dns.example.org
2618
2619# DEPRECATED:
2620# Base distinguished name for the LDAP search query
2621#
2622# This option helps to decide where to look up the host in LDAP.
2623# (string value)
2624# This option is deprecated for removal since 16.0.0.
2625# Its value may be silently ignored in the future.
2626# Reason:
2627# nova-network is deprecated, as are any related configuration
2628# options.
2629#ldap_dns_base_dn = ou=hosts,dc=example,dc=org
2630
2631# DEPRECATED:
2632# Refresh interval (in seconds) for LDAP DNS driver Start of Authority
2633#
2634# Time interval, a secondary/slave DNS server waits before requesting
2635# for
2636# primary DNS server's current SOA record. If the records are
2637# different,
2638# secondary DNS server will request a zone transfer from primary.
2639#
2640# NOTE: Lower values would cause more traffic.
2641# (integer value)
2642# This option is deprecated for removal since 16.0.0.
2643# Its value may be silently ignored in the future.
2644# Reason:
2645# nova-network is deprecated, as are any related configuration
2646# options.
2647#ldap_dns_soa_refresh = 1800
2648
2649# DEPRECATED:
2650# Retry interval (in seconds) for LDAP DNS driver Start of Authority
2651#
2652# Time interval, a secondary/slave DNS server should wait, if an
2653# attempt to transfer zone failed during the previous refresh
2654# interval.
2655# (integer value)
2656# This option is deprecated for removal since 16.0.0.
2657# Its value may be silently ignored in the future.
2658# Reason:
2659# nova-network is deprecated, as are any related configuration
2660# options.
2661#ldap_dns_soa_retry = 3600
2662
2663# DEPRECATED:
2664# Expiry interval (in seconds) for LDAP DNS driver Start of Authority
2665#
2666# Time interval, a secondary/slave DNS server holds the information
2667# before it is no longer considered authoritative.
2668# (integer value)
2669# This option is deprecated for removal since 16.0.0.
2670# Its value may be silently ignored in the future.
2671# Reason:
2672# nova-network is deprecated, as are any related configuration
2673# options.
2674#ldap_dns_soa_expiry = 86400
2675
2676# DEPRECATED:
2677# Minimum interval (in seconds) for LDAP DNS driver Start of Authority
2678#
2679# It is Minimum time-to-live applies for all resource records in the
2680# zone file. This value is supplied to other servers how long they
2681# should keep the data in cache.
2682# (integer value)
2683# This option is deprecated for removal since 16.0.0.
2684# Its value may be silently ignored in the future.
2685# Reason:
2686# nova-network is deprecated, as are any related configuration
2687# options.
2688#ldap_dns_soa_minimum = 7200
2689
2690# DEPRECATED:
2691# Default value for multi_host in networks.
2692#
2693# nova-network service can operate in a multi-host or single-host
2694# mode.
2695# In multi-host mode each compute node runs a copy of nova-network and
2696# the
2697# instances on that compute node use the compute node as a gateway to
2698# the
2699# Internet. Where as in single-host mode, a central server runs the
2700# nova-network
2701# service. All compute nodes forward traffic from the instances to the
2702# cloud controller which then forwards traffic to the Internet.
2703#
2704# If this options is set to true, some rpc network calls will be sent
2705# directly
2706# to host.
2707#
2708# Note that this option is only used when using nova-network instead
2709# of
2710# Neutron in your deployment.
2711#
2712# Related options:
2713#
2714# * ``use_neutron``
2715# (boolean value)
2716# This option is deprecated for removal since 15.0.0.
2717# Its value may be silently ignored in the future.
2718# Reason:
2719# nova-network is deprecated, as are any related configuration
2720# options.
2721#multi_host = false
2722
2723# DEPRECATED:
2724# Driver to use for network creation.
2725#
2726# Network driver initializes (creates bridges and so on) only when the
2727# first VM lands on a host node. All network managers configure the
2728# network using network drivers. The driver is not tied to any
2729# particular
2730# network manager.
2731#
2732# The default Linux driver implements vlans, bridges, and iptables
2733# rules
2734# using linux utilities.
2735#
2736# Note that this option is only used when using nova-network instead
2737# of Neutron in your deployment.
2738#
2739# Related options:
2740#
2741# * ``use_neutron``
2742# (string value)
2743# This option is deprecated for removal since 15.0.0.
2744# Its value may be silently ignored in the future.
2745# Reason:
2746# nova-network is deprecated, as are any related configuration
2747# options.
2748#network_driver = nova.network.linux_net
2749
2750# DEPRECATED:
2751# Firewall driver to use with ``nova-network`` service.
2752#
2753# This option only applies when using the ``nova-network`` service.
2754# When using
2755# another networking services, such as Neutron, this should be to set
2756# to the
2757# ``nova.virt.firewall.NoopFirewallDriver``.
2758#
2759# Possible values:
2760#
2761# * ``nova.virt.firewall.IptablesFirewallDriver``
2762# * ``nova.virt.firewall.NoopFirewallDriver``
2763# * ``nova.virt.libvirt.firewall.IptablesFirewallDriver``
2764# * [...]
2765#
2766# Related options:
2767#
2768# * ``use_neutron``: This must be set to ``False`` to enable ``nova-
2769# network``
2770# networking
2771# (string value)
2772# This option is deprecated for removal since 16.0.0.
2773# Its value may be silently ignored in the future.
2774# Reason:
2775# nova-network is deprecated, as are any related configuration
2776# options.
2777firewall_driver = nova.virt.firewall.NoopFirewallDriver
2778
2779# DEPRECATED:
2780# Determine whether to allow network traffic from same network.
2781#
2782# When set to true, hosts on the same subnet are not filtered and are
2783# allowed
2784# to pass all types of traffic between them. On a flat network, this
2785# allows
2786# all instances from all projects unfiltered communication. With VLAN
2787# networking, this allows access between instances within the same
2788# project.
2789#
2790# This option only applies when using the ``nova-network`` service.
2791# When using
2792# another networking services, such as Neutron, security groups or
2793# other
2794# approaches should be used.
2795#
2796# Possible values:
2797#
2798# * True: Network traffic should be allowed pass between all instances
2799# on the
2800# same network, regardless of their tenant and security policies
2801# * False: Network traffic should not be allowed pass between
2802# instances unless
2803# it is unblocked in a security group
2804#
2805# Related options:
2806#
2807# * ``use_neutron``: This must be set to ``False`` to enable ``nova-
2808# network``
2809# networking
2810# * ``firewall_driver``: This must be set to
2811# ``nova.virt.libvirt.firewall.IptablesFirewallDriver`` to ensure
2812# the
2813# libvirt firewall driver is enabled.
2814# (boolean value)
2815# This option is deprecated for removal since 16.0.0.
2816# Its value may be silently ignored in the future.
2817# Reason:
2818# nova-network is deprecated, as are any related configuration
2819# options.
2820#allow_same_net_traffic = true
2821
2822# DEPRECATED:
2823# Default pool for floating IPs.
2824#
2825# This option specifies the default floating IP pool for allocating
2826# floating IPs.
2827#
2828# While allocating a floating ip, users can optionally pass in the
2829# name of the
2830# pool they want to allocate from, otherwise it will be pulled from
2831# the
2832# default pool.
2833#
2834# If this option is not set, then 'nova' is used as default floating
2835# pool.
2836#
2837# Possible values:
2838#
2839# * Any string representing a floating IP pool name
2840# (string value)
2841# This option is deprecated for removal since 16.0.0.
2842# Its value may be silently ignored in the future.
2843# Reason:
2844# This option was used for two purposes: to set the floating IP pool
2845# name for
2846# nova-network and to do the same for neutron. nova-network is
2847# deprecated, as are
2848# any related configuration options. Users of neutron, meanwhile,
2849# should use the
2850# 'default_floating_pool' option in the '[neutron]' group.
2851#default_floating_pool = nova
2852
2853# DEPRECATED:
2854# Autoassigning floating IP to VM
2855#
2856# When set to True, floating IP is auto allocated and associated
2857# to the VM upon creation.
2858#
2859# Related options:
2860#
2861# * use_neutron: this options only works with nova-network.
2862# (boolean value)
2863# This option is deprecated for removal since 15.0.0.
2864# Its value may be silently ignored in the future.
2865# Reason:
2866# nova-network is deprecated, as are any related configuration
2867# options.
2868#auto_assign_floating_ip = false
2869
2870# DEPRECATED:
2871# Full class name for the DNS Manager for floating IPs.
2872#
2873# This option specifies the class of the driver that provides
2874# functionality
2875# to manage DNS entries associated with floating IPs.
2876#
2877# When a user adds a DNS entry for a specified domain to a floating
2878# IP,
2879# nova will add a DNS entry using the specified floating DNS driver.
2880# When a floating IP is deallocated, its DNS entry will automatically
2881# be deleted.
2882#
2883# Possible values:
2884#
2885# * Full Python path to the class to be used
2886#
2887# Related options:
2888#
2889# * use_neutron: this options only works with nova-network.
2890# (string value)
2891# This option is deprecated for removal since 15.0.0.
2892# Its value may be silently ignored in the future.
2893# Reason:
2894# nova-network is deprecated, as are any related configuration
2895# options.
2896#floating_ip_dns_manager = nova.network.noop_dns_driver.NoopDNSDriver
2897
2898# DEPRECATED:
2899# Full class name for the DNS Manager for instance IPs.
2900#
2901# This option specifies the class of the driver that provides
2902# functionality
2903# to manage DNS entries for instances.
2904#
2905# On instance creation, nova will add DNS entries for the instance
2906# name and
2907# id, using the specified instance DNS driver and domain. On instance
2908# deletion,
2909# nova will remove the DNS entries.
2910#
2911# Possible values:
2912#
2913# * Full Python path to the class to be used
2914#
2915# Related options:
2916#
2917# * use_neutron: this options only works with nova-network.
2918# (string value)
2919# This option is deprecated for removal since 15.0.0.
2920# Its value may be silently ignored in the future.
2921# Reason:
2922# nova-network is deprecated, as are any related configuration
2923# options.
2924#instance_dns_manager = nova.network.noop_dns_driver.NoopDNSDriver
2925
2926# DEPRECATED:
2927# If specified, Nova checks if the availability_zone of every instance
2928# matches
2929# what the database says the availability_zone should be for the
2930# specified
2931# dns_domain.
2932#
2933# Related options:
2934#
2935# * use_neutron: this options only works with nova-network.
2936# (string value)
2937# This option is deprecated for removal since 15.0.0.
2938# Its value may be silently ignored in the future.
2939# Reason:
2940# nova-network is deprecated, as are any related configuration
2941# options.
2942#instance_dns_domain =
2943
2944# DEPRECATED:
2945# Assign IPv6 and IPv4 addresses when creating instances.
2946#
2947# Related options:
2948#
2949# * use_neutron: this only works with nova-network.
2950# (boolean value)
2951# This option is deprecated for removal since 16.0.0.
2952# Its value may be silently ignored in the future.
2953# Reason:
2954# nova-network is deprecated, as are any related configuration
2955# options.
2956#use_ipv6 = false
2957
2958# DEPRECATED:
2959# Abstracts out IPv6 address generation to pluggable backends.
2960#
2961# nova-network can be put into dual-stack mode, so that it uses
2962# both IPv4 and IPv6 addresses. In dual-stack mode, by default,
2963# instances
2964# acquire IPv6 global unicast addresses with the help of stateless
2965# address
2966# auto-configuration mechanism.
2967#
2968# Related options:
2969#
2970# * use_neutron: this option only works with nova-network.
2971# * use_ipv6: this option only works if ipv6 is enabled for nova-
2972# network.
2973# (string value)
2974# Possible values:
2975# rfc2462 - <No description provided>
2976# account_identifier - <No description provided>
2977# This option is deprecated for removal since 16.0.0.
2978# Its value may be silently ignored in the future.
2979# Reason:
2980# nova-network is deprecated, as are any related configuration
2981# options.
2982#ipv6_backend = rfc2462
2983
2984# DEPRECATED:
2985# This option is used to enable or disable quota checking for tenant
2986# networks.
2987#
2988# Related options:
2989#
2990# * quota_networks
2991# (boolean value)
2992# This option is deprecated for removal since 14.0.0.
2993# Its value may be silently ignored in the future.
2994# Reason:
2995# CRUD operations on tenant networks are only available when using
2996# nova-network
2997# and nova-network is itself deprecated.
2998#enable_network_quota = false
2999
3000# DEPRECATED:
3001# This option controls the number of private networks that can be
3002# created per
3003# project (or per tenant).
3004#
3005# Related options:
3006#
3007# * enable_network_quota
3008# (integer value)
3009# Minimum value: 0
3010# This option is deprecated for removal since 14.0.0.
3011# Its value may be silently ignored in the future.
3012# Reason:
3013# CRUD operations on tenant networks are only available when using
3014# nova-network
3015# and nova-network is itself deprecated.
3016#quota_networks = 3
3017
3018#
3019# Filename that will be used for storing websocket frames received
3020# and sent by a proxy service (like VNC, spice, serial) running on
3021# this host.
3022# If this is not set, no recording will be done.
3023# (string value)
3024#record = <None>
3025
3026# Run as a background process. (boolean value)
3027#daemon = false
3028
3029# Disallow non-encrypted connections. (boolean value)
3030#ssl_only = false
3031
3032# Set to True if source host is addressed with IPv6. (boolean value)
3033#source_is_ipv6 = false
3034
3035# Path to SSL certificate file. (string value)
3036#cert = self.pem
3037
3038# SSL key file (if separate from cert). (string value)
3039#key = <None>
3040
3041#
3042# Path to directory with content which will be served by a web server.
3043# (string value)
3044#web = /usr/share/spice-html5
3045
3046#
3047# The directory where the Nova python modules are installed.
3048#
3049# This directory is used to store template files for networking and
3050# remote
3051# console access. It is also the default path for other config options
3052# which
3053# need to persist Nova internal data. It is very unlikely that you
3054# need to
3055# change this option from its default value.
3056#
3057# Possible values:
3058#
3059# * The full path to a directory.
3060#
3061# Related options:
3062#
3063# * ``state_path``
3064# (string value)
3065#pybasedir = /usr/lib/python2.7/dist-packages
3066
3067#
3068# The directory where the Nova binaries are installed.
3069#
3070# This option is only relevant if the networking capabilities from
3071# Nova are
3072# used (see services below). Nova's networking capabilities are
3073# targeted to
3074# be fully replaced by Neutron in the future. It is very unlikely that
3075# you need
3076# to change this option from its default value.
3077#
3078# Possible values:
3079#
3080# * The full path to a directory.
3081# (string value)
3082#bindir = /usr/local/bin
3083
3084#
3085# The top-level directory for maintaining Nova's state.
3086#
3087# This directory is used to store Nova's internal state. It is used by
3088# a
3089# variety of other config options which derive from this. In some
3090# scenarios
3091# (for example migrations) it makes sense to use a storage location
3092# which is
3093# shared between multiple compute hosts (for example via NFS). Unless
3094# the
3095# option ``instances_path`` gets overwritten, this directory can grow
3096# very
3097# large.
3098#
3099# Possible values:
3100#
3101# * The full path to a directory. Defaults to value provided in
3102# ``pybasedir``.
3103# (string value)
3104state_path = /var/lib/nova
3105
3106#
3107# Number of seconds indicating how frequently the state of services on
3108# a
3109# given hypervisor is reported. Nova needs to know this to determine
3110# the
3111# overall health of the deployment.
3112#
3113# Related Options:
3114#
3115# * service_down_time
3116# report_interval should be less than service_down_time. If
3117# service_down_time
3118# is less than report_interval, services will routinely be
3119# considered down,
3120# because they report in too rarely.
3121# (integer value)
3122#report_interval = 10
3123report_interval = {{ controller.get('report_interval', '60') }}
3124
3125#
3126# Maximum time in seconds since last check-in for up service
3127#
3128# Each compute node periodically updates their database status based
3129# on the
3130# specified report interval. If the compute node hasn't updated the
3131# status
3132# for more than service_down_time, then the compute node is considered
3133# down.
3134#
3135# Related Options:
3136#
3137# * report_interval (service_down_time should not be less than
3138# report_interval)
3139# (integer value)
3140service_down_time = {{ controller.service_down_time|default('180') }}
3141
3142#
3143# Enable periodic tasks.
3144#
3145# If set to true, this option allows services to periodically run
3146# tasks
3147# on the manager.
3148#
3149# In case of running multiple schedulers or conductors you may want to
3150# run
3151# periodic tasks on only one host - in this case disable this option
3152# for all
3153# hosts but one.
3154# (boolean value)
3155#periodic_enable = true
3156
3157#
3158# Number of seconds to randomly delay when starting the periodic task
3159# scheduler to reduce stampeding.
3160#
3161# When compute workers are restarted in unison across a cluster,
3162# they all end up running the periodic tasks at the same time
3163# causing problems for the external services. To mitigate this
3164# behavior, periodic_fuzzy_delay option allows you to introduce a
3165# random initial delay when starting the periodic task scheduler.
3166#
3167# Possible Values:
3168#
3169# * Any positive integer (in seconds)
3170# * 0 : disable the random delay
3171# (integer value)
3172# Minimum value: 0
3173#periodic_fuzzy_delay = 60
3174
3175# List of APIs to be enabled by default. (list value)
3176enabled_apis = osapi_compute,metadata
3177
3178#
3179# List of APIs with enabled SSL.
3180#
3181# Nova provides SSL support for the API servers. enabled_ssl_apis
3182# option
3183# allows configuring the SSL support.
3184# (list value)
3185#enabled_ssl_apis =
3186
3187#
3188# IP address on which the OpenStack API will listen.
3189#
3190# The OpenStack API service listens on this IP address for incoming
3191# requests.
3192# (string value)
3193#osapi_compute_listen = 0.0.0.0
3194
3195#
3196# Port on which the OpenStack API will listen.
3197#
3198# The OpenStack API service listens on this port number for incoming
3199# requests.
3200# (port value)
3201# Minimum value: 0
3202# Maximum value: 65535
3203#osapi_compute_listen_port = 8774
3204
3205#
3206# Number of workers for OpenStack API service. The default will be the
3207# number
3208# of CPUs available.
3209#
3210# OpenStack API services can be configured to run as multi-process
3211# (workers).
3212# This overcomes the problem of reduction in throughput when API
3213# request
3214# concurrency increases. OpenStack API service will run in the
3215# specified
3216# number of processes.
3217#
3218# Possible Values:
3219#
3220# * Any positive integer
3221# * None (default value)
3222# (integer value)
3223# Minimum value: 1
3224#osapi_compute_workers = <None>
3225
3226#
3227# IP address on which the metadata API will listen.
3228#
3229# The metadata API service listens on this IP address for incoming
3230# requests.
3231# (string value)
3232#metadata_listen = 0.0.0.0
3233metadata_listen={{ controller.get('metadata', {}).get('bind', {}).get('address', controller.bind.private_address) }}
3234
3235#
3236# Port on which the metadata API will listen.
3237#
3238# The metadata API service listens on this port number for incoming
3239# requests.
3240# (port value)
3241# Minimum value: 0
3242# Maximum value: 65535
3243#metadata_listen_port = 8775
3244{%- if controller.get('metadata', {}).get('bind', {}).port is defined %}
3245metadata_listen_port={{ controller.metadata.bind.port }}
3246{%- else %}
3247#metadata_listen_port=8775
3248{%- endif %}
3249
3250#
3251# Number of workers for metadata service. If not specified the number
3252# of
3253# available CPUs will be used.
3254#
3255# The metadata service can be configured to run as multi-process
3256# (workers).
3257# This overcomes the problem of reduction in throughput when API
3258# request
3259# concurrency increases. The metadata service will run in the
3260# specified
3261# number of processes.
3262#
3263# Possible Values:
3264#
3265# * Any positive integer
3266# * None (default value)
3267# (integer value)
3268# Minimum value: 1
3269#metadata_workers = <None>
3270metadata_workers = {{ controller.workers }}
3271
3272# Full class name for the Manager for network (string value)
3273# Possible values:
3274# nova.network.manager.FlatManager - <No description provided>
3275# nova.network.manager.FlatDHCPManager - <No description provided>
3276# nova.network.manager.VlanManager - <No description provided>
3277#network_manager = nova.network.manager.VlanManager
3278
3279#
3280# This option specifies the driver to be used for the servicegroup
3281# service.
3282#
3283# ServiceGroup API in nova enables checking status of a compute node.
3284# When a
3285# compute worker running the nova-compute daemon starts, it calls the
3286# join API
3287# to join the compute group. Services like nova scheduler can query
3288# the
3289# ServiceGroup API to check if a node is alive. Internally, the
3290# ServiceGroup
3291# client driver automatically updates the compute worker status. There
3292# are
3293# multiple backend implementations for this service: Database
3294# ServiceGroup driver
3295# and Memcache ServiceGroup driver.
3296#
3297# Possible Values:
3298#
3299# * db : Database ServiceGroup driver
3300# * mc : Memcache ServiceGroup driver
3301#
3302# Related Options:
3303#
3304# * service_down_time (maximum time since last check-in for up
3305# service)
3306# (string value)
3307# Possible values:
3308# db - <No description provided>
3309# mc - <No description provided>
3310#servicegroup_driver = db
3311
3312#
3313# From oslo.service.periodic_task
3314#
3315
3316# Some periodic tasks can be run in a separate process. Should we run
3317# them here? (boolean value)
3318#run_external_periodic_tasks = true
3319
3320#
3321# From oslo.service.service
3322#
3323
3324# Enable eventlet backdoor. Acceptable values are 0, <port>, and
3325# <start>:<end>, where 0 results in listening on a random tcp port
3326# number; <port> results in listening on the specified port number
3327# (and not enabling backdoor if that port is in use); and
3328# <start>:<end> results in listening on the smallest unused port
3329# number within the specified range of port numbers. The chosen port
3330# is displayed in the service's log file. (string value)
3331#backdoor_port = <None>
3332
3333# Enable eventlet backdoor, using the provided path as a unix socket
3334# that can receive connections. This option is mutually exclusive with
3335# 'backdoor_port' in that only one should be provided. If both are
3336# provided then the existence of this option overrides the usage of
3337# that option. (string value)
3338#backdoor_socket = <None>
3339
3340# Enables or disables logging values of all registered options when
3341# starting a service (at DEBUG level). (boolean value)
3342#log_options = true
3343
3344# Specify a timeout after which a gracefully shutdown server will
3345# exit. Zero value means endless wait. (integer value)
3346#graceful_shutdown_timeout = 60
3347
3348{%- if controller.logging is defined %}
3349{%- set _data = controller.logging %}
3350{%- include "oslo_templates/files/queens/oslo/_log.conf" %}
3351{%- endif %}
3352
3353{%- set _data = controller.message_queue %}
3354{%- include "oslo_templates/files/queens/oslo/messaging/_default.conf" %}
3355
3356[api]
3357#
3358# Options under this group are used to define Nova API.
3359
3360#
3361# From nova.conf
3362#
3363
3364#
3365# This determines the strategy to use for authentication: keystone or
3366# noauth2.
3367# 'noauth2' is designed for testing only, as it does no actual
3368# credential
3369# checking. 'noauth2' provides administrative credentials only if
3370# 'admin' is
3371# specified as the username.
3372# (string value)
3373# Possible values:
3374# keystone - <No description provided>
3375# noauth2 - <No description provided>
3376auth_strategy = keystone
3377
3378#
3379# When True, the 'X-Forwarded-For' header is treated as the canonical
3380# remote
3381# address. When False (the default), the 'remote_address' header is
3382# used.
3383#
3384# You should only enable this if you have an HTML sanitizing proxy.
3385# (boolean value)
3386#use_forwarded_for = false
3387
3388#
3389# When gathering the existing metadata for a config drive, the
3390# EC2-style
3391# metadata is returned for all versions that don't appear in this
3392# option.
3393# As of the Liberty release, the available versions are:
3394#
3395# * 1.0
3396# * 2007-01-19
3397# * 2007-03-01
3398# * 2007-08-29
3399# * 2007-10-10
3400# * 2007-12-15
3401# * 2008-02-01
3402# * 2008-09-01
3403# * 2009-04-04
3404#
3405# The option is in the format of a single string, with each version
3406# separated
3407# by a space.
3408#
3409# Possible values:
3410#
3411# * Any string that represents zero or more versions, separated by
3412# spaces.
3413# (string value)
3414#config_drive_skip_versions = 1.0 2007-01-19 2007-03-01 2007-08-29 2007-10-10 2007-12-15 2008-02-01 2008-09-01
3415
3416#
3417# A list of vendordata providers.
3418#
3419# vendordata providers are how deployers can provide metadata via
3420# configdrive
3421# and metadata that is specific to their deployment. There are
3422# currently two
3423# supported providers: StaticJSON and DynamicJSON.
3424#
3425# StaticJSON reads a JSON file configured by the flag
3426# vendordata_jsonfile_path
3427# and places the JSON from that file into vendor_data.json and
3428# vendor_data2.json.
3429#
3430# DynamicJSON is configured via the vendordata_dynamic_targets flag,
3431# which is
3432# documented separately. For each of the endpoints specified in that
3433# flag, a
3434# section is added to the vendor_data2.json.
3435#
3436# For more information on the requirements for implementing a
3437# vendordata
3438# dynamic endpoint, please see the vendordata.rst file in the nova
3439# developer
3440# reference.
3441#
3442# Possible values:
3443#
3444# * A list of vendordata providers, with StaticJSON and DynamicJSON
3445# being
3446# current options.
3447#
3448# Related options:
3449#
3450# * vendordata_dynamic_targets
3451# * vendordata_dynamic_ssl_certfile
3452# * vendordata_dynamic_connect_timeout
3453# * vendordata_dynamic_read_timeout
3454# * vendordata_dynamic_failure_fatal
3455# (list value)
3456#vendordata_providers = StaticJSON
3457
3458#
3459# A list of targets for the dynamic vendordata provider. These targets
3460# are of
3461# the form <name>@<url>.
3462#
3463# The dynamic vendordata provider collects metadata by contacting
3464# external REST
3465# services and querying them for information about the instance. This
3466# behaviour
3467# is documented in the vendordata.rst file in the nova developer
3468# reference.
3469# (list value)
3470#vendordata_dynamic_targets =
3471
3472#
3473# Path to an optional certificate file or CA bundle to verify dynamic
3474# vendordata REST services ssl certificates against.
3475#
3476# Possible values:
3477#
3478# * An empty string, or a path to a valid certificate file
3479#
3480# Related options:
3481#
3482# * vendordata_providers
3483# * vendordata_dynamic_targets
3484# * vendordata_dynamic_connect_timeout
3485# * vendordata_dynamic_read_timeout
3486# * vendordata_dynamic_failure_fatal
3487# (string value)
3488#vendordata_dynamic_ssl_certfile =
3489
3490#
3491# Maximum wait time for an external REST service to connect.
3492#
3493# Possible values:
3494#
3495# * Any integer with a value greater than three (the TCP packet
3496# retransmission
3497# timeout). Note that instance start may be blocked during this wait
3498# time,
3499# so this value should be kept small.
3500#
3501# Related options:
3502#
3503# * vendordata_providers
3504# * vendordata_dynamic_targets
3505# * vendordata_dynamic_ssl_certfile
3506# * vendordata_dynamic_read_timeout
3507# * vendordata_dynamic_failure_fatal
3508# (integer value)
3509# Minimum value: 3
3510#vendordata_dynamic_connect_timeout = 5
3511
3512#
3513# Maximum wait time for an external REST service to return data once
3514# connected.
3515#
3516# Possible values:
3517#
3518# * Any integer. Note that instance start is blocked during this wait
3519# time,
3520# so this value should be kept small.
3521#
3522# Related options:
3523#
3524# * vendordata_providers
3525# * vendordata_dynamic_targets
3526# * vendordata_dynamic_ssl_certfile
3527# * vendordata_dynamic_connect_timeout
3528# * vendordata_dynamic_failure_fatal
3529# (integer value)
3530# Minimum value: 0
3531#vendordata_dynamic_read_timeout = 5
3532
3533#
3534# Should failures to fetch dynamic vendordata be fatal to instance
3535# boot?
3536#
3537# Related options:
3538#
3539# * vendordata_providers
3540# * vendordata_dynamic_targets
3541# * vendordata_dynamic_ssl_certfile
3542# * vendordata_dynamic_connect_timeout
3543# * vendordata_dynamic_read_timeout
3544# (boolean value)
3545#vendordata_dynamic_failure_fatal = false
3546
3547#
3548# This option is the time (in seconds) to cache metadata. When set to
3549# 0,
3550# metadata caching is disabled entirely; this is generally not
3551# recommended for
3552# performance reasons. Increasing this setting should improve response
3553# times
3554# of the metadata API when under heavy load. Higher values may
3555# increase memory
3556# usage, and result in longer times for host metadata changes to take
3557# effect.
3558# (integer value)
3559# Minimum value: 0
3560#metadata_cache_expiration = 15
3561
3562#
3563# Cloud providers may store custom data in vendor data file that will
3564# then be
3565# available to the instances via the metadata service, and to the
3566# rendering of
3567# config-drive. The default class for this, JsonFileVendorData, loads
3568# this
3569# information from a JSON file, whose path is configured by this
3570# option. If
3571# there is no path set by this option, the class returns an empty
3572# dictionary.
3573#
3574# Possible values:
3575#
3576# * Any string representing the path to the data file, or an empty
3577# string
3578# (default).
3579# (string value)
3580#vendordata_jsonfile_path = <None>
3581
3582#
3583# As a query can potentially return many thousands of items, you can
3584# limit the
3585# maximum number of items in a single response by setting this option.
3586# (integer value)
3587# Minimum value: 0
3588# Deprecated group/name - [DEFAULT]/osapi_max_limit
3589#max_limit = 1000
3590max_limit={{ controller.osapi_max_limit|default('1000') }}
3591
3592#
3593# This string is prepended to the normal URL that is returned in links
3594# to the
3595# OpenStack Compute API. If it is empty (the default), the URLs are
3596# returned
3597# unchanged.
3598#
3599# Possible values:
3600#
3601# * Any string, including an empty string (the default).
3602# (string value)
3603# Deprecated group/name - [DEFAULT]/osapi_compute_link_prefix
3604#compute_link_prefix = <None>
3605
3606#
3607# This string is prepended to the normal URL that is returned in links
3608# to
3609# Glance resources. If it is empty (the default), the URLs are
3610# returned
3611# unchanged.
3612#
3613# Possible values:
3614#
3615# * Any string, including an empty string (the default).
3616# (string value)
3617# Deprecated group/name - [DEFAULT]/osapi_glance_link_prefix
3618#glance_link_prefix = <None>
3619
3620# DEPRECATED:
3621# Operators can turn off the ability for a user to take snapshots of
3622# their
3623# instances by setting this option to False. When disabled, any
3624# attempt to
3625# take a snapshot will result in a HTTP 400 response ("Bad Request").
3626# (boolean value)
3627# This option is deprecated for removal since 16.0.0.
3628# Its value may be silently ignored in the future.
3629# Reason: This option disables the createImage server action API in a
3630# non-discoverable way and is thus a barrier to interoperability.
3631# Also, it is not used for other APIs that create snapshots like
3632# shelve or createBackup. Disabling snapshots should be done via
3633# policy if so desired.
3634#allow_instance_snapshots = true
3635
3636# DEPRECATED:
3637# This option is a list of all instance states for which network
3638# address
3639# information should not be returned from the API.
3640#
3641# Possible values:
3642#
3643# A list of strings, where each string is a valid VM state, as
3644# defined in
3645# nova/compute/vm_states.py. As of the Newton release, they are:
3646#
3647# * "active"
3648# * "building"
3649# * "paused"
3650# * "suspended"
3651# * "stopped"
3652# * "rescued"
3653# * "resized"
3654# * "soft-delete"
3655# * "deleted"
3656# * "error"
3657# * "shelved"
3658# * "shelved_offloaded"
3659# (list value)
3660# Deprecated group/name - [DEFAULT]/osapi_hide_server_address_states
3661# This option is deprecated for removal since 17.0.0.
3662# Its value may be silently ignored in the future.
3663# Reason: This option hide the server address in server representation
3664# for configured server states. Which makes GET server API controlled
3665# by this config options. Due to this config options, user would not
3666# be able to discover the API behavior on different clouds which leads
3667# to the interop issue.
3668#hide_server_address_states = building
3669
3670# The full path to the fping binary. (string value)
3671fping_path = /usr/sbin/fping
3672
3673#
3674# When True, the TenantNetworkController will query the Neutron API to
3675# get the
3676# default networks to use.
3677#
3678# Related options:
3679#
3680# * neutron_default_tenant_id
3681# (boolean value)
3682#use_neutron_default_nets = false
3683
3684#
3685# Tenant ID for getting the default network from Neutron API (also
3686# referred in
3687# some places as the 'project ID') to use.
3688#
3689# Related options:
3690#
3691# * use_neutron_default_nets
3692# (string value)
3693#neutron_default_tenant_id = default
3694
3695#
3696# Enables returning of the instance password by the relevant server
3697# API calls
3698# such as create, rebuild, evacuate, or rescue. If the hypervisor does
3699# not
3700# support password injection, then the password returned will not be
3701# correct,
3702# so if your hypervisor does not support password injection, set this
3703# to False.
3704# (boolean value)
3705#enable_instance_password = true
3706
3707
3708[api_database]
Vasyl Saienkobc9d1202018-05-25 10:05:14 +03003709{%- set _data = {} %}
3710{%- do _data.update(controller.database) %}
3711{%- do _data.update({'name': 'nova_api'}) %}
3712{%- if _data.ssl is defined and 'cacert_file' not in _data.get('ssl', {}).keys() %}{% do _data['ssl'].update({'cacert_file': controller.cacert_file}) %}{% endif %}
3713{%- include "oslo_templates/files/queens/oslo/_database.conf" %}
Oleh Hryhorov5d0f13a2018-05-21 17:02:54 +00003714
3715{%- if controller.get('barbican', {}).get('enabled', False) %}
3716{%- set _data = controller.identity %}
3717[barbican]
3718{%- include "oslo_templates/files/queens/castellan/_barbican.conf" %}
3719{%- endif %}
3720
3721[cache]
3722
3723#
3724# From nova.conf
3725#
3726{%- if controller.cache is defined %}
3727backend = oslo_cache.memcache_pool
3728enabled = true
3729memcache_servers={%- for member in controller.cache.members %}{{ member.host }}:11211{% if not loop.last %},{% endif %}{%- endfor %}
3730{%- endif %}
3731
3732# Prefix for building the configuration dictionary for the cache
3733# region. This should not need to be changed unless there is another
3734# dogpile.cache region with the same configuration name. (string
3735# value)
3736#config_prefix = cache.oslo
3737
3738# Default TTL, in seconds, for any cached item in the dogpile.cache
3739# region. This applies to any cached method that doesn't have an
3740# explicit cache expiration time defined for it. (integer value)
3741#expiration_time = 600
3742
3743# Cache backend module. For eventlet-based or environments with
3744# hundreds of threaded servers, Memcache with pooling
3745# (oslo_cache.memcache_pool) is recommended. For environments with
3746# less than 100 threaded servers, Memcached (dogpile.cache.memcached)
3747# or Redis (dogpile.cache.redis) is recommended. Test environments
3748# with a single instance of the server can use the
3749# dogpile.cache.memory backend. (string value)
3750# Possible values:
3751# oslo_cache.memcache_pool - <No description provided>
3752# oslo_cache.dict - <No description provided>
3753# oslo_cache.mongo - <No description provided>
3754# oslo_cache.etcd3gw - <No description provided>
3755# dogpile.cache.memcached - <No description provided>
3756# dogpile.cache.pylibmc - <No description provided>
3757# dogpile.cache.bmemcached - <No description provided>
3758# dogpile.cache.dbm - <No description provided>
3759# dogpile.cache.redis - <No description provided>
3760# dogpile.cache.memory - <No description provided>
3761# dogpile.cache.memory_pickle - <No description provided>
3762# dogpile.cache.null - <No description provided>
3763#backend = dogpile.cache.null
3764
3765# Arguments supplied to the backend module. Specify this option once
3766# per argument to be passed to the dogpile.cache backend. Example
3767# format: "<argname>:<value>". (multi valued)
3768#backend_argument =
3769
3770# Proxy classes to import that will affect the way the dogpile.cache
3771# backend functions. See the dogpile.cache documentation on changing-
3772# backend-behavior. (list value)
3773#proxies =
3774
3775# Global toggle for caching. (boolean value)
3776#enabled = false
3777
3778# Extra debugging from the cache backend (cache keys,
3779# get/set/delete/etc calls). This is only really useful if you need to
3780# see the specific cache-backend get/set/delete calls with the
3781# keys/values. Typically this should be left set to false. (boolean
3782# value)
3783#debug_cache_backend = false
3784
3785# Memcache servers in the format of "host:port".
3786# (dogpile.cache.memcache and oslo_cache.memcache_pool backends only).
3787# (list value)
3788#memcache_servers = localhost:11211
3789
3790# Number of seconds memcached server is considered dead before it is
3791# tried again. (dogpile.cache.memcache and oslo_cache.memcache_pool
3792# backends only). (integer value)
3793#memcache_dead_retry = 300
3794
3795# Timeout in seconds for every call to a server.
3796# (dogpile.cache.memcache and oslo_cache.memcache_pool backends only).
3797# (integer value)
3798#memcache_socket_timeout = 3
3799
3800# Max total number of open connections to every memcached server.
3801# (oslo_cache.memcache_pool backend only). (integer value)
3802#memcache_pool_maxsize = 10
3803
3804# Number of seconds a connection to memcached is held unused in the
3805# pool before it is closed. (oslo_cache.memcache_pool backend only).
3806# (integer value)
3807#memcache_pool_unused_timeout = 60
3808
3809# Number of seconds that an operation will wait to get a memcache
3810# client connection. (integer value)
3811#memcache_pool_connection_get_timeout = 10
3812
3813
3814[cells]
3815#
3816# DEPRECATED: Cells options allow you to use cells v1 functionality in
3817# an
3818# OpenStack deployment.
3819#
3820# Note that the options in this group are only for cells v1
3821# functionality, which
3822# is considered experimental and not recommended for new deployments.
3823# Cells v1
3824# is being replaced with cells v2, which starting in the 15.0.0 Ocata
3825# release is
3826# required and all Nova deployments will be at least a cells v2 cell
3827# of one.
3828#
3829
3830#
3831# From nova.conf
3832#
3833
3834# DEPRECATED:
3835# Enable cell v1 functionality.
3836#
3837# Note that cells v1 is considered experimental and not recommended
3838# for new
3839# Nova deployments. Cells v1 is being replaced by cells v2 which
3840# starting in
3841# the 15.0.0 Ocata release, all Nova deployments are at least a cells
3842# v2 cell
3843# of one. Setting this option, or any other options in the [cells]
3844# group, is
3845# not required for cells v2.
3846#
3847# When this functionality is enabled, it lets you to scale an
3848# OpenStack
3849# Compute cloud in a more distributed fashion without having to use
3850# complicated technologies like database and message queue clustering.
3851# Cells are configured as a tree. The top-level cell should have a
3852# host
3853# that runs a nova-api service, but no nova-compute services. Each
3854# child cell should run all of the typical nova-* services in a
3855# regular
3856# Compute cloud except for nova-api. You can think of cells as a
3857# normal
3858# Compute deployment in that each cell has its own database server and
3859# message queue broker.
3860#
3861# Related options:
3862#
3863# * name: A unique cell name must be given when this functionality
3864# is enabled.
3865# * cell_type: Cell type should be defined for all cells.
3866# (boolean value)
3867# This option is deprecated for removal since 16.0.0.
3868# Its value may be silently ignored in the future.
3869# Reason: Cells v1 is being replaced with Cells v2.
3870enable = false
3871
3872# DEPRECATED:
3873# Name of the current cell.
3874#
3875# This value must be unique for each cell. Name of a cell is used as
3876# its id, leaving this option unset or setting the same name for
3877# two or more cells may cause unexpected behaviour.
3878#
3879# Related options:
3880#
3881# * enabled: This option is meaningful only when cells service
3882# is enabled
3883# (string value)
3884# This option is deprecated for removal since 16.0.0.
3885# Its value may be silently ignored in the future.
3886# Reason: Cells v1 is being replaced with Cells v2.
3887#name = nova
3888
3889# DEPRECATED:
3890# Cell capabilities.
3891#
3892# List of arbitrary key=value pairs defining capabilities of the
3893# current cell to be sent to the parent cells. These capabilities
3894# are intended to be used in cells scheduler filters/weighers.
3895#
3896# Possible values:
3897#
3898# * key=value pairs list for example;
3899# ``hypervisor=xenserver;kvm,os=linux;windows``
3900# (list value)
3901# This option is deprecated for removal since 16.0.0.
3902# Its value may be silently ignored in the future.
3903# Reason: Cells v1 is being replaced with Cells v2.
3904#capabilities = hypervisor=xenserver;kvm,os=linux;windows
3905
3906# DEPRECATED:
3907# Call timeout.
3908#
3909# Cell messaging module waits for response(s) to be put into the
3910# eventlet queue. This option defines the seconds waited for
3911# response from a call to a cell.
3912#
3913# Possible values:
3914#
3915# * An integer, corresponding to the interval time in seconds.
3916# (integer value)
3917# Minimum value: 0
3918# This option is deprecated for removal since 16.0.0.
3919# Its value may be silently ignored in the future.
3920# Reason: Cells v1 is being replaced with Cells v2.
3921#call_timeout = 60
3922
3923# DEPRECATED:
3924# Reserve percentage
3925#
3926# Percentage of cell capacity to hold in reserve, so the minimum
3927# amount of free resource is considered to be;
3928#
3929# min_free = total * (reserve_percent / 100.0)
3930#
3931# This option affects both memory and disk utilization.
3932#
3933# The primary purpose of this reserve is to ensure some space is
3934# available for users who want to resize their instance to be larger.
3935# Note that currently once the capacity expands into this reserve
3936# space this option is ignored.
3937#
3938# Possible values:
3939#
3940# * An integer or float, corresponding to the percentage of cell
3941# capacity to
3942# be held in reserve.
3943# (floating point value)
3944# This option is deprecated for removal since 16.0.0.
3945# Its value may be silently ignored in the future.
3946# Reason: Cells v1 is being replaced with Cells v2.
3947#reserve_percent = 10.0
3948
3949# DEPRECATED:
3950# Type of cell.
3951#
3952# When cells feature is enabled the hosts in the OpenStack Compute
3953# cloud are partitioned into groups. Cells are configured as a tree.
3954# The top-level cell's cell_type must be set to ``api``. All other
3955# cells are defined as a ``compute cell`` by default.
3956#
3957# Related option:
3958#
3959# * quota_driver: Disable quota checking for the child cells.
3960# (nova.quota.NoopQuotaDriver)
3961# (string value)
3962# Possible values:
3963# api - <No description provided>
3964# compute - <No description provided>
3965# This option is deprecated for removal since 16.0.0.
3966# Its value may be silently ignored in the future.
3967# Reason: Cells v1 is being replaced with Cells v2.
3968#cell_type = compute
3969
3970# DEPRECATED:
3971# Mute child interval.
3972#
3973# Number of seconds after which a lack of capability and capacity
3974# update the child cell is to be treated as a mute cell. Then the
3975# child cell will be weighed as recommend highly that it be skipped.
3976#
3977# Possible values:
3978#
3979# * An integer, corresponding to the interval time in seconds.
3980# (integer value)
3981# This option is deprecated for removal since 16.0.0.
3982# Its value may be silently ignored in the future.
3983# Reason: Cells v1 is being replaced with Cells v2.
3984#mute_child_interval = 300
3985
3986# DEPRECATED:
3987# Bandwidth update interval.
3988#
3989# Seconds between bandwidth usage cache updates for cells.
3990#
3991# Possible values:
3992#
3993# * An integer, corresponding to the interval time in seconds.
3994# (integer value)
3995# This option is deprecated for removal since 16.0.0.
3996# Its value may be silently ignored in the future.
3997# Reason: Cells v1 is being replaced with Cells v2.
3998#bandwidth_update_interval = 600
3999
4000# DEPRECATED:
4001# Instance update sync database limit.
4002#
4003# Number of instances to pull from the database at one time for
4004# a sync. If there are more instances to update the results will
4005# be paged through.
4006#
4007# Possible values:
4008#
4009# * An integer, corresponding to a number of instances.
4010# (integer value)
4011# This option is deprecated for removal since 16.0.0.
4012# Its value may be silently ignored in the future.
4013# Reason: Cells v1 is being replaced with Cells v2.
4014#instance_update_sync_database_limit = 100
4015
4016# DEPRECATED:
4017# Mute weight multiplier.
4018#
4019# Multiplier used to weigh mute children. Mute children cells are
4020# recommended to be skipped so their weight is multiplied by this
4021# negative value.
4022#
4023# Possible values:
4024#
4025# * Negative numeric number
4026# (floating point value)
4027# This option is deprecated for removal since 16.0.0.
4028# Its value may be silently ignored in the future.
4029# Reason: Cells v1 is being replaced with Cells v2.
4030#mute_weight_multiplier = -10000.0
4031
4032# DEPRECATED:
4033# Ram weight multiplier.
4034#
4035# Multiplier used for weighing ram. Negative numbers indicate that
4036# Compute should stack VMs on one host instead of spreading out new
4037# VMs to more hosts in the cell.
4038#
4039# Possible values:
4040#
4041# * Numeric multiplier
4042# (floating point value)
4043# This option is deprecated for removal since 16.0.0.
4044# Its value may be silently ignored in the future.
4045# Reason: Cells v1 is being replaced with Cells v2.
4046#ram_weight_multiplier = 10.0
4047
4048# DEPRECATED:
4049# Offset weight multiplier
4050#
4051# Multiplier used to weigh offset weigher. Cells with higher
4052# weight_offsets in the DB will be preferred. The weight_offset
4053# is a property of a cell stored in the database. It can be used
4054# by a deployer to have scheduling decisions favor or disfavor
4055# cells based on the setting.
4056#
4057# Possible values:
4058#
4059# * Numeric multiplier
4060# (floating point value)
4061# This option is deprecated for removal since 16.0.0.
4062# Its value may be silently ignored in the future.
4063# Reason: Cells v1 is being replaced with Cells v2.
4064#offset_weight_multiplier = 1.0
4065
4066# DEPRECATED:
4067# Instance updated at threshold
4068#
4069# Number of seconds after an instance was updated or deleted to
4070# continue to update cells. This option lets cells manager to only
4071# attempt to sync instances that have been updated recently.
4072# i.e., a threshold of 3600 means to only update instances that
4073# have modified in the last hour.
4074#
4075# Possible values:
4076#
4077# * Threshold in seconds
4078#
4079# Related options:
4080#
4081# * This value is used with the ``instance_update_num_instances``
4082# value in a periodic task run.
4083# (integer value)
4084# This option is deprecated for removal since 16.0.0.
4085# Its value may be silently ignored in the future.
4086# Reason: Cells v1 is being replaced with Cells v2.
4087#instance_updated_at_threshold = 3600
4088
4089# DEPRECATED:
4090# Instance update num instances
4091#
4092# On every run of the periodic task, nova cells manager will attempt
4093# to
4094# sync instance_updated_at_threshold number of instances. When the
4095# manager gets the list of instances, it shuffles them so that
4096# multiple
4097# nova-cells services do not attempt to sync the same instances in
4098# lockstep.
4099#
4100# Possible values:
4101#
4102# * Positive integer number
4103#
4104# Related options:
4105#
4106# * This value is used with the ``instance_updated_at_threshold``
4107# value in a periodic task run.
4108# (integer value)
4109# This option is deprecated for removal since 16.0.0.
4110# Its value may be silently ignored in the future.
4111# Reason: Cells v1 is being replaced with Cells v2.
4112#instance_update_num_instances = 1
4113
4114# DEPRECATED:
4115# Maximum hop count
4116#
4117# When processing a targeted message, if the local cell is not the
4118# target, a route is defined between neighbouring cells. And the
4119# message is processed across the whole routing path. This option
4120# defines the maximum hop counts until reaching the target.
4121#
4122# Possible values:
4123#
4124# * Positive integer value
4125# (integer value)
4126# This option is deprecated for removal since 16.0.0.
4127# Its value may be silently ignored in the future.
4128# Reason: Cells v1 is being replaced with Cells v2.
4129#max_hop_count = 10
4130
4131# DEPRECATED:
4132# Cells scheduler.
4133#
4134# The class of the driver used by the cells scheduler. This should be
4135# the full Python path to the class to be used. If nothing is
4136# specified
4137# in this option, the CellsScheduler is used.
4138# (string value)
4139# This option is deprecated for removal since 16.0.0.
4140# Its value may be silently ignored in the future.
4141# Reason: Cells v1 is being replaced with Cells v2.
4142#scheduler = nova.cells.scheduler.CellsScheduler
4143
4144# DEPRECATED:
4145# RPC driver queue base.
4146#
4147# When sending a message to another cell by JSON-ifying the message
4148# and making an RPC cast to 'process_message', a base queue is used.
4149# This option defines the base queue name to be used when
4150# communicating
4151# between cells. Various topics by message type will be appended to
4152# this.
4153#
4154# Possible values:
4155#
4156# * The base queue name to be used when communicating between cells.
4157# (string value)
4158# This option is deprecated for removal since 16.0.0.
4159# Its value may be silently ignored in the future.
4160# Reason: Cells v1 is being replaced with Cells v2.
4161#rpc_driver_queue_base = cells.intercell
4162
4163# DEPRECATED:
4164# Scheduler filter classes.
4165#
4166# Filter classes the cells scheduler should use. An entry of
4167# "nova.cells.filters.all_filters" maps to all cells filters
4168# included with nova. As of the Mitaka release the following
4169# filter classes are available:
4170#
4171# Different cell filter: A scheduler hint of 'different_cell'
4172# with a value of a full cell name may be specified to route
4173# a build away from a particular cell.
4174#
4175# Image properties filter: Image metadata named
4176# 'hypervisor_version_requires' with a version specification
4177# may be specified to ensure the build goes to a cell which
4178# has hypervisors of the required version. If either the version
4179# requirement on the image or the hypervisor capability of the
4180# cell is not present, this filter returns without filtering out
4181# the cells.
4182#
4183# Target cell filter: A scheduler hint of 'target_cell' with a
4184# value of a full cell name may be specified to route a build to
4185# a particular cell. No error handling is done as there's no way
4186# to know whether the full path is a valid.
4187#
4188# As an admin user, you can also add a filter that directs builds
4189# to a particular cell.
4190#
4191# (list value)
4192# This option is deprecated for removal since 16.0.0.
4193# Its value may be silently ignored in the future.
4194# Reason: Cells v1 is being replaced with Cells v2.
4195#scheduler_filter_classes = nova.cells.filters.all_filters
4196
4197# DEPRECATED:
4198# Scheduler weight classes.
4199#
4200# Weigher classes the cells scheduler should use. An entry of
4201# "nova.cells.weights.all_weighers" maps to all cell weighers
4202# included with nova. As of the Mitaka release the following
4203# weight classes are available:
4204#
4205# mute_child: Downgrades the likelihood of child cells being
4206# chosen for scheduling requests, which haven't sent capacity
4207# or capability updates in a while. Options include
4208# mute_weight_multiplier (multiplier for mute children; value
4209# should be negative).
4210#
4211# ram_by_instance_type: Select cells with the most RAM capacity
4212# for the instance type being requested. Because higher weights
4213# win, Compute returns the number of available units for the
4214# instance type requested. The ram_weight_multiplier option defaults
4215# to 10.0 that adds to the weight by a factor of 10. Use a negative
4216# number to stack VMs on one host instead of spreading out new VMs
4217# to more hosts in the cell.
4218#
4219# weight_offset: Allows modifying the database to weight a particular
4220# cell. The highest weight will be the first cell to be scheduled for
4221# launching an instance. When the weight_offset of a cell is set to 0,
4222# it is unlikely to be picked but it could be picked if other cells
4223# have a lower weight, like if they're full. And when the
4224# weight_offset
4225# is set to a very high value (for example, '999999999999999'), it is
4226# likely to be picked if another cell do not have a higher weight.
4227# (list value)
4228# This option is deprecated for removal since 16.0.0.
4229# Its value may be silently ignored in the future.
4230# Reason: Cells v1 is being replaced with Cells v2.
4231#scheduler_weight_classes = nova.cells.weights.all_weighers
4232
4233# DEPRECATED:
4234# Scheduler retries.
4235#
4236# How many retries when no cells are available. Specifies how many
4237# times the scheduler tries to launch a new instance when no cells
4238# are available.
4239#
4240# Possible values:
4241#
4242# * Positive integer value
4243#
4244# Related options:
4245#
4246# * This value is used with the ``scheduler_retry_delay`` value
4247# while retrying to find a suitable cell.
4248# (integer value)
4249# This option is deprecated for removal since 16.0.0.
4250# Its value may be silently ignored in the future.
4251# Reason: Cells v1 is being replaced with Cells v2.
4252#scheduler_retries = 10
4253
4254# DEPRECATED:
4255# Scheduler retry delay.
4256#
4257# Specifies the delay (in seconds) between scheduling retries when no
4258# cell can be found to place the new instance on. When the instance
4259# could not be scheduled to a cell after ``scheduler_retries`` in
4260# combination with ``scheduler_retry_delay``, then the scheduling
4261# of the instance failed.
4262#
4263# Possible values:
4264#
4265# * Time in seconds.
4266#
4267# Related options:
4268#
4269# * This value is used with the ``scheduler_retries`` value
4270# while retrying to find a suitable cell.
4271# (integer value)
4272# This option is deprecated for removal since 16.0.0.
4273# Its value may be silently ignored in the future.
4274# Reason: Cells v1 is being replaced with Cells v2.
4275#scheduler_retry_delay = 2
4276
4277# DEPRECATED:
4278# DB check interval.
4279#
4280# Cell state manager updates cell status for all cells from the DB
4281# only after this particular interval time is passed. Otherwise cached
4282# status are used. If this value is 0 or negative all cell status are
4283# updated from the DB whenever a state is needed.
4284#
4285# Possible values:
4286#
4287# * Interval time, in seconds.
4288#
4289# (integer value)
4290# This option is deprecated for removal since 16.0.0.
4291# Its value may be silently ignored in the future.
4292# Reason: Cells v1 is being replaced with Cells v2.
4293#db_check_interval = 60
4294
4295# DEPRECATED:
4296# Optional cells configuration.
4297#
4298# Configuration file from which to read cells configuration. If given,
4299# overrides reading cells from the database.
4300#
4301# Cells store all inter-cell communication data, including user names
4302# and passwords, in the database. Because the cells data is not
4303# updated
4304# very frequently, use this option to specify a JSON file to store
4305# cells data. With this configuration, the database is no longer
4306# consulted when reloading the cells data. The file must have columns
4307# present in the Cell model (excluding common database fields and the
4308# id column). You must specify the queue connection information
4309# through
4310# a transport_url field, instead of username, password, and so on.
4311#
4312# The transport_url has the following form:
4313# rabbit://USERNAME:PASSWORD@HOSTNAME:PORT/VIRTUAL_HOST
4314#
4315# Possible values:
4316#
4317# The scheme can be either qpid or rabbit, the following sample shows
4318# this optional configuration:
4319#
4320# {
4321# "parent": {
4322# "name": "parent",
4323# "api_url": "http://api.example.com:8774",
4324# "transport_url": "rabbit://rabbit.example.com",
4325# "weight_offset": 0.0,
4326# "weight_scale": 1.0,
4327# "is_parent": true
4328# },
4329# "cell1": {
4330# "name": "cell1",
4331# "api_url": "http://api.example.com:8774",
4332# "transport_url": "rabbit://rabbit1.example.com",
4333# "weight_offset": 0.0,
4334# "weight_scale": 1.0,
4335# "is_parent": false
4336# },
4337# "cell2": {
4338# "name": "cell2",
4339# "api_url": "http://api.example.com:8774",
4340# "transport_url": "rabbit://rabbit2.example.com",
4341# "weight_offset": 0.0,
4342# "weight_scale": 1.0,
4343# "is_parent": false
4344# }
4345# }
4346#
4347# (string value)
4348# This option is deprecated for removal since 16.0.0.
4349# Its value may be silently ignored in the future.
4350# Reason: Cells v1 is being replaced with Cells v2.
4351#cells_config = <None>
4352
4353
4354[cinder]
4355
4356#
4357# From nova.conf
4358#
Oleh Hryhorov5d0f13a2018-05-21 17:02:54 +00004359
4360#
4361# Info to match when looking for cinder in the service catalog.
4362#
4363# Possible values:
4364#
4365# * Format is separated values of the form:
4366# <service_type>:<service_name>:<endpoint_type>
4367#
4368# Note: Nova does not support the Cinder v2 API since the Nova 17.0.0
4369# Queens
4370# release.
4371#
4372# Related options:
4373#
4374# * endpoint_template - Setting this option will override catalog_info
4375# (string value)
4376#catalog_info = volumev3:cinderv3:publicURL
Vasyl Saienkob6066be2018-05-25 15:41:55 +03004377catalog_info = volumev3:cinderv3:publicURL
Oleh Hryhorov5d0f13a2018-05-21 17:02:54 +00004378
4379#
4380# If this option is set then it will override service catalog lookup
4381# with
4382# this template for cinder endpoint
4383#
4384# Possible values:
4385#
4386# * URL for cinder endpoint API
4387# e.g. http://localhost:8776/v3/%(project_id)s
4388#
4389# Note: Nova does not support the Cinder v2 API since the Nova 17.0.0
4390# Queens
4391# release.
4392#
4393# Related options:
4394#
4395# * catalog_info - If endpoint_template is not set, catalog_info will
4396# be used.
4397# (string value)
4398#endpoint_template = <None>
4399
Oleh Hryhorov5d0f13a2018-05-21 17:02:54 +00004400# * Any string representing region name
4401# (string value)
4402#os_region_name = <None>
4403os_region_name = {{ controller.identity.region }}
4404
4405#
4406# Number of times cinderclient should retry on any failed http call.
4407# 0 means connection is attempted only once. Setting it to any
4408# positive integer
4409# means that on failure connection is retried that many times e.g.
4410# setting it
4411# to 3 means total attempts to connect will be 4.
4412#
4413# Possible values:
4414#
4415# * Any integer value. 0 means connection is attempted only once
4416# (integer value)
4417# Minimum value: 0
4418#http_retries = 3
4419
4420#
4421# Allow attach between instance and volume in different availability
4422# zones.
4423#
4424# If False, volumes attached to an instance must be in the same
4425# availability
4426# zone in Cinder as the instance availability zone in Nova.
4427# This also means care should be taken when booting an instance from a
4428# volume
4429# where source is not "volume" because Nova will attempt to create a
4430# volume using
4431# the same availability zone as what is assigned to the instance.
4432# If that AZ is not in Cinder (or
4433# allow_availability_zone_fallback=False in
4434# cinder.conf), the volume create request will fail and the instance
4435# will fail
4436# the build request.
4437# By default there is no availability zone restriction on volume
4438# attach.
4439# (boolean value)
4440#cross_az_attach = true
4441{%- if controller.cross_az_attach is defined %}
4442cross_az_attach={{ controller.cross_az_attach }}
4443{%- endif %}
4444
Vasyl Saienkob6066be2018-05-25 15:41:55 +03004445{%- set _data = controller.get('cinder', controller.get('identity', {})) %}
4446{%- set auth_type = _data.get('auth_type', 'password') %}
4447{%- include "oslo_templates/files/queens/keystoneauth/_type_" + auth_type + ".conf" %}
Oleh Hryhorov5d0f13a2018-05-21 17:02:54 +00004448
4449[conductor]
4450#
4451# Options under this group are used to define Conductor's
4452# communication,
4453# which manager should be act as a proxy between computes and
4454# database,
4455# and finally, how many worker processes will be used.
4456
4457#
4458# From nova.conf
4459#
4460
4461# DEPRECATED:
4462# Topic exchange name on which conductor nodes listen.
4463# (string value)
4464# This option is deprecated for removal since 15.0.0.
4465# Its value may be silently ignored in the future.
4466# Reason:
4467# There is no need to let users choose the RPC topic for all services
4468# - there
4469# is little gain from this. Furthermore, it makes it really easy to
4470# break Nova
4471# by using this option.
4472#topic = conductor
4473
4474#
4475# Number of workers for OpenStack Conductor service. The default will
4476# be the
4477# number of CPUs available.
4478# (integer value)
4479workers = {{ controller.workers }}
4480
4481
4482[console]
4483#
4484# Options under this group allow to tune the configuration of the
4485# console proxy
4486# service.
4487#
4488# Note: in configuration of every compute is a ``console_host``
4489# option,
4490# which allows to select the console proxy service to connect to.
4491
4492#
4493# From nova.conf
4494#
4495
4496#
4497# Adds list of allowed origins to the console websocket proxy to allow
4498# connections from other origin hostnames.
4499# Websocket proxy matches the host header with the origin header to
4500# prevent cross-site requests. This list specifies if any there are
4501# values other than host are allowed in the origin header.
4502#
4503# Possible values:
4504#
4505# * A list where each element is an allowed origin hostnames, else an
4506# empty list
4507# (list value)
4508# Deprecated group/name - [DEFAULT]/console_allowed_origins
4509#allowed_origins =
4510
4511
4512[consoleauth]
4513
4514#
4515# From nova.conf
4516#
4517
4518#
4519# The lifetime of a console auth token (in seconds).
4520#
4521# A console auth token is used in authorizing console access for a
4522# user.
4523# Once the auth token time to live count has elapsed, the token is
4524# considered expired. Expired tokens are then deleted.
4525# (integer value)
4526# Minimum value: 0
4527# Deprecated group/name - [DEFAULT]/console_token_ttl
4528#token_ttl = 600
4529
4530[cors]
4531{%- if controller.cors is defined %}
4532{%- set _data = controller.cors %}
4533{%- include "oslo_templates/files/queens/oslo/_cors.conf" %}
4534{%- endif %}
4535
4536[crypto]
4537
4538#
4539# From nova.conf
4540#
4541
4542#
4543# Filename of root CA (Certificate Authority). This is a container
4544# format
4545# and includes root certificates.
4546#
4547# Possible values:
4548#
4549# * Any file name containing root CA, cacert.pem is default
4550#
4551# Related options:
4552#
4553# * ca_path
4554# (string value)
4555#ca_file = cacert.pem
4556
4557#
4558# Filename of a private key.
4559#
4560# Related options:
4561#
4562# * keys_path
4563# (string value)
4564#key_file = private/cakey.pem
4565
4566#
4567# Filename of root Certificate Revocation List (CRL). This is a list
4568# of
4569# certificates that have been revoked, and therefore, entities
4570# presenting
4571# those (revoked) certificates should no longer be trusted.
4572#
4573# Related options:
4574#
4575# * ca_path
4576# (string value)
4577#crl_file = crl.pem
4578
4579#
4580# Directory path where keys are located.
4581#
4582# Related options:
4583#
4584# * key_file
4585# (string value)
4586#keys_path = $state_path/keys
4587
4588#
4589# Directory path where root CA is located.
4590#
4591# Related options:
4592#
4593# * ca_file
4594# (string value)
4595#ca_path = $state_path/CA
4596
4597# Option to enable/disable use of CA for each project. (boolean value)
4598#use_project_ca = false
4599
4600#
4601# Subject for certificate for users, %s for
4602# project, user, timestamp
4603# (string value)
4604#user_cert_subject = /C=US/ST=California/O=OpenStack/OU=NovaDev/CN=%.16s-%.16s-%s
4605
4606#
4607# Subject for certificate for projects, %s for
4608# project, timestamp
4609# (string value)
4610#project_cert_subject = /C=US/ST=California/O=OpenStack/OU=NovaDev/CN=project-ca-%.16s-%s
4611
4612
4613[devices]
4614
4615#
4616# From nova.conf
4617#
4618
4619#
4620# A list of the vGPU types enabled in the compute node.
4621#
4622# Some pGPUs (e.g. NVIDIA GRID K1) support different vGPU types. User
4623# can use
4624# this option to specify a list of enabled vGPU types that may be
4625# assigned to a
4626# guest instance. But please note that Nova only supports a single
4627# type in the
4628# Queens release. If more than one vGPU type is specified (as a comma-
4629# separated
4630# list), only the first one will be used. An example is as the
4631# following:
4632# [devices]
4633# enabled_vgpu_types = GRID K100,Intel GVT-g,MxGPU.2,nvidia-11
4634# (list value)
4635#enabled_vgpu_types =
4636
4637
4638[ephemeral_storage_encryption]
4639
4640#
4641# From nova.conf
4642#
4643
4644#
4645# Enables/disables LVM ephemeral storage encryption.
4646# (boolean value)
4647#enabled = false
4648
4649#
4650# Cipher-mode string to be used.
4651#
4652# The cipher and mode to be used to encrypt ephemeral storage. The set
4653# of
4654# cipher-mode combinations available depends on kernel support.
4655# According
4656# to the dm-crypt documentation, the cipher is expected to be in the
4657# format:
4658# "<cipher>-<chainmode>-<ivmode>".
4659#
4660# Possible values:
4661#
4662# * Any crypto option listed in ``/proc/crypto``.
4663# (string value)
4664#cipher = aes-xts-plain64
4665
4666#
4667# Encryption key length in bits.
4668#
4669# The bit length of the encryption key to be used to encrypt ephemeral
4670# storage.
4671# In XTS mode only half of the bits are used for encryption key.
4672# (integer value)
4673# Minimum value: 1
4674#key_size = 512
4675
4676
4677[filter_scheduler]
4678
4679#
4680# From nova.conf
4681#
4682
4683#
4684# Size of subset of best hosts selected by scheduler.
4685#
4686# New instances will be scheduled on a host chosen randomly from a
4687# subset of the
4688# N best hosts, where N is the value set by this option.
4689#
4690# Setting this to a value greater than 1 will reduce the chance that
4691# multiple
4692# scheduler processes handling similar requests will select the same
4693# host,
4694# creating a potential race condition. By selecting a host randomly
4695# from the N
4696# hosts that best fit the request, the chance of a conflict is
4697# reduced. However,
4698# the higher you set this value, the less optimal the chosen host may
4699# be for a
4700# given request.
4701#
4702# This option is only used by the FilterScheduler and its subclasses;
4703# if you use
4704# a different scheduler, this option has no effect.
4705#
4706# Possible values:
4707#
4708# * An integer, where the integer corresponds to the size of a host
4709# subset. Any
4710# integer is valid, although any value less than 1 will be treated
4711# as 1
4712# (integer value)
4713# Minimum value: 1
4714# Deprecated group/name - [DEFAULT]/scheduler_host_subset_size
4715host_subset_size = 30
4716
4717#
4718# The number of instances that can be actively performing IO on a
4719# host.
4720#
4721# Instances performing IO includes those in the following states:
4722# build, resize,
4723# snapshot, migrate, rescue, unshelve.
4724#
4725# This option is only used by the FilterScheduler and its subclasses;
4726# if you use
4727# a different scheduler, this option has no effect. Also note that
4728# this setting
4729# only affects scheduling if the 'io_ops_filter' filter is enabled.
4730#
4731# Possible values:
4732#
4733# * An integer, where the integer corresponds to the max number of
4734# instances
4735# that can be actively performing IO on any given host.
4736# (integer value)
4737max_io_ops_per_host = 8
4738
4739#
4740# Maximum number of instances that be active on a host.
4741#
4742# If you need to limit the number of instances on any given host, set
4743# this option
4744# to the maximum number of instances you want to allow. The
4745# num_instances_filter
4746# will reject any host that has at least as many instances as this
4747# option's
4748# value.
4749#
4750# This option is only used by the FilterScheduler and its subclasses;
4751# if you use
4752# a different scheduler, this option has no effect. Also note that
4753# this setting
4754# only affects scheduling if the 'num_instances_filter' filter is
4755# enabled.
4756#
4757# Possible values:
4758#
4759# * An integer, where the integer corresponds to the max instances
4760# that can be
4761# scheduled on a host.
4762# (integer value)
4763# Minimum value: 1
4764max_instances_per_host = 50
4765
4766#
4767# Enable querying of individual hosts for instance information.
4768#
4769# The scheduler may need information about the instances on a host in
4770# order to
4771# evaluate its filters and weighers. The most common need for this
4772# information is
4773# for the (anti-)affinity filters, which need to choose a host based
4774# on the
4775# instances already running on a host.
4776#
4777# If the configured filters and weighers do not need this information,
4778# disabling
4779# this option will improve performance. It may also be disabled when
4780# the tracking
4781# overhead proves too heavy, although this will cause classes
4782# requiring host
4783# usage data to query the database on each request instead.
4784#
4785# This option is only used by the FilterScheduler and its subclasses;
4786# if you use
4787# a different scheduler, this option has no effect.
4788#
4789# NOTE: In a multi-cell (v2) setup where the cell MQ is separated from
4790# the
4791# top-level, computes cannot directly communicate with the scheduler.
4792# Thus,
4793# this option cannot be enabled in that scenario. See also the
4794# [workarounds]/disable_group_policy_check_upcall option.
4795# (boolean value)
4796# Deprecated group/name - [DEFAULT]/scheduler_tracks_instance_changes
4797#track_instance_changes = true
4798
4799#
4800# Filters that the scheduler can use.
4801#
4802# An unordered list of the filter classes the nova scheduler may
4803# apply. Only the
4804# filters specified in the 'enabled_filters' option will be used, but
4805# any filter appearing in that option must also be included in this
4806# list.
4807#
4808# By default, this is set to all filters that are included with nova.
4809#
4810# This option is only used by the FilterScheduler and its subclasses;
4811# if you use
4812# a different scheduler, this option has no effect.
4813#
4814# Possible values:
4815#
4816# * A list of zero or more strings, where each string corresponds to
4817# the name of
4818# a filter that may be used for selecting a host
4819#
4820# Related options:
4821#
4822# * enabled_filters
4823# (multi valued)
4824# Deprecated group/name - [DEFAULT]/scheduler_available_filters
4825#available_filters = nova.scheduler.filters.all_filters
4826available_filters=nova.scheduler.filters.all_filters
4827available_filters=nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter
4828{% for filter in controller.get('scheduler_custom_filters', []) %}
4829scheduler_available_filters = {{ filter }}
4830{% endfor %}
4831
4832#
4833# Filters that the scheduler will use.
4834#
4835# An ordered list of filter class names that will be used for
4836# filtering
4837# hosts. These filters will be applied in the order they are listed so
4838# place your most restrictive filters first to make the filtering
4839# process more
4840# efficient.
4841#
4842# This option is only used by the FilterScheduler and its subclasses;
4843# if you use
4844# a different scheduler, this option has no effect.
4845#
4846# Possible values:
4847#
4848# * A list of zero or more strings, where each string corresponds to
4849# the name of
4850# a filter to be used for selecting a host
4851#
4852# Related options:
4853#
4854# * All of the filters in this option *must* be present in the
4855# 'scheduler_available_filters' option, or a
4856# SchedulerHostFilterNotFound
4857# exception will be raised.
4858# (list value)
4859# Deprecated group/name - [DEFAULT]/scheduler_default_filters
4860#enabled_filters = RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
4861enabled_filters={{ controller.scheduler_default_filters }}
4862
4863# DEPRECATED:
4864# Filters used for filtering baremetal hosts.
4865#
4866# Filters are applied in order, so place your most restrictive filters
4867# first to
4868# make the filtering process more efficient.
4869#
4870# This option is only used by the FilterScheduler and its subclasses;
4871# if you use
4872# a different scheduler, this option has no effect.
4873#
4874# Possible values:
4875#
4876# * A list of zero or more strings, where each string corresponds to
4877# the name of
4878# a filter to be used for selecting a baremetal host
4879#
4880# Related options:
4881#
4882# * If the 'scheduler_use_baremetal_filters' option is False, this
4883# option has
4884# no effect.
4885# (list value)
4886# Deprecated group/name - [DEFAULT]/baremetal_scheduler_default_filters
4887# This option is deprecated for removal.
4888# Its value may be silently ignored in the future.
4889# Reason:
4890# These filters were used to overcome some of the baremetal scheduling
4891# limitations in Nova prior to the use of the Placement API. Now
4892# scheduling will
4893# use the custom resource class defined for each baremetal node to
4894# make its
4895# selection.
4896#baremetal_enabled_filters = RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ExactRamFilter,ExactDiskFilter,ExactCoreFilter
4897
4898# DEPRECATED:
4899# Enable baremetal filters.
4900#
4901# Set this to True to tell the nova scheduler that it should use the
4902# filters
4903# specified in the 'baremetal_enabled_filters' option. If you are not
4904# scheduling baremetal nodes, leave this at the default setting of
4905# False.
4906#
4907# This option is only used by the FilterScheduler and its subclasses;
4908# if you use
4909# a different scheduler, this option has no effect.
4910#
4911# Related options:
4912#
4913# * If this option is set to True, then the filters specified in the
4914# 'baremetal_enabled_filters' are used instead of the filters
4915# specified in 'enabled_filters'.
4916# (boolean value)
4917# Deprecated group/name - [DEFAULT]/scheduler_use_baremetal_filters
4918# This option is deprecated for removal.
4919# Its value may be silently ignored in the future.
4920# Reason:
4921# These filters were used to overcome some of the baremetal scheduling
4922# limitations in Nova prior to the use of the Placement API. Now
4923# scheduling will
4924# use the custom resource class defined for each baremetal node to
4925# make its
4926# selection.
4927#use_baremetal_filters = false
4928
4929#
4930# Weighers that the scheduler will use.
4931#
4932# Only hosts which pass the filters are weighed. The weight for any
4933# host starts
4934# at 0, and the weighers order these hosts by adding to or subtracting
4935# from the
4936# weight assigned by the previous weigher. Weights may become
4937# negative. An
4938# instance will be scheduled to one of the N most-weighted hosts,
4939# where N is
4940# 'scheduler_host_subset_size'.
4941#
4942# By default, this is set to all weighers that are included with Nova.
4943#
4944# This option is only used by the FilterScheduler and its subclasses;
4945# if you use
4946# a different scheduler, this option has no effect.
4947#
4948# Possible values:
4949#
4950# * A list of zero or more strings, where each string corresponds to
4951# the name of
4952# a weigher that will be used for selecting a host
4953# (list value)
4954# Deprecated group/name - [DEFAULT]/scheduler_weight_classes
4955#weight_classes = nova.scheduler.weights.all_weighers
4956
4957#
4958# Ram weight multipler ratio.
4959#
4960# This option determines how hosts with more or less available RAM are
4961# weighed. A
4962# positive value will result in the scheduler preferring hosts with
4963# more
4964# available RAM, and a negative number will result in the scheduler
4965# preferring
4966# hosts with less available RAM. Another way to look at it is that
4967# positive
4968# values for this option will tend to spread instances across many
4969# hosts, while
4970# negative values will tend to fill up (stack) hosts as much as
4971# possible before
4972# scheduling to a less-used host. The absolute value, whether positive
4973# or
4974# negative, controls how strong the RAM weigher is relative to other
4975# weighers.
4976#
4977# This option is only used by the FilterScheduler and its subclasses;
4978# if you use
4979# a different scheduler, this option has no effect. Also note that
4980# this setting
4981# only affects scheduling if the 'ram' weigher is enabled.
4982#
4983# Possible values:
4984#
4985# * An integer or float value, where the value corresponds to the
4986# multipler
4987# ratio for this weigher.
4988# (floating point value)
4989#ram_weight_multiplier = 1.0
4990
4991#
4992# Disk weight multipler ratio.
4993#
4994# Multiplier used for weighing free disk space. Negative numbers mean
4995# to
4996# stack vs spread.
4997#
4998# This option is only used by the FilterScheduler and its subclasses;
4999# if you use
5000# a different scheduler, this option has no effect. Also note that
5001# this setting
5002# only affects scheduling if the 'disk' weigher is enabled.
5003#
5004# Possible values:
5005#
5006# * An integer or float value, where the value corresponds to the
5007# multipler
5008# ratio for this weigher.
5009# (floating point value)
5010#disk_weight_multiplier = 1.0
5011
5012#
5013# IO operations weight multipler ratio.
5014#
5015# This option determines how hosts with differing workloads are
5016# weighed. Negative
5017# values, such as the default, will result in the scheduler preferring
5018# hosts with
5019# lighter workloads whereas positive values will prefer hosts with
5020# heavier
5021# workloads. Another way to look at it is that positive values for
5022# this option
5023# will tend to schedule instances onto hosts that are already busy,
5024# while
5025# negative values will tend to distribute the workload across more
5026# hosts. The
5027# absolute value, whether positive or negative, controls how strong
5028# the io_ops
5029# weigher is relative to other weighers.
5030#
5031# This option is only used by the FilterScheduler and its subclasses;
5032# if you use
5033# a different scheduler, this option has no effect. Also note that
5034# this setting
5035# only affects scheduling if the 'io_ops' weigher is enabled.
5036#
5037# Possible values:
5038#
5039# * An integer or float value, where the value corresponds to the
5040# multipler
5041# ratio for this weigher.
5042# (floating point value)
5043#io_ops_weight_multiplier = -1.0
5044
5045#
5046# PCI device affinity weight multiplier.
5047#
5048# The PCI device affinity weighter computes a weighting based on the
5049# number of
5050# PCI devices on the host and the number of PCI devices requested by
5051# the
5052# instance. The ``NUMATopologyFilter`` filter must be enabled for this
5053# to have
5054# any significance. For more information, refer to the filter
5055# documentation:
5056#
5057# https://docs.openstack.org/nova/latest/user/filter-
5058# scheduler.html
5059#
5060# Possible values:
5061#
5062# * A positive integer or float value, where the value corresponds to
5063# the
5064# multiplier ratio for this weigher.
5065# (floating point value)
5066# Minimum value: 0
5067#pci_weight_multiplier = 1.0
5068
5069#
5070# Multiplier used for weighing hosts for group soft-affinity.
5071#
5072# Possible values:
5073#
5074# * An integer or float value, where the value corresponds to weight
5075# multiplier
5076# for hosts with group soft affinity. Only a positive value are
5077# meaningful, as
5078# negative values would make this behave as a soft anti-affinity
5079# weigher.
5080# (floating point value)
5081#soft_affinity_weight_multiplier = 1.0
5082
5083#
5084# Multiplier used for weighing hosts for group soft-anti-affinity.
5085#
5086# Possible values:
5087#
5088# * An integer or float value, where the value corresponds to weight
5089# multiplier
5090# for hosts with group soft anti-affinity. Only a positive value are
5091# meaningful, as negative values would make this behave as a soft
5092# affinity
5093# weigher.
5094# (floating point value)
5095#soft_anti_affinity_weight_multiplier = 1.0
5096
5097#
5098# Enable spreading the instances between hosts with the same best
5099# weight.
5100#
5101# Enabling it is beneficial for cases when host_subset_size is 1
5102# (default), but there is a large number of hosts with same maximal
5103# weight.
5104# This scenario is common in Ironic deployments where there are
5105# typically many
5106# baremetal nodes with identical weights returned to the scheduler.
5107# In such case enabling this option will reduce contention and chances
5108# for
5109# rescheduling events.
5110# At the same time it will make the instance packing (even in
5111# unweighed case)
5112# less dense.
5113# (boolean value)
5114#shuffle_best_same_weighed_hosts = false
5115
5116#
5117# The default architecture to be used when using the image properties
5118# filter.
5119#
5120# When using the ImagePropertiesFilter, it is possible that you want
5121# to define
5122# a default architecture to make the user experience easier and avoid
5123# having
5124# something like x86_64 images landing on aarch64 compute nodes
5125# because the
5126# user did not specify the 'hw_architecture' property in Glance.
5127#
5128# Possible values:
5129#
5130# * CPU Architectures such as x86_64, aarch64, s390x.
5131# (string value)
5132# Possible values:
5133# alpha - <No description provided>
5134# armv6 - <No description provided>
5135# armv7l - <No description provided>
5136# armv7b - <No description provided>
5137# aarch64 - <No description provided>
5138# cris - <No description provided>
5139# i686 - <No description provided>
5140# ia64 - <No description provided>
5141# lm32 - <No description provided>
5142# m68k - <No description provided>
5143# microblaze - <No description provided>
5144# microblazeel - <No description provided>
5145# mips - <No description provided>
5146# mipsel - <No description provided>
5147# mips64 - <No description provided>
5148# mips64el - <No description provided>
5149# openrisc - <No description provided>
5150# parisc - <No description provided>
5151# parisc64 - <No description provided>
5152# ppc - <No description provided>
5153# ppcle - <No description provided>
5154# ppc64 - <No description provided>
5155# ppc64le - <No description provided>
5156# ppcemb - <No description provided>
5157# s390 - <No description provided>
5158# s390x - <No description provided>
5159# sh4 - <No description provided>
5160# sh4eb - <No description provided>
5161# sparc - <No description provided>
5162# sparc64 - <No description provided>
5163# unicore32 - <No description provided>
5164# x86_64 - <No description provided>
5165# xtensa - <No description provided>
5166# xtensaeb - <No description provided>
5167#image_properties_default_architecture = <None>
5168
5169#
5170# List of UUIDs for images that can only be run on certain hosts.
5171#
5172# If there is a need to restrict some images to only run on certain
5173# designated
5174# hosts, list those image UUIDs here.
5175#
5176# This option is only used by the FilterScheduler and its subclasses;
5177# if you use
5178# a different scheduler, this option has no effect. Also note that
5179# this setting
5180# only affects scheduling if the 'IsolatedHostsFilter' filter is
5181# enabled.
5182#
5183# Possible values:
5184#
5185# * A list of UUID strings, where each string corresponds to the UUID
5186# of an
5187# image
5188#
5189# Related options:
5190#
5191# * scheduler/isolated_hosts
5192# * scheduler/restrict_isolated_hosts_to_isolated_images
5193# (list value)
5194#isolated_images =
5195
5196#
5197# List of hosts that can only run certain images.
5198#
5199# If there is a need to restrict some images to only run on certain
5200# designated
5201# hosts, list those host names here.
5202#
5203# This option is only used by the FilterScheduler and its subclasses;
5204# if you use
5205# a different scheduler, this option has no effect. Also note that
5206# this setting
5207# only affects scheduling if the 'IsolatedHostsFilter' filter is
5208# enabled.
5209#
5210# Possible values:
5211#
5212# * A list of strings, where each string corresponds to the name of a
5213# host
5214#
5215# Related options:
5216#
5217# * scheduler/isolated_images
5218# * scheduler/restrict_isolated_hosts_to_isolated_images
5219# (list value)
5220#isolated_hosts =
5221
5222#
5223# Prevent non-isolated images from being built on isolated hosts.
5224#
5225# This option is only used by the FilterScheduler and its subclasses;
5226# if you use
5227# a different scheduler, this option has no effect. Also note that
5228# this setting
5229# only affects scheduling if the 'IsolatedHostsFilter' filter is
5230# enabled. Even
5231# then, this option doesn't affect the behavior of requests for
5232# isolated images,
5233# which will *always* be restricted to isolated hosts.
5234#
5235# Related options:
5236#
5237# * scheduler/isolated_images
5238# * scheduler/isolated_hosts
5239# (boolean value)
5240#restrict_isolated_hosts_to_isolated_images = true
5241
5242#
5243# Image property namespace for use in the host aggregate.
5244#
5245# Images and hosts can be configured so that certain images can only
5246# be scheduled
5247# to hosts in a particular aggregate. This is done with metadata
5248# values set on
5249# the host aggregate that are identified by beginning with the value
5250# of this
5251# option. If the host is part of an aggregate with such a metadata
5252# key, the image
5253# in the request spec must have the value of that metadata in its
5254# properties in
5255# order for the scheduler to consider the host as acceptable.
5256#
5257# This option is only used by the FilterScheduler and its subclasses;
5258# if you use
5259# a different scheduler, this option has no effect. Also note that
5260# this setting
5261# only affects scheduling if the
5262# 'aggregate_image_properties_isolation' filter is
5263# enabled.
5264#
5265# Possible values:
5266#
5267# * A string, where the string corresponds to an image property
5268# namespace
5269#
5270# Related options:
5271#
5272# * aggregate_image_properties_isolation_separator
5273# (string value)
5274#aggregate_image_properties_isolation_namespace = <None>
5275
5276#
5277# Separator character(s) for image property namespace and name.
5278#
5279# When using the aggregate_image_properties_isolation filter, the
5280# relevant
5281# metadata keys are prefixed with the namespace defined in the
5282# aggregate_image_properties_isolation_namespace configuration option
5283# plus a
5284# separator. This option defines the separator to be used.
5285#
5286# This option is only used by the FilterScheduler and its subclasses;
5287# if you use
5288# a different scheduler, this option has no effect. Also note that
5289# this setting
5290# only affects scheduling if the
5291# 'aggregate_image_properties_isolation' filter
5292# is enabled.
5293#
5294# Possible values:
5295#
5296# * A string, where the string corresponds to an image property
5297# namespace
5298# separator character
5299#
5300# Related options:
5301#
5302# * aggregate_image_properties_isolation_namespace
5303# (string value)
5304#aggregate_image_properties_isolation_separator = .
5305
5306
5307[glance]
5308# Configuration options for the Image service
5309
5310#
5311# From nova.conf
5312#
5313
5314#
5315# List of glance api servers endpoints available to nova.
5316#
5317# https is used for ssl-based glance api servers.
5318#
5319# NOTE: The preferred mechanism for endpoint discovery is via
5320# keystoneauth1
5321# loading options. Only use api_servers if you need multiple endpoints
5322# and are
5323# unable to use a load balancer for some reason.
5324#
5325# Possible values:
5326#
5327# * A list of any fully qualified url of the form
5328# "scheme://hostname:port[/path]"
5329# (i.e. "http://10.0.1.0:9292" or "https://my.glance.server/image").
5330# (list value)
5331#api_servers = <None>
5332api_servers = {{ controller.glance.get('protocol', 'http') }}://{{ controller.glance.host }}:{{ controller.glance.get('port', 9292) }}
5333
5334#
5335# Enable glance operation retries.
5336#
5337# Specifies the number of retries when uploading / downloading
5338# an image to / from glance. 0 means no retries.
5339# (integer value)
5340# Minimum value: 0
5341#num_retries = 0
5342
5343# DEPRECATED:
5344# List of url schemes that can be directly accessed.
5345#
5346# This option specifies a list of url schemes that can be downloaded
5347# directly via the direct_url. This direct_URL can be fetched from
5348# Image metadata which can be used by nova to get the
5349# image more efficiently. nova-compute could benefit from this by
5350# invoking a copy when it has access to the same file system as
5351# glance.
5352#
5353# Possible values:
5354#
5355# * [file], Empty list (default)
5356# (list value)
5357# This option is deprecated for removal since 17.0.0.
5358# Its value may be silently ignored in the future.
5359# Reason:
5360# This was originally added for the 'nova.image.download.file'
5361# FileTransfer
5362# extension which was removed in the 16.0.0 Pike release. The
5363# 'nova.image.download.modules' extension point is not maintained
5364# and there is no indication of its use in production clouds.
5365#allowed_direct_url_schemes =
5366
5367#
5368# Enable image signature verification.
5369#
5370# nova uses the image signature metadata from glance and verifies the
5371# signature
5372# of a signed image while downloading that image. If the image
5373# signature cannot
5374# be verified or if the image signature metadata is either incomplete
5375# or
5376# unavailable, then nova will not boot the image and instead will
5377# place the
5378# instance into an error state. This provides end users with stronger
5379# assurances
5380# of the integrity of the image data they are using to create servers.
5381#
5382# Related options:
5383#
5384# * The options in the `key_manager` group, as the key_manager is used
5385# for the signature validation.
5386# * Both enable_certificate_validation and
5387# default_trusted_certificate_ids
5388# below depend on this option being enabled.
5389# (boolean value)
5390{%- if controller.get('barbican', {}).get('enabled', False) %}
5391verify_glance_signatures=true
5392{%- else %}
5393#verify_glance_signatures=false
5394{%- endif %}
5395
5396# DEPRECATED:
5397# Enable certificate validation for image signature verification.
5398#
5399# During image signature verification nova will first verify the
5400# validity of the
5401# image's signing certificate using the set of trusted certificates
5402# associated
5403# with the instance. If certificate validation fails, signature
5404# verification
5405# will not be performed and the image will be placed into an error
5406# state. This
5407# provides end users with stronger assurances that the image data is
5408# unmodified
5409# and trustworthy. If left disabled, image signature verification can
5410# still
5411# occur but the end user will not have any assurance that the signing
5412# certificate used to generate the image signature is still
5413# trustworthy.
5414#
5415# Related options:
5416#
5417# * This option only takes effect if verify_glance_signatures is
5418# enabled.
5419# * The value of default_trusted_certificate_ids may be used when this
5420# option
5421# is enabled.
5422# (boolean value)
5423# This option is deprecated for removal since 16.0.0.
5424# Its value may be silently ignored in the future.
5425# Reason:
5426# This option is intended to ease the transition for deployments
5427# leveraging
5428# image signature verification. The intended state long-term is for
5429# signature
5430# verification and certificate validation to always happen together.
5431#enable_certificate_validation = false
5432
5433#
5434# List of certificate IDs for certificates that should be trusted.
5435#
5436# May be used as a default list of trusted certificate IDs for
5437# certificate
5438# validation. The value of this option will be ignored if the user
5439# provides a
5440# list of trusted certificate IDs with an instance API request. The
5441# value of
5442# this option will be persisted with the instance data if signature
5443# verification
5444# and certificate validation are enabled and if the user did not
5445# provide an
5446# alternative list. If left empty when certificate validation is
5447# enabled the
5448# user must provide a list of trusted certificate IDs otherwise
5449# certificate
5450# validation will fail.
5451#
5452# Related options:
5453#
5454# * The value of this option may be used if both
5455# verify_glance_signatures and
5456# enable_certificate_validation are enabled.
5457# (list value)
5458#default_trusted_certificate_ids =
5459
5460# Enable or disable debug logging with glanceclient. (boolean value)
5461#debug = false
5462
5463# PEM encoded Certificate Authority to use when verifying HTTPs
5464# connections. (string value)
5465#cafile = <None>
5466
5467# PEM encoded client certificate cert file (string value)
5468#certfile = <None>
5469
5470# PEM encoded client certificate key file (string value)
5471#keyfile = <None>
5472
5473# Verify HTTPS connections. (boolean value)
5474#insecure = false
5475
5476# Timeout value for http requests (integer value)
5477#timeout = <None>
5478
5479# The default service_type for endpoint URL discovery. (string value)
5480#service_type = image
5481
5482# The default service_name for endpoint URL discovery. (string value)
5483#service_name = <None>
5484
5485# List of interfaces, in order of preference, for endpoint URL. (list
5486# value)
5487#valid_interfaces = internal,public
5488
5489# The default region_name for endpoint URL discovery. (string value)
5490#region_name = <None>
5491
5492# Always use this endpoint URL for requests for this client. NOTE: The
5493# unversioned endpoint should be specified here; to request a
5494# particular API version, use the `version`, `min-version`, and/or
5495# `max-version` options. (string value)
5496#endpoint_override = <None>
5497
5498
5499[guestfs]
5500#
5501# libguestfs is a set of tools for accessing and modifying virtual
5502# machine (VM) disk images. You can use this for viewing and editing
5503# files inside guests, scripting changes to VMs, monitoring disk
5504# used/free statistics, creating guests, P2V, V2V, performing backups,
5505# cloning VMs, building VMs, formatting disks and resizing disks.
5506
5507#
5508# From nova.conf
5509#
5510
5511#
5512# Enable/disables guestfs logging.
5513#
5514# This configures guestfs to debug messages and push them to OpenStack
5515# logging system. When set to True, it traces libguestfs API calls and
5516# enable verbose debug messages. In order to use the above feature,
5517# "libguestfs" package must be installed.
5518#
5519# Related options:
5520# Since libguestfs access and modifies VM's managed by libvirt, below
5521# options
5522# should be set to give access to those VM's.
5523# * libvirt.inject_key
5524# * libvirt.inject_partition
5525# * libvirt.inject_password
5526# (boolean value)
5527#debug = false
5528
5529
5530[hyperv]
5531#
5532# The hyperv feature allows you to configure the Hyper-V hypervisor
5533# driver to be used within an OpenStack deployment.
5534
5535#
5536# From nova.conf
5537#
5538
5539#
5540# Dynamic memory ratio
5541#
5542# Enables dynamic memory allocation (ballooning) when set to a value
5543# greater than 1. The value expresses the ratio between the total RAM
5544# assigned to an instance and its startup RAM amount. For example a
5545# ratio of 2.0 for an instance with 1024MB of RAM implies 512MB of
5546# RAM allocated at startup.
5547#
5548# Possible values:
5549#
5550# * 1.0: Disables dynamic memory allocation (Default).
5551# * Float values greater than 1.0: Enables allocation of total implied
5552# RAM divided by this value for startup.
5553# (floating point value)
5554#dynamic_memory_ratio = 1.0
5555
5556#
5557# Enable instance metrics collection
5558#
5559# Enables metrics collections for an instance by using Hyper-V's
5560# metric APIs. Collected data can be retrieved by other apps and
5561# services, e.g.: Ceilometer.
5562# (boolean value)
5563#enable_instance_metrics_collection = false
5564
5565#
5566# Instances path share
5567#
5568# The name of a Windows share mapped to the "instances_path" dir
5569# and used by the resize feature to copy files to the target host.
5570# If left blank, an administrative share (hidden network share) will
5571# be used, looking for the same "instances_path" used locally.
5572#
5573# Possible values:
5574#
5575# * "": An administrative share will be used (Default).
5576# * Name of a Windows share.
5577#
5578# Related options:
5579#
5580# * "instances_path": The directory which will be used if this option
5581# here is left blank.
5582# (string value)
5583#instances_path_share =
5584
5585#
5586# Limit CPU features
5587#
5588# This flag is needed to support live migration to hosts with
5589# different CPU features and checked during instance creation
5590# in order to limit the CPU features used by the instance.
5591# (boolean value)
5592#limit_cpu_features = false
5593
5594#
5595# Mounted disk query retry count
5596#
5597# The number of times to retry checking for a mounted disk.
5598# The query runs until the device can be found or the retry
5599# count is reached.
5600#
5601# Possible values:
5602#
5603# * Positive integer values. Values greater than 1 is recommended
5604# (Default: 10).
5605#
5606# Related options:
5607#
5608# * Time interval between disk mount retries is declared with
5609# "mounted_disk_query_retry_interval" option.
5610# (integer value)
5611# Minimum value: 0
5612#mounted_disk_query_retry_count = 10
5613
5614#
5615# Mounted disk query retry interval
5616#
5617# Interval between checks for a mounted disk, in seconds.
5618#
5619# Possible values:
5620#
5621# * Time in seconds (Default: 5).
5622#
5623# Related options:
5624#
5625# * This option is meaningful when the mounted_disk_query_retry_count
5626# is greater than 1.
5627# * The retry loop runs with mounted_disk_query_retry_count and
5628# mounted_disk_query_retry_interval configuration options.
5629# (integer value)
5630# Minimum value: 0
5631#mounted_disk_query_retry_interval = 5
5632
5633#
5634# Power state check timeframe
5635#
5636# The timeframe to be checked for instance power state changes.
5637# This option is used to fetch the state of the instance from Hyper-V
5638# through the WMI interface, within the specified timeframe.
5639#
5640# Possible values:
5641#
5642# * Timeframe in seconds (Default: 60).
5643# (integer value)
5644# Minimum value: 0
5645#power_state_check_timeframe = 60
5646
5647#
5648# Power state event polling interval
5649#
5650# Instance power state change event polling frequency. Sets the
5651# listener interval for power state events to the given value.
5652# This option enhances the internal lifecycle notifications of
5653# instances that reboot themselves. It is unlikely that an operator
5654# has to change this value.
5655#
5656# Possible values:
5657#
5658# * Time in seconds (Default: 2).
5659# (integer value)
5660# Minimum value: 0
5661#power_state_event_polling_interval = 2
5662
5663#
5664# qemu-img command
5665#
5666# qemu-img is required for some of the image related operations
5667# like converting between different image types. You can get it
5668# from here: (http://qemu.weilnetz.de/) or you can install the
5669# Cloudbase OpenStack Hyper-V Compute Driver
5670# (https://cloudbase.it/openstack-hyperv-driver/) which automatically
5671# sets the proper path for this config option. You can either give the
5672# full path of qemu-img.exe or set its path in the PATH environment
5673# variable and leave this option to the default value.
5674#
5675# Possible values:
5676#
5677# * Name of the qemu-img executable, in case it is in the same
5678# directory as the nova-compute service or its path is in the
5679# PATH environment variable (Default).
5680# * Path of qemu-img command (DRIVELETTER:\PATH\TO\QEMU-IMG\COMMAND).
5681#
5682# Related options:
5683#
5684# * If the config_drive_cdrom option is False, qemu-img will be used
5685# to
5686# convert the ISO to a VHD, otherwise the configuration drive will
5687# remain an ISO. To use configuration drive with Hyper-V, you must
5688# set the mkisofs_cmd value to the full path to an mkisofs.exe
5689# installation.
5690# (string value)
5691#qemu_img_cmd = qemu-img.exe
5692
5693#
5694# External virtual switch name
5695#
5696# The Hyper-V Virtual Switch is a software-based layer-2 Ethernet
5697# network switch that is available with the installation of the
5698# Hyper-V server role. The switch includes programmatically managed
5699# and extensible capabilities to connect virtual machines to both
5700# virtual networks and the physical network. In addition, Hyper-V
5701# Virtual Switch provides policy enforcement for security, isolation,
5702# and service levels. The vSwitch represented by this config option
5703# must be an external one (not internal or private).
5704#
5705# Possible values:
5706#
5707# * If not provided, the first of a list of available vswitches
5708# is used. This list is queried using WQL.
5709# * Virtual switch name.
5710# (string value)
5711#vswitch_name = <None>
5712
5713#
5714# Wait soft reboot seconds
5715#
5716# Number of seconds to wait for instance to shut down after soft
5717# reboot request is made. We fall back to hard reboot if instance
5718# does not shutdown within this window.
5719#
5720# Possible values:
5721#
5722# * Time in seconds (Default: 60).
5723# (integer value)
5724# Minimum value: 0
5725#wait_soft_reboot_seconds = 60
5726
5727#
5728# Configuration drive cdrom
5729#
5730# OpenStack can be configured to write instance metadata to
5731# a configuration drive, which is then attached to the
5732# instance before it boots. The configuration drive can be
5733# attached as a disk drive (default) or as a CD drive.
5734#
5735# Possible values:
5736#
5737# * True: Attach the configuration drive image as a CD drive.
5738# * False: Attach the configuration drive image as a disk drive
5739# (Default).
5740#
5741# Related options:
5742#
5743# * This option is meaningful with force_config_drive option set to
5744# 'True'
5745# or when the REST API call to create an instance will have
5746# '--config-drive=True' flag.
5747# * config_drive_format option must be set to 'iso9660' in order to
5748# use
5749# CD drive as the configuration drive image.
5750# * To use configuration drive with Hyper-V, you must set the
5751# mkisofs_cmd value to the full path to an mkisofs.exe installation.
5752# Additionally, you must set the qemu_img_cmd value to the full path
5753# to an qemu-img command installation.
5754# * You can configure the Compute service to always create a
5755# configuration
5756# drive by setting the force_config_drive option to 'True'.
5757# (boolean value)
5758#config_drive_cdrom = false
5759
5760#
5761# Configuration drive inject password
5762#
5763# Enables setting the admin password in the configuration drive image.
5764#
5765# Related options:
5766#
5767# * This option is meaningful when used with other options that enable
5768# configuration drive usage with Hyper-V, such as
5769# force_config_drive.
5770# * Currently, the only accepted config_drive_format is 'iso9660'.
5771# (boolean value)
5772#config_drive_inject_password = false
5773
5774#
5775# Volume attach retry count
5776#
5777# The number of times to retry attaching a volume. Volume attachment
5778# is retried until success or the given retry count is reached.
5779#
5780# Possible values:
5781#
5782# * Positive integer values (Default: 10).
5783#
5784# Related options:
5785#
5786# * Time interval between attachment attempts is declared with
5787# volume_attach_retry_interval option.
5788# (integer value)
5789# Minimum value: 0
5790#volume_attach_retry_count = 10
5791
5792#
5793# Volume attach retry interval
5794#
5795# Interval between volume attachment attempts, in seconds.
5796#
5797# Possible values:
5798#
5799# * Time in seconds (Default: 5).
5800#
5801# Related options:
5802#
5803# * This options is meaningful when volume_attach_retry_count
5804# is greater than 1.
5805# * The retry loop runs with volume_attach_retry_count and
5806# volume_attach_retry_interval configuration options.
5807# (integer value)
5808# Minimum value: 0
5809#volume_attach_retry_interval = 5
5810
5811#
5812# Enable RemoteFX feature
5813#
5814# This requires at least one DirectX 11 capable graphics adapter for
5815# Windows / Hyper-V Server 2012 R2 or newer and RDS-Virtualization
5816# feature has to be enabled.
5817#
5818# Instances with RemoteFX can be requested with the following flavor
5819# extra specs:
5820#
5821# **os:resolution**. Guest VM screen resolution size. Acceptable
5822# values::
5823#
5824# 1024x768, 1280x1024, 1600x1200, 1920x1200, 2560x1600, 3840x2160
5825#
5826# ``3840x2160`` is only available on Windows / Hyper-V Server 2016.
5827#
5828# **os:monitors**. Guest VM number of monitors. Acceptable values::
5829#
5830# [1, 4] - Windows / Hyper-V Server 2012 R2
5831# [1, 8] - Windows / Hyper-V Server 2016
5832#
5833# **os:vram**. Guest VM VRAM amount. Only available on
5834# Windows / Hyper-V Server 2016. Acceptable values::
5835#
5836# 64, 128, 256, 512, 1024
5837# (boolean value)
5838#enable_remotefx = false
5839
5840#
5841# Use multipath connections when attaching iSCSI or FC disks.
5842#
5843# This requires the Multipath IO Windows feature to be enabled. MPIO
5844# must be
5845# configured to claim such devices.
5846# (boolean value)
5847#use_multipath_io = false
5848
5849#
5850# List of iSCSI initiators that will be used for estabilishing iSCSI
5851# sessions.
5852#
5853# If none are specified, the Microsoft iSCSI initiator service will
5854# choose the
5855# initiator.
5856# (list value)
5857#iscsi_initiator_list =
5858
5859{% if controller.ironic is defined -%}
5860[ironic]
5861#
5862# Configuration options for Ironic driver (Bare Metal).
5863# If using the Ironic driver following options must be set:
5864# * auth_type
5865# * auth_url
5866# * project_name
5867# * username
5868# * password
5869# * project_domain_id or project_domain_name
5870# * user_domain_id or user_domain_name
5871
5872#
5873# From nova.conf
5874#
5875
5876# DEPRECATED: URL override for the Ironic API endpoint. (uri value)
5877# This option is deprecated for removal.
5878# Its value may be silently ignored in the future.
5879# Reason: Endpoint lookup uses the service catalog via common
5880# keystoneauth1 Adapter configuration options. In the current release,
5881# api_endpoint will override this behavior, but will be ignored and/or
5882# removed in a future release. To achieve the same result, use the
5883# endpoint_override option instead.
5884#api_endpoint = http://ironic.example.org:6385/
5885api_endpoint={{ controller.ironic.get('protocol', 'http') }}://{{ controller.ironic.host }}:{{ controller.ironic.port }}
5886
5887#
5888# The number of times to retry when a request conflicts.
5889# If set to 0, only try once, no retries.
5890#
5891# Related options:
5892#
5893# * api_retry_interval
5894# (integer value)
5895# Minimum value: 0
5896#api_max_retries = 60
5897
5898#
5899# The number of seconds to wait before retrying the request.
5900#
5901# Related options:
5902#
5903# * api_max_retries
5904# (integer value)
5905# Minimum value: 0
5906#api_retry_interval = 2
5907
5908# Timeout (seconds) to wait for node serial console state changed. Set
5909# to 0 to disable timeout. (integer value)
5910# Minimum value: 0
5911#serial_console_state_timeout = 10
5912
5913# PEM encoded Certificate Authority to use when verifying HTTPs
5914# connections. (string value)
5915#cafile = <None>
5916{%- if controller.ironic.get('protocol', 'http') == 'https' %}
5917cafile={{ controller.identity.get('cacert_file', controller.cacert_file) }}
5918{%- endif %}
5919
5920# PEM encoded client certificate cert file (string value)
5921#certfile = <None>
5922
5923# PEM encoded client certificate key file (string value)
5924#keyfile = <None>
5925
5926# Verify HTTPS connections. (boolean value)
5927#insecure = false
5928
5929# Timeout value for http requests (integer value)
5930#timeout = <None>
5931
5932# Authentication type to load (string value)
5933# Deprecated group/name - [ironic]/auth_plugin
5934#auth_type = <None>
5935auth_type={{ controller.ironic.auth_type }}
5936
5937# Config Section from which to load plugin specific options (string
5938# value)
5939#auth_section = <None>
5940
5941# Authentication URL (string value)
5942#auth_url = <None>
5943auth_url={{ controller.identity.get('protocol', 'http') }}://{{ controller.identity.host }}:{{ controller.identity.port }}/v3
5944
5945# Scope for system operations (string value)
5946#system_scope = <None>
5947
5948# Domain ID to scope to (string value)
5949#domain_id = <None>
5950
5951# Domain name to scope to (string value)
5952#domain_name = <None>
5953
5954# Project ID to scope to (string value)
5955#project_id = <None>
5956
5957# Project name to scope to (string value)
5958#project_name = <None>
5959project_name={{ controller.identity.tenant }}
5960
5961# Domain ID containing project (string value)
5962#project_domain_id = <None>
5963
5964# Domain name containing project (string value)
5965#project_domain_name = <None>
5966project_domain_name={{ controller.ironic.project_domain_name }}
5967
5968# Trust ID (string value)
5969#trust_id = <None>
5970
5971# User ID (string value)
5972#user_id = <None>
5973
5974# Username (string value)
5975# Deprecated group/name - [ironic]/user_name
5976#username = <None>
5977username={{ controller.ironic.user }}
5978
5979# User's domain id (string value)
5980#user_domain_id = <None>
5981
5982# User's domain name (string value)
5983#user_domain_name = <None>
5984user_domain_name={{ controller.ironic.user_domain_name }}
5985
5986
5987# User's password (string value)
5988#password = <None>
5989password={{ controller.ironic.password }}
5990# The default service_type for endpoint URL discovery. (string value)
5991#service_type = baremetal
5992
5993# The default service_name for endpoint URL discovery. (string value)
5994#service_name = <None>
5995
5996# List of interfaces, in order of preference, for endpoint URL. (list
5997# value)
5998#valid_interfaces = internal,public
5999
6000# The default region_name for endpoint URL discovery. (string value)
6001#region_name = <None>
6002
6003# Always use this endpoint URL for requests for this client. NOTE: The
6004# unversioned endpoint should be specified here; to request a
6005# particular API version, use the `version`, `min-version`, and/or
6006# `max-version` options. (string value)
6007# Deprecated group/name - [ironic]/api_endpoint
6008#endpoint_override = <None>
6009{%- endif %}
6010
6011
6012[key_manager]
6013
6014#
6015# From nova.conf
6016#
6017
6018#
6019# Fixed key returned by key manager, specified in hex.
6020#
6021# Possible values:
6022#
6023# * Empty string or a key in hex value
6024# (string value)
6025#fixed_key = <None>
6026{%- if controller.get('barbican', {}).get('enabled', False) %}
6027api_class=castellan.key_manager.barbican_key_manager.BarbicanKeyManager
6028{%- endif %}
6029
6030# Specify the key manager implementation. Options are "barbican" and
6031# "vault". Default is "barbican". Will support the values earlier
6032# set using [key_manager]/api_class for some time. (string value)
6033# Deprecated group/name - [key_manager]/api_class
6034#backend = barbican
6035
6036# The type of authentication credential to create. Possible values are
6037# 'token', 'password', 'keystone_token', and 'keystone_password'.
6038# Required if no context is passed to the credential factory. (string
6039# value)
6040#auth_type = <None>
6041
6042# Token for authentication. Required for 'token' and 'keystone_token'
6043# auth_type if no context is passed to the credential factory. (string
6044# value)
6045#token = <None>
6046
6047# Username for authentication. Required for 'password' auth_type.
6048# Optional for the 'keystone_password' auth_type. (string value)
6049#username = <None>
6050
6051# Password for authentication. Required for 'password' and
6052# 'keystone_password' auth_type. (string value)
6053#password = <None>
6054
6055# Use this endpoint to connect to Keystone. (string value)
6056#auth_url = <None>
6057
6058# User ID for authentication. Optional for 'keystone_token' and
6059# 'keystone_password' auth_type. (string value)
6060#user_id = <None>
6061
6062# User's domain ID for authentication. Optional for 'keystone_token'
6063# and 'keystone_password' auth_type. (string value)
6064#user_domain_id = <None>
6065
6066# User's domain name for authentication. Optional for 'keystone_token'
6067# and 'keystone_password' auth_type. (string value)
6068#user_domain_name = <None>
6069
6070# Trust ID for trust scoping. Optional for 'keystone_token' and
6071# 'keystone_password' auth_type. (string value)
6072#trust_id = <None>
6073
6074# Domain ID for domain scoping. Optional for 'keystone_token' and
6075# 'keystone_password' auth_type. (string value)
6076#domain_id = <None>
6077
6078# Domain name for domain scoping. Optional for 'keystone_token' and
6079# 'keystone_password' auth_type. (string value)
6080#domain_name = <None>
6081
6082# Project ID for project scoping. Optional for 'keystone_token' and
6083# 'keystone_password' auth_type. (string value)
6084#project_id = <None>
6085
6086# Project name for project scoping. Optional for 'keystone_token' and
6087# 'keystone_password' auth_type. (string value)
6088#project_name = <None>
6089
6090# Project's domain ID for project. Optional for 'keystone_token' and
6091# 'keystone_password' auth_type. (string value)
6092#project_domain_id = <None>
6093
6094# Project's domain name for project. Optional for 'keystone_token' and
6095# 'keystone_password' auth_type. (string value)
6096#project_domain_name = <None>
6097
6098# Allow fetching a new token if the current one is going to expire.
6099# Optional for 'keystone_token' and 'keystone_password' auth_type.
6100# (boolean value)
6101#reauthenticate = true
6102
6103
6104[keystone]
6105# Configuration options for the identity service
6106
6107#
6108# From nova.conf
6109#
6110
6111# PEM encoded Certificate Authority to use when verifying HTTPs
6112# connections. (string value)
6113#cafile = <None>
6114
6115# PEM encoded client certificate cert file (string value)
6116#certfile = <None>
6117
6118# PEM encoded client certificate key file (string value)
6119#keyfile = <None>
6120
6121# Verify HTTPS connections. (boolean value)
6122#insecure = false
6123
6124# Timeout value for http requests (integer value)
6125#timeout = <None>
6126
6127# The default service_type for endpoint URL discovery. (string value)
6128#service_type = identity
6129
6130# The default service_name for endpoint URL discovery. (string value)
6131#service_name = <None>
6132
6133# List of interfaces, in order of preference, for endpoint URL. (list
6134# value)
6135#valid_interfaces = internal,public
6136
6137# The default region_name for endpoint URL discovery. (string value)
6138#region_name = <None>
6139
6140# Always use this endpoint URL for requests for this client. NOTE: The
6141# unversioned endpoint should be specified here; to request a
6142# particular API version, use the `version`, `min-version`, and/or
6143# `max-version` options. (string value)
6144#endpoint_override = <None>
6145
6146
6147[libvirt]
6148#
6149# Libvirt options allows cloud administrator to configure related
6150# libvirt hypervisor driver to be used within an OpenStack deployment.
6151#
6152# Almost all of the libvirt config options are influence by
6153# ``virt_type`` config
6154# which describes the virtualization type (or so called domain type)
6155# libvirt
6156# should use for specific features such as live migration, snapshot.
6157
6158#
6159# From nova.conf
6160#
6161virt_type = kvm
6162
6163inject_partition = -1
6164
6165#
6166# The ID of the image to boot from to rescue data from a corrupted
6167# instance.
6168#
6169# If the rescue REST API operation doesn't provide an ID of an image
6170# to
6171# use, the image which is referenced by this ID is used. If this
6172# option is not set, the image from the instance is used.
6173#
6174# Possible values:
6175#
6176# * An ID of an image or nothing. If it points to an *Amazon Machine
6177# Image* (AMI), consider to set the config options
6178# ``rescue_kernel_id``
6179# and ``rescue_ramdisk_id`` too. If nothing is set, the image of the
6180# instance
6181# is used.
6182#
6183# Related options:
6184#
6185# * ``rescue_kernel_id``: If the chosen rescue image allows the
6186# separate
6187# definition of its kernel disk, the value of this option is used,
6188# if specified. This is the case when *Amazon*'s AMI/AKI/ARI image
6189# format is used for the rescue image.
6190# * ``rescue_ramdisk_id``: If the chosen rescue image allows the
6191# separate
6192# definition of its RAM disk, the value of this option is used if,
6193# specified. This is the case when *Amazon*'s AMI/AKI/ARI image
6194# format is used for the rescue image.
6195# (string value)
6196#rescue_image_id = <None>
6197
6198#
6199# The ID of the kernel (AKI) image to use with the rescue image.
6200#
6201# If the chosen rescue image allows the separate definition of its
6202# kernel
6203# disk, the value of this option is used, if specified. This is the
6204# case
6205# when *Amazon*'s AMI/AKI/ARI image format is used for the rescue
6206# image.
6207#
6208# Possible values:
6209#
6210# * An ID of an kernel image or nothing. If nothing is specified, the
6211# kernel
6212# disk from the instance is used if it was launched with one.
6213#
6214# Related options:
6215#
6216# * ``rescue_image_id``: If that option points to an image in
6217# *Amazon*'s
6218# AMI/AKI/ARI image format, it's useful to use ``rescue_kernel_id``
6219# too.
6220# (string value)
6221#rescue_kernel_id = <None>
6222
6223#
6224# The ID of the RAM disk (ARI) image to use with the rescue image.
6225#
6226# If the chosen rescue image allows the separate definition of its RAM
6227# disk, the value of this option is used, if specified. This is the
6228# case
6229# when *Amazon*'s AMI/AKI/ARI image format is used for the rescue
6230# image.
6231#
6232# Possible values:
6233#
6234# * An ID of a RAM disk image or nothing. If nothing is specified, the
6235# RAM
6236# disk from the instance is used if it was launched with one.
6237#
6238# Related options:
6239#
6240# * ``rescue_image_id``: If that option points to an image in
6241# *Amazon*'s
6242# AMI/AKI/ARI image format, it's useful to use ``rescue_ramdisk_id``
6243# too.
6244# (string value)
6245#rescue_ramdisk_id = <None>
6246
6247#
6248# Describes the virtualization type (or so called domain type) libvirt
6249# should
6250# use.
6251#
6252# The choice of this type must match the underlying virtualization
6253# strategy
6254# you have chosen for this host.
6255#
6256# Possible values:
6257#
6258# * See the predefined set of case-sensitive values.
6259#
6260# Related options:
6261#
6262# * ``connection_uri``: depends on this
6263# * ``disk_prefix``: depends on this
6264# * ``cpu_mode``: depends on this
6265# * ``cpu_model``: depends on this
6266# (string value)
6267# Possible values:
6268# kvm - <No description provided>
6269# lxc - <No description provided>
6270# qemu - <No description provided>
6271# uml - <No description provided>
6272# xen - <No description provided>
6273# parallels - <No description provided>
6274#virt_type = kvm
6275
6276#
6277# Overrides the default libvirt URI of the chosen virtualization type.
6278#
6279# If set, Nova will use this URI to connect to libvirt.
6280#
6281# Possible values:
6282#
6283# * An URI like ``qemu:///system`` or ``xen+ssh://oirase/`` for
6284# example.
6285# This is only necessary if the URI differs to the commonly known
6286# URIs
6287# for the chosen virtualization type.
6288#
6289# Related options:
6290#
6291# * ``virt_type``: Influences what is used as default value here.
6292# (string value)
6293#connection_uri =
6294
6295#
6296# Algorithm used to hash the injected password.
6297# Note that it must be supported by libc on the compute host
6298# _and_ by libc inside *any guest image* that will be booted by this
6299# compute
6300# host whith requested password injection.
6301# In case the specified algorithm is not supported by libc on the
6302# compute host,
6303# a fallback to DES algorithm will be performed.
6304#
6305# Related options:
6306#
6307# * ``inject_password``
6308# * ``inject_partition``
6309# (string value)
6310# Possible values:
6311# SHA-512 - <No description provided>
6312# SHA-256 - <No description provided>
6313# MD5 - <No description provided>
6314#inject_password_algorithm = MD5
6315
6316#
6317# Allow the injection of an admin password for instance only at
6318# ``create`` and
6319# ``rebuild`` process.
6320#
6321# There is no agent needed within the image to do this. If
6322# *libguestfs* is
6323# available on the host, it will be used. Otherwise *nbd* is used. The
6324# file
6325# system of the image will be mounted and the admin password, which is
6326# provided
6327# in the REST API call will be injected as password for the root user.
6328# If no
6329# root user is available, the instance won't be launched and an error
6330# is thrown.
6331# Be aware that the injection is *not* possible when the instance gets
6332# launched
6333# from a volume.
6334#
6335# Possible values:
6336#
6337# * True: Allows the injection.
6338# * False (default): Disallows the injection. Any via the REST API
6339# provided
6340# admin password will be silently ignored.
6341#
6342# Related options:
6343#
6344# * ``inject_partition``: That option will decide about the discovery
6345# and usage
6346# of the file system. It also can disable the injection at all.
6347# (boolean value)
6348#inject_password = false
6349
6350#
6351# Allow the injection of an SSH key at boot time.
6352#
6353# There is no agent needed within the image to do this. If
6354# *libguestfs* is
6355# available on the host, it will be used. Otherwise *nbd* is used. The
6356# file
6357# system of the image will be mounted and the SSH key, which is
6358# provided
6359# in the REST API call will be injected as SSH key for the root user
6360# and
6361# appended to the ``authorized_keys`` of that user. The SELinux
6362# context will
6363# be set if necessary. Be aware that the injection is *not* possible
6364# when the
6365# instance gets launched from a volume.
6366#
6367# This config option will enable directly modifying the instance disk
6368# and does
6369# not affect what cloud-init may do using data from config_drive
6370# option or the
6371# metadata service.
6372#
6373# Related options:
6374#
6375# * ``inject_partition``: That option will decide about the discovery
6376# and usage
6377# of the file system. It also can disable the injection at all.
6378# (boolean value)
6379#inject_key = false
6380
6381#
6382# Determines the way how the file system is chosen to inject data into
6383# it.
6384#
6385# *libguestfs* will be used a first solution to inject data. If that's
6386# not
6387# available on the host, the image will be locally mounted on the host
6388# as a
6389# fallback solution. If libguestfs is not able to determine the root
6390# partition
6391# (because there are more or less than one root partition) or cannot
6392# mount the
6393# file system it will result in an error and the instance won't be
6394# boot.
6395#
6396# Possible values:
6397#
6398# * -2 => disable the injection of data.
6399# * -1 => find the root partition with the file system to mount with
6400# libguestfs
6401# * 0 => The image is not partitioned
6402# * >0 => The number of the partition to use for the injection
6403#
6404# Related options:
6405#
6406# * ``inject_key``: If this option allows the injection of a SSH key
6407# it depends
6408# on value greater or equal to -1 for ``inject_partition``.
6409# * ``inject_password``: If this option allows the injection of an
6410# admin password
6411# it depends on value greater or equal to -1 for
6412# ``inject_partition``.
6413# * ``guestfs`` You can enable the debug log level of libguestfs with
6414# this
6415# config option. A more verbose output will help in debugging
6416# issues.
6417# * ``virt_type``: If you use ``lxc`` as virt_type it will be treated
6418# as a
6419# single partition image
6420# (integer value)
6421# Minimum value: -2
6422#inject_partition = -2
6423
6424# DEPRECATED:
6425# Enable a mouse cursor within a graphical VNC or SPICE sessions.
6426#
6427# This will only be taken into account if the VM is fully virtualized
6428# and VNC
6429# and/or SPICE is enabled. If the node doesn't support a graphical
6430# framebuffer,
6431# then it is valid to set this to False.
6432#
6433# Related options:
6434# * ``[vnc]enabled``: If VNC is enabled, ``use_usb_tablet`` will have
6435# an effect.
6436# * ``[spice]enabled`` + ``[spice].agent_enabled``: If SPICE is
6437# enabled and the
6438# spice agent is disabled, the config value of ``use_usb_tablet``
6439# will have
6440# an effect.
6441# (boolean value)
6442# This option is deprecated for removal since 14.0.0.
6443# Its value may be silently ignored in the future.
6444# Reason: This option is being replaced by the 'pointer_model' option.
6445use_usb_tablet = true
6446
6447#
6448# The IP address or hostname to be used as the target for live
6449# migration traffic.
6450#
6451# If this option is set to None, the hostname of the migration target
6452# compute
6453# node will be used.
6454#
6455# This option is useful in environments where the live-migration
6456# traffic can
6457# impact the network plane significantly. A separate network for live-
6458# migration
6459# traffic can then use this config option and avoids the impact on the
6460# management network.
6461#
6462# Possible values:
6463#
6464# * A valid IP address or hostname, else None.
6465#
6466# Related options:
6467#
6468# * ``live_migration_tunnelled``: The live_migration_inbound_addr
6469# value is
6470# ignored if tunneling is enabled.
6471# (string value)
6472#live_migration_inbound_addr = <None>
6473
6474# DEPRECATED:
6475# Live migration target URI to use.
6476#
6477# Override the default libvirt live migration target URI (which is
6478# dependent
6479# on virt_type). Any included "%s" is replaced with the migration
6480# target
6481# hostname.
6482#
6483# If this option is set to None (which is the default), Nova will
6484# automatically
6485# generate the `live_migration_uri` value based on only 4 supported
6486# `virt_type`
6487# in following list:
6488#
6489# * 'kvm': 'qemu+tcp://%s/system'
6490# * 'qemu': 'qemu+tcp://%s/system'
6491# * 'xen': 'xenmigr://%s/system'
6492# * 'parallels': 'parallels+tcp://%s/system'
6493#
6494# Related options:
6495#
6496# * ``live_migration_inbound_addr``: If
6497# ``live_migration_inbound_addr`` value
6498# is not None and ``live_migration_tunnelled`` is False, the
6499# ip/hostname
6500# address of target compute node is used instead of
6501# ``live_migration_uri`` as
6502# the uri for live migration.
6503# * ``live_migration_scheme``: If ``live_migration_uri`` is not set,
6504# the scheme
6505# used for live migration is taken from ``live_migration_scheme``
6506# instead.
6507# (string value)
6508# This option is deprecated for removal since 15.0.0.
6509# Its value may be silently ignored in the future.
6510# Reason:
6511# live_migration_uri is deprecated for removal in favor of two other
6512# options that
6513# allow to change live migration scheme and target URI:
6514# ``live_migration_scheme``
6515# and ``live_migration_inbound_addr`` respectively.
6516#live_migration_uri = <None>
6517
6518#
6519# URI scheme used for live migration.
6520#
6521# Override the default libvirt live migration scheme (which is
6522# dependent on
6523# virt_type). If this option is set to None, nova will automatically
6524# choose a
6525# sensible default based on the hypervisor. It is not recommended that
6526# you change
6527# this unless you are very sure that hypervisor supports a particular
6528# scheme.
6529#
6530# Related options:
6531#
6532# * ``virt_type``: This option is meaningful only when ``virt_type``
6533# is set to
6534# `kvm` or `qemu`.
6535# * ``live_migration_uri``: If ``live_migration_uri`` value is not
6536# None, the
6537# scheme used for live migration is taken from
6538# ``live_migration_uri`` instead.
6539# (string value)
6540#live_migration_scheme = <None>
6541
6542#
6543# Enable tunnelled migration.
6544#
6545# This option enables the tunnelled migration feature, where migration
6546# data is
6547# transported over the libvirtd connection. If enabled, we use the
6548# VIR_MIGRATE_TUNNELLED migration flag, avoiding the need to configure
6549# the network to allow direct hypervisor to hypervisor communication.
6550# If False, use the native transport. If not set, Nova will choose a
6551# sensible default based on, for example the availability of native
6552# encryption support in the hypervisor. Enabling this option will
6553# definitely
6554# impact performance massively.
6555#
6556# Note that this option is NOT compatible with use of block migration.
6557#
6558# Related options:
6559#
6560# * ``live_migration_inbound_addr``: The live_migration_inbound_addr
6561# value is
6562# ignored if tunneling is enabled.
6563# (boolean value)
6564#live_migration_tunnelled = false
6565
6566#
6567# Maximum bandwidth(in MiB/s) to be used during migration.
6568#
6569# If set to 0, the hypervisor will choose a suitable default. Some
6570# hypervisors
6571# do not support this feature and will return an error if bandwidth is
6572# not 0.
6573# Please refer to the libvirt documentation for further details.
6574# (integer value)
6575#live_migration_bandwidth = 0
6576
6577#
6578# Maximum permitted downtime, in milliseconds, for live migration
6579# switchover.
6580#
6581# Will be rounded up to a minimum of 100ms. You can increase this
6582# value
6583# if you want to allow live-migrations to complete faster, or avoid
6584# live-migration timeout errors by allowing the guest to be paused for
6585# longer during the live-migration switch over.
6586#
6587# Related options:
6588#
6589# * live_migration_completion_timeout
6590# (integer value)
6591# Minimum value: 100
6592#live_migration_downtime = 500
6593
6594#
6595# Number of incremental steps to reach max downtime value.
6596#
6597# Will be rounded up to a minimum of 3 steps.
6598# (integer value)
6599# Minimum value: 3
6600#live_migration_downtime_steps = 10
6601
6602#
6603# Time to wait, in seconds, between each step increase of the
6604# migration
6605# downtime.
6606#
6607# Minimum delay is 3 seconds. Value is per GiB of guest RAM + disk to
6608# be
6609# transferred, with lower bound of a minimum of 2 GiB per device.
6610# (integer value)
6611# Minimum value: 3
6612#live_migration_downtime_delay = 75
6613
6614#
6615# Time to wait, in seconds, for migration to successfully complete
6616# transferring
6617# data before aborting the operation.
6618#
6619# Value is per GiB of guest RAM + disk to be transferred, with lower
6620# bound of
6621# a minimum of 2 GiB. Should usually be larger than downtime delay *
6622# downtime
6623# steps. Set to 0 to disable timeouts.
6624#
6625# Related options:
6626#
6627# * live_migration_downtime
6628# * live_migration_downtime_steps
6629# * live_migration_downtime_delay
6630# (integer value)
6631# Note: This option can be changed without restarting.
6632#live_migration_completion_timeout = 800
6633
6634# DEPRECATED:
6635# Time to wait, in seconds, for migration to make forward progress in
6636# transferring data before aborting the operation.
6637#
6638# Set to 0 to disable timeouts.
6639#
6640# This is deprecated, and now disabled by default because we have
6641# found serious
6642# bugs in this feature that caused false live-migration timeout
6643# failures. This
6644# feature will be removed or replaced in a future release.
6645# (integer value)
6646# Note: This option can be changed without restarting.
6647# This option is deprecated for removal.
6648# Its value may be silently ignored in the future.
6649# Reason: Serious bugs found in this feature.
6650#live_migration_progress_timeout = 0
6651
6652#
6653# This option allows nova to switch an on-going live migration to
6654# post-copy
6655# mode, i.e., switch the active VM to the one on the destination node
6656# before the
6657# migration is complete, therefore ensuring an upper bound on the
6658# memory that
6659# needs to be transferred. Post-copy requires libvirt>=1.3.3 and
6660# QEMU>=2.5.0.
6661#
6662# When permitted, post-copy mode will be automatically activated if a
6663# live-migration memory copy iteration does not make percentage
6664# increase of at
6665# least 10% over the last iteration.
6666#
6667# The live-migration force complete API also uses post-copy when
6668# permitted. If
6669# post-copy mode is not available, force complete falls back to
6670# pausing the VM
6671# to ensure the live-migration operation will complete.
6672#
6673# When using post-copy mode, if the source and destination hosts loose
6674# network
6675# connectivity, the VM being live-migrated will need to be rebooted.
6676# For more
6677# details, please see the Administration guide.
6678#
6679# Related options:
6680#
6681# * live_migration_permit_auto_converge
6682# (boolean value)
6683#live_migration_permit_post_copy = false
6684
6685#
6686# This option allows nova to start live migration with auto converge
6687# on.
6688#
6689# Auto converge throttles down CPU if a progress of on-going live
6690# migration
6691# is slow. Auto converge will only be used if this flag is set to True
6692# and
6693# post copy is not permitted or post copy is unavailable due to the
6694# version
6695# of libvirt and QEMU in use.
6696#
6697# Related options:
6698#
6699# * live_migration_permit_post_copy
6700# (boolean value)
6701#live_migration_permit_auto_converge = false
6702{%- if controller.get('libvirt', {}).live_migration_permit_auto_converge is defined %}
6703live_migration_permit_auto_converge={{ controller.libvirt.live_migration_permit_auto_converge|lower }}
6704{%- endif %}
6705
6706#
6707# Determine the snapshot image format when sending to the image
6708# service.
6709#
6710# If set, this decides what format is used when sending the snapshot
6711# to the
6712# image service.
6713# If not set, defaults to same type as source image.
6714#
6715# Possible values:
6716#
6717# * ``raw``: RAW disk format
6718# * ``qcow2``: KVM default disk format
6719# * ``vmdk``: VMWare default disk format
6720# * ``vdi``: VirtualBox default disk format
6721# * If not set, defaults to same type as source image.
6722# (string value)
6723# Possible values:
6724# raw - <No description provided>
6725# qcow2 - <No description provided>
6726# vmdk - <No description provided>
6727# vdi - <No description provided>
6728#snapshot_image_format = <None>
6729
6730#
6731# Override the default disk prefix for the devices attached to an
6732# instance.
6733#
6734# If set, this is used to identify a free disk device name for a bus.
6735#
6736# Possible values:
6737#
6738# * Any prefix which will result in a valid disk device name like
6739# 'sda' or 'hda'
6740# for example. This is only necessary if the device names differ to
6741# the
6742# commonly known device name prefixes for a virtualization type such
6743# as: sd,
6744# xvd, uvd, vd.
6745#
6746# Related options:
6747#
6748# * ``virt_type``: Influences which device type is used, which
6749# determines
6750# the default disk prefix.
6751# (string value)
6752#disk_prefix = <None>
6753
6754# Number of seconds to wait for instance to shut down after soft
6755# reboot request is made. We fall back to hard reboot if instance does
6756# not shutdown within this window. (integer value)
6757#wait_soft_reboot_seconds = 120
6758
6759#
6760# Is used to set the CPU mode an instance should have.
6761#
6762# If virt_type="kvm|qemu", it will default to "host-model", otherwise
6763# it will
6764# default to "none".
6765#
6766# Possible values:
6767#
6768# * ``host-model``: Clones the host CPU feature flags
6769# * ``host-passthrough``: Use the host CPU model exactly
6770# * ``custom``: Use a named CPU model
6771# * ``none``: Don't set a specific CPU model. For instances with
6772# ``virt_type`` as KVM/QEMU, the default CPU model from QEMU will be
6773# used,
6774# which provides a basic set of CPU features that are compatible with
6775# most
6776# hosts.
6777#
6778# Related options:
6779#
6780# * ``cpu_model``: This should be set ONLY when ``cpu_mode`` is set to
6781# ``custom``. Otherwise, it would result in an error and the instance
6782# launch will fail.
6783#
6784# (string value)
6785# Possible values:
6786# host-model - <No description provided>
6787# host-passthrough - <No description provided>
6788# custom - <No description provided>
6789# none - <No description provided>
6790cpu_model = host-passthrough
6791
6792#
6793# Set the name of the libvirt CPU model the instance should use.
6794#
6795# Possible values:
6796#
6797# * The named CPU models listed in ``/usr/share/libvirt/cpu_map.xml``
6798#
6799# Related options:
6800#
6801# * ``cpu_mode``: This should be set to ``custom`` ONLY when you want
6802# to
6803# configure (via ``cpu_model``) a specific named CPU model.
6804# Otherwise, it
6805# would result in an error and the instance launch will fail.
6806#
6807# * ``virt_type``: Only the virtualization types ``kvm`` and ``qemu``
6808# use this.
6809# (string value)
6810#cpu_model = <None>
6811
6812#
6813# This allows specifying granular CPU feature flags when specifying
6814# CPU
6815# models. For example, to explicitly specify the ``pcid``
6816# (Process-Context ID, an Intel processor feature) flag to the
6817# "IvyBridge"
6818# virtual CPU model::
6819#
6820# [libvirt]
6821# cpu_mode = custom
6822# cpu_model = IvyBridge
6823# cpu_model_extra_flags = pcid
6824#
6825# Currently, the choice is restricted to only one option: ``pcid``
6826# (the
6827# option is case-insensitive, so ``PCID`` is also valid). This flag
6828# is
6829# now required to address the guest performance degradation as a
6830# result of
6831# applying the "Meltdown" CVE fixes on certain Intel CPU models.
6832#
6833# Note that when using this config attribute to set the 'PCID' CPU
6834# flag,
6835# not all virtual (i.e. libvirt / QEMU) CPU models need it:
6836#
6837# * The only virtual CPU models that include the 'PCID' capability are
6838# Intel "Haswell", "Broadwell", and "Skylake" variants.
6839#
6840# * The libvirt / QEMU CPU models "Nehalem", "Westmere",
6841# "SandyBridge",
6842# and "IvyBridge" will _not_ expose the 'PCID' capability by
6843# default,
6844# even if the host CPUs by the same name include it. I.e. 'PCID'
6845# needs
6846# to be explicitly specified when using the said virtual CPU models.
6847#
6848# For now, the ``cpu_model_extra_flags`` config attribute is valid
6849# only in
6850# combination with ``cpu_mode`` + ``cpu_model`` options.
6851#
6852# Besides ``custom``, the libvirt driver has two other CPU modes: The
6853# default, ``host-model``, tells it to do the right thing with respect
6854# to
6855# handling 'PCID' CPU flag for the guest -- *assuming* you are running
6856# updated processor microcode, host and guest kernel, libvirt, and
6857# QEMU.
6858# The other mode, ``host-passthrough``, checks if 'PCID' is available
6859# in
6860# the hardware, and if so directly passes it through to the Nova
6861# guests.
6862# Thus, in context of 'PCID', with either of these CPU modes
6863# (``host-model`` or ``host-passthrough``), there is no need to use
6864# the
6865# ``cpu_model_extra_flags``.
6866#
6867# Related options:
6868#
6869# * cpu_mode
6870# * cpu_model
6871# (list value)
6872#cpu_model_extra_flags =
6873
6874# Location where libvirt driver will store snapshots before uploading
6875# them to image service (string value)
6876#snapshots_directory = $instances_path/snapshots
6877
6878# Location where the Xen hvmloader is kept (string value)
6879#xen_hvmloader_path = /usr/lib/xen/boot/hvmloader
6880
6881#
6882# Specific cache modes to use for different disk types.
6883#
6884# For example: file=directsync,block=none,network=writeback
6885#
6886# For local or direct-attached storage, it is recommended that you use
6887# writethrough (default) mode, as it ensures data integrity and has
6888# acceptable
6889# I/O performance for applications running in the guest, especially
6890# for read
6891# operations. However, caching mode none is recommended for remote NFS
6892# storage,
6893# because direct I/O operations (O_DIRECT) perform better than
6894# synchronous I/O
6895# operations (with O_SYNC). Caching mode none effectively turns all
6896# guest I/O
6897# operations into direct I/O operations on the host, which is the NFS
6898# client in
6899# this environment.
6900#
6901# Possible cache modes:
6902#
6903# * default: Same as writethrough.
6904# * none: With caching mode set to none, the host page cache is
6905# disabled, but
6906# the disk write cache is enabled for the guest. In this mode, the
6907# write
6908# performance in the guest is optimal because write operations
6909# bypass the host
6910# page cache and go directly to the disk write cache. If the disk
6911# write cache
6912# is battery-backed, or if the applications or storage stack in the
6913# guest
6914# transfer data properly (either through fsync operations or file
6915# system
6916# barriers), then data integrity can be ensured. However, because
6917# the host
6918# page cache is disabled, the read performance in the guest would
6919# not be as
6920# good as in the modes where the host page cache is enabled, such as
6921# writethrough mode. Shareable disk devices, like for a multi-
6922# attachable block
6923# storage volume, will have their cache mode set to 'none'
6924# regardless of
6925# configuration.
6926# * writethrough: writethrough mode is the default caching mode. With
6927# caching set to writethrough mode, the host page cache is enabled,
6928# but the
6929# disk write cache is disabled for the guest. Consequently, this
6930# caching mode
6931# ensures data integrity even if the applications and storage stack
6932# in the
6933# guest do not transfer data to permanent storage properly (either
6934# through
6935# fsync operations or file system barriers). Because the host page
6936# cache is
6937# enabled in this mode, the read performance for applications
6938# running in the
6939# guest is generally better. However, the write performance might be
6940# reduced
6941# because the disk write cache is disabled.
6942# * writeback: With caching set to writeback mode, both the host page
6943# cache
6944# and the disk write cache are enabled for the guest. Because of
6945# this, the
6946# I/O performance for applications running in the guest is good, but
6947# the data
6948# is not protected in a power failure. As a result, this caching
6949# mode is
6950# recommended only for temporary data where potential data loss is
6951# not a
6952# concern.
6953# * directsync: Like "writethrough", but it bypasses the host page
6954# cache.
6955# * unsafe: Caching mode of unsafe ignores cache transfer operations
6956# completely. As its name implies, this caching mode should be used
6957# only for
6958# temporary data where data loss is not a concern. This mode can be
6959# useful for
6960# speeding up guest installations, but you should switch to another
6961# caching
6962# mode in production environments.
6963# (list value)
6964#disk_cachemodes =
6965
6966# A path to a device that will be used as source of entropy on the
6967# host. Permitted options are: /dev/random or /dev/hwrng (string
6968# value)
6969#rng_dev_path = <None>
6970
6971# For qemu or KVM guests, set this option to specify a default machine
6972# type per host architecture. You can find a list of supported machine
6973# types in your environment by checking the output of the "virsh
6974# capabilities"command. The format of the value for this config option
6975# is host-arch=machine-type. For example:
6976# x86_64=machinetype1,armv7l=machinetype2 (list value)
6977#hw_machine_type = <None>
6978
6979# The data source used to the populate the host "serial" UUID exposed
6980# to guest in the virtual BIOS. (string value)
6981# Possible values:
6982# none - <No description provided>
6983# os - <No description provided>
6984# hardware - <No description provided>
6985# auto - <No description provided>
6986#sysinfo_serial = auto
6987
6988# A number of seconds to memory usage statistics period. Zero or
6989# negative value mean to disable memory usage statistics. (integer
6990# value)
6991#mem_stats_period_seconds = 10
6992
6993# List of uid targets and ranges.Syntax is guest-uid:host-
6994# uid:countMaximum of 5 allowed. (list value)
6995#uid_maps =
6996
6997# List of guid targets and ranges.Syntax is guest-gid:host-
6998# gid:countMaximum of 5 allowed. (list value)
6999#gid_maps =
7000
7001# In a realtime host context vCPUs for guest will run in that
7002# scheduling priority. Priority depends on the host kernel (usually
7003# 1-99) (integer value)
7004#realtime_scheduler_priority = 1
7005
7006#
7007# This is a performance event list which could be used as monitor.
7008# These events
7009# will be passed to libvirt domain xml while creating a new instances.
7010# Then event statistics data can be collected from libvirt. The
7011# minimum
7012# libvirt version is 2.0.0. For more information about `Performance
7013# monitoring
7014# events`, refer https://libvirt.org/formatdomain.html#elementsPerf .
7015#
7016# Possible values:
7017# * A string list. For example: ``enabled_perf_events = cmt, mbml,
7018# mbmt``
7019# The supported events list can be found in
7020# https://libvirt.org/html/libvirt-libvirt-domain.html ,
7021# which you may need to search key words ``VIR_PERF_PARAM_*``
7022# (list value)
7023#enabled_perf_events =
7024
7025#
7026# VM Images format.
7027#
7028# If default is specified, then use_cow_images flag is used instead of
7029# this
7030# one.
7031#
7032# Related options:
7033#
7034# * virt.use_cow_images
7035# * images_volume_group
7036# (string value)
7037# Possible values:
7038# raw - <No description provided>
7039# flat - <No description provided>
7040# qcow2 - <No description provided>
7041# lvm - <No description provided>
7042# rbd - <No description provided>
7043# ploop - <No description provided>
7044# default - <No description provided>
7045#images_type = default
7046
7047#
7048# LVM Volume Group that is used for VM images, when you specify
7049# images_type=lvm
7050#
7051# Related options:
7052#
7053# * images_type
7054# (string value)
7055#images_volume_group = <None>
7056
7057#
7058# Create sparse logical volumes (with virtualsize) if this flag is set
7059# to True.
7060# (boolean value)
7061#sparse_logical_volumes = false
7062
7063# The RADOS pool in which rbd volumes are stored (string value)
7064#images_rbd_pool = rbd
7065
7066# Path to the ceph configuration file to use (string value)
7067#images_rbd_ceph_conf =
7068
7069#
7070# Discard option for nova managed disks.
7071#
7072# Requires:
7073#
7074# * Libvirt >= 1.0.6
7075# * Qemu >= 1.5 (raw format)
7076# * Qemu >= 1.6 (qcow2 format)
7077# (string value)
7078# Possible values:
7079# ignore - <No description provided>
7080# unmap - <No description provided>
7081#hw_disk_discard = <None>
7082
7083# DEPRECATED: Allows image information files to be stored in non-
7084# standard locations (string value)
7085# This option is deprecated for removal since 14.0.0.
7086# Its value may be silently ignored in the future.
7087# Reason: Image info files are no longer used by the image cache
7088#image_info_filename_pattern = $instances_path/$image_cache_subdirectory_name/%(image)s.info
7089
7090# Unused resized base images younger than this will not be removed
7091# (integer value)
7092#remove_unused_resized_minimum_age_seconds = 3600
7093
7094# DEPRECATED: Write a checksum for files in _base to disk (boolean
7095# value)
7096# This option is deprecated for removal since 14.0.0.
7097# Its value may be silently ignored in the future.
7098# Reason: The image cache no longer periodically calculates checksums
7099# of stored images. Data integrity can be checked at the block or
7100# filesystem level.
7101#checksum_base_images = false
7102
7103# DEPRECATED: How frequently to checksum base images (integer value)
7104# This option is deprecated for removal since 14.0.0.
7105# Its value may be silently ignored in the future.
7106# Reason: The image cache no longer periodically calculates checksums
7107# of stored images. Data integrity can be checked at the block or
7108# filesystem level.
7109#checksum_interval_seconds = 3600
7110
7111#
7112# Method used to wipe ephemeral disks when they are deleted. Only
7113# takes effect
7114# if LVM is set as backing storage.
7115#
7116# Possible values:
7117#
7118# * none - do not wipe deleted volumes
7119# * zero - overwrite volumes with zeroes
7120# * shred - overwrite volume repeatedly
7121#
7122# Related options:
7123#
7124# * images_type - must be set to ``lvm``
7125# * volume_clear_size
7126# (string value)
7127# Possible values:
7128# none - <No description provided>
7129# zero - <No description provided>
7130# shred - <No description provided>
7131#volume_clear = zero
7132
7133#
7134# Size of area in MiB, counting from the beginning of the allocated
7135# volume,
7136# that will be cleared using method set in ``volume_clear`` option.
7137#
7138# Possible values:
7139#
7140# * 0 - clear whole volume
7141# * >0 - clear specified amount of MiB
7142#
7143# Related options:
7144#
7145# * images_type - must be set to ``lvm``
7146# * volume_clear - must be set and the value must be different than
7147# ``none``
7148# for this option to have any impact
7149# (integer value)
7150# Minimum value: 0
7151#volume_clear_size = 0
7152
7153#
7154# Enable snapshot compression for ``qcow2`` images.
7155#
7156# Note: you can set ``snapshot_image_format`` to ``qcow2`` to force
7157# all
7158# snapshots to be in ``qcow2`` format, independently from their
7159# original image
7160# type.
7161#
7162# Related options:
7163#
7164# * snapshot_image_format
7165# (boolean value)
7166#snapshot_compression = false
7167
7168# Use virtio for bridge interfaces with KVM/QEMU (boolean value)
7169use_virtio_for_bridges = true
7170
7171#
7172# Use multipath connection of the iSCSI or FC volume
7173#
7174# Volumes can be connected in the LibVirt as multipath devices. This
7175# will
7176# provide high availability and fault tolerance.
7177# (boolean value)
7178# Deprecated group/name - [libvirt]/iscsi_use_multipath
7179#volume_use_multipath = false
7180
7181#
7182# Number of times to scan given storage protocol to find volume.
7183# (integer value)
7184# Deprecated group/name - [libvirt]/num_iscsi_scan_tries
7185#num_volume_scan_tries = 5
7186
7187#
7188# Number of times to rediscover AoE target to find volume.
7189#
7190# Nova provides support for block storage attaching to hosts via AOE
7191# (ATA over
7192# Ethernet). This option allows the user to specify the maximum number
7193# of retry
7194# attempts that can be made to discover the AoE device.
7195# (integer value)
7196#num_aoe_discover_tries = 3
7197
7198#
7199# The iSCSI transport iface to use to connect to target in case
7200# offload support
7201# is desired.
7202#
7203# Default format is of the form <transport_name>.<hwaddress> where
7204# <transport_name> is one of (be2iscsi, bnx2i, cxgb3i, cxgb4i,
7205# qla4xxx, ocs) and
7206# <hwaddress> is the MAC address of the interface and can be generated
7207# via the
7208# iscsiadm -m iface command. Do not confuse the iscsi_iface parameter
7209# to be
7210# provided here with the actual transport name.
7211# (string value)
7212# Deprecated group/name - [libvirt]/iscsi_transport
7213#iscsi_iface = <None>
7214
7215#
7216# Number of times to scan iSER target to find volume.
7217#
7218# iSER is a server network protocol that extends iSCSI protocol to use
7219# Remote
7220# Direct Memory Access (RDMA). This option allows the user to specify
7221# the maximum
7222# number of scan attempts that can be made to find iSER volume.
7223# (integer value)
7224#num_iser_scan_tries = 5
7225
7226#
7227# Use multipath connection of the iSER volume.
7228#
7229# iSER volumes can be connected as multipath devices. This will
7230# provide high
7231# availability and fault tolerance.
7232# (boolean value)
7233#iser_use_multipath = false
7234
7235#
7236# The RADOS client name for accessing rbd(RADOS Block Devices)
7237# volumes.
7238#
7239# Libvirt will refer to this user when connecting and authenticating
7240# with
7241# the Ceph RBD server.
7242# (string value)
7243#rbd_user = <None>
7244
7245#
7246# The libvirt UUID of the secret for the rbd_user volumes.
7247# (string value)
7248#rbd_secret_uuid = <None>
7249
7250#
7251# Directory where the NFS volume is mounted on the compute node.
7252# The default is 'mnt' directory of the location where nova's Python
7253# module
7254# is installed.
7255#
7256# NFS provides shared storage for the OpenStack Block Storage service.
7257#
7258# Possible values:
7259#
7260# * A string representing absolute path of mount point.
7261# (string value)
7262#nfs_mount_point_base = $state_path/mnt
7263
7264#
7265# Mount options passed to the NFS client. See section of the nfs man
7266# page
7267# for details.
7268#
7269# Mount options controls the way the filesystem is mounted and how the
7270# NFS client behaves when accessing files on this mount point.
7271#
7272# Possible values:
7273#
7274# * Any string representing mount options separated by commas.
7275# * Example string: vers=3,lookupcache=pos
7276# (string value)
7277#nfs_mount_options = <None>
7278
7279#
7280# Directory where the Quobyte volume is mounted on the compute node.
7281#
7282# Nova supports Quobyte volume driver that enables storing Block
7283# Storage
7284# service volumes on a Quobyte storage back end. This Option specifies
7285# the
7286# path of the directory where Quobyte volume is mounted.
7287#
7288# Possible values:
7289#
7290# * A string representing absolute path of mount point.
7291# (string value)
7292#quobyte_mount_point_base = $state_path/mnt
7293
7294# Path to a Quobyte Client configuration file. (string value)
7295#quobyte_client_cfg = <None>
7296
7297#
7298# Directory where the SMBFS shares are mounted on the compute node.
7299# (string value)
7300#smbfs_mount_point_base = $state_path/mnt
7301
7302#
7303# Mount options passed to the SMBFS client.
7304#
7305# Provide SMBFS options as a single string containing all parameters.
7306# See mount.cifs man page for details. Note that the libvirt-qemu
7307# ``uid``
7308# and ``gid`` must be specified.
7309# (string value)
7310#smbfs_mount_options =
7311
7312#
7313# libvirt's transport method for remote file operations.
7314#
7315# Because libvirt cannot use RPC to copy files over network to/from
7316# other
7317# compute nodes, other method must be used for:
7318#
7319# * creating directory on remote host
7320# * creating file on remote host
7321# * removing file from remote host
7322# * copying file to remote host
7323# (string value)
7324# Possible values:
7325# ssh - <No description provided>
7326# rsync - <No description provided>
7327#remote_filesystem_transport = ssh
7328
7329#
7330# Directory where the Virtuozzo Storage clusters are mounted on the
7331# compute
7332# node.
7333#
7334# This option defines non-standard mountpoint for Vzstorage cluster.
7335#
7336# Related options:
7337#
7338# * vzstorage_mount_* group of parameters
7339# (string value)
7340#vzstorage_mount_point_base = $state_path/mnt
7341
7342#
7343# Mount owner user name.
7344#
7345# This option defines the owner user of Vzstorage cluster mountpoint.
7346#
7347# Related options:
7348#
7349# * vzstorage_mount_* group of parameters
7350# (string value)
7351#vzstorage_mount_user = stack
7352
7353#
7354# Mount owner group name.
7355#
7356# This option defines the owner group of Vzstorage cluster mountpoint.
7357#
7358# Related options:
7359#
7360# * vzstorage_mount_* group of parameters
7361# (string value)
7362#vzstorage_mount_group = qemu
7363
7364#
7365# Mount access mode.
7366#
7367# This option defines the access bits of Vzstorage cluster mountpoint,
7368# in the format similar to one of chmod(1) utility, like this: 0770.
7369# It consists of one to four digits ranging from 0 to 7, with missing
7370# lead digits assumed to be 0's.
7371#
7372# Related options:
7373#
7374# * vzstorage_mount_* group of parameters
7375# (string value)
7376#vzstorage_mount_perms = 0770
7377
7378#
7379# Path to vzstorage client log.
7380#
7381# This option defines the log of cluster operations,
7382# it should include "%(cluster_name)s" template to separate
7383# logs from multiple shares.
7384#
7385# Related options:
7386#
7387# * vzstorage_mount_opts may include more detailed logging options.
7388# (string value)
7389#vzstorage_log_path = /var/log/vstorage/%(cluster_name)s/nova.log.gz
7390
7391#
7392# Path to the SSD cache file.
7393#
7394# You can attach an SSD drive to a client and configure the drive to
7395# store
7396# a local cache of frequently accessed data. By having a local cache
7397# on a
7398# client's SSD drive, you can increase the overall cluster performance
7399# by
7400# up to 10 and more times.
7401# WARNING! There is a lot of SSD models which are not server grade and
7402# may loose arbitrary set of data changes on power loss.
7403# Such SSDs should not be used in Vstorage and are dangerous as may
7404# lead
7405# to data corruptions and inconsistencies. Please consult with the
7406# manual
7407# on which SSD models are known to be safe or verify it using
7408# vstorage-hwflush-check(1) utility.
7409#
7410# This option defines the path which should include "%(cluster_name)s"
7411# template to separate caches from multiple shares.
7412#
7413# Related options:
7414#
7415# * vzstorage_mount_opts may include more detailed cache options.
7416# (string value)
7417#vzstorage_cache_path = <None>
7418
7419#
7420# Extra mount options for pstorage-mount
7421#
7422# For full description of them, see
7423# https://static.openvz.org/vz-man/man1/pstorage-mount.1.gz.html
7424# Format is a python string representation of arguments list, like:
7425# "['-v', '-R', '500']"
7426# Shouldn't include -c, -l, -C, -u, -g and -m as those have
7427# explicit vzstorage_* options.
7428#
7429# Related options:
7430#
7431# * All other vzstorage_* options
7432# (list value)
7433#vzstorage_mount_opts =
7434
7435
7436[metrics]
7437#
7438# Configuration options for metrics
7439#
7440# Options under this group allow to adjust how values assigned to
7441# metrics are
7442# calculated.
7443
7444#
7445# From nova.conf
7446#
7447
7448#
7449# When using metrics to weight the suitability of a host, you can use
7450# this option
7451# to change how the calculated weight influences the weight assigned
7452# to a host as
7453# follows:
7454#
7455# * >1.0: increases the effect of the metric on overall weight
7456# * 1.0: no change to the calculated weight
7457# * >0.0,<1.0: reduces the effect of the metric on overall weight
7458# * 0.0: the metric value is ignored, and the value of the
7459# 'weight_of_unavailable' option is returned instead
7460# * >-1.0,<0.0: the effect is reduced and reversed
7461# * -1.0: the effect is reversed
7462# * <-1.0: the effect is increased proportionally and reversed
7463#
7464# This option is only used by the FilterScheduler and its subclasses;
7465# if you use
7466# a different scheduler, this option has no effect.
7467#
7468# Possible values:
7469#
7470# * An integer or float value, where the value corresponds to the
7471# multipler
7472# ratio for this weigher.
7473#
7474# Related options:
7475#
7476# * weight_of_unavailable
7477# (floating point value)
7478#weight_multiplier = 1.0
7479
7480#
7481# This setting specifies the metrics to be weighed and the relative
7482# ratios for
7483# each metric. This should be a single string value, consisting of a
7484# series of
7485# one or more 'name=ratio' pairs, separated by commas, where 'name' is
7486# the name
7487# of the metric to be weighed, and 'ratio' is the relative weight for
7488# that
7489# metric.
7490#
7491# Note that if the ratio is set to 0, the metric value is ignored, and
7492# instead
7493# the weight will be set to the value of the 'weight_of_unavailable'
7494# option.
7495#
7496# As an example, let's consider the case where this option is set to:
7497#
7498# ``name1=1.0, name2=-1.3``
7499#
7500# The final weight will be:
7501#
7502# ``(name1.value * 1.0) + (name2.value * -1.3)``
7503#
7504# This option is only used by the FilterScheduler and its subclasses;
7505# if you use
7506# a different scheduler, this option has no effect.
7507#
7508# Possible values:
7509#
7510# * A list of zero or more key/value pairs separated by commas, where
7511# the key is
7512# a string representing the name of a metric and the value is a
7513# numeric weight
7514# for that metric. If any value is set to 0, the value is ignored
7515# and the
7516# weight will be set to the value of the 'weight_of_unavailable'
7517# option.
7518#
7519# Related options:
7520#
7521# * weight_of_unavailable
7522# (list value)
7523#weight_setting =
7524
7525#
7526# This setting determines how any unavailable metrics are treated. If
7527# this option
7528# is set to True, any hosts for which a metric is unavailable will
7529# raise an
7530# exception, so it is recommended to also use the MetricFilter to
7531# filter out
7532# those hosts before weighing.
7533#
7534# This option is only used by the FilterScheduler and its subclasses;
7535# if you use
7536# a different scheduler, this option has no effect.
7537#
7538# Possible values:
7539#
7540# * True or False, where False ensures any metric being unavailable
7541# for a host
7542# will set the host weight to 'weight_of_unavailable'.
7543#
7544# Related options:
7545#
7546# * weight_of_unavailable
7547# (boolean value)
7548#required = true
7549
7550#
7551# When any of the following conditions are met, this value will be
7552# used in place
7553# of any actual metric value:
7554#
7555# * One of the metrics named in 'weight_setting' is not available for
7556# a host,
7557# and the value of 'required' is False
7558# * The ratio specified for a metric in 'weight_setting' is 0
7559# * The 'weight_multiplier' option is set to 0
7560#
7561# This option is only used by the FilterScheduler and its subclasses;
7562# if you use
7563# a different scheduler, this option has no effect.
7564#
7565# Possible values:
7566#
7567# * An integer or float value, where the value corresponds to the
7568# multipler
7569# ratio for this weigher.
7570#
7571# Related options:
7572#
7573# * weight_setting
7574# * required
7575# * weight_multiplier
7576# (floating point value)
7577#weight_of_unavailable = -10000.0
7578
7579
7580[mks]
7581#
7582# Nova compute node uses WebMKS, a desktop sharing protocol to provide
7583# instance console access to VM's created by VMware hypervisors.
7584#
7585# Related options:
7586# Following options must be set to provide console access.
7587# * mksproxy_base_url
7588# * enabled
7589
7590#
7591# From nova.conf
7592#
7593
7594#
7595# Location of MKS web console proxy
7596#
7597# The URL in the response points to a WebMKS proxy which
7598# starts proxying between client and corresponding vCenter
7599# server where instance runs. In order to use the web based
7600# console access, WebMKS proxy should be installed and configured
7601#
7602# Possible values:
7603#
7604# * Must be a valid URL of the form:``http://host:port/`` or
7605# ``https://host:port/``
7606# (uri value)
7607#mksproxy_base_url = http://127.0.0.1:6090/
7608
7609#
7610# Enables graphical console access for virtual machines.
7611# (boolean value)
7612#enabled = false
7613
7614
7615[neutron]
7616#
7617# Configuration options for neutron (network connectivity as a
7618# service).
7619
7620#
7621# From nova.conf
7622#
7623
7624# DEPRECATED:
7625# This option specifies the URL for connecting to Neutron.
7626#
7627# Possible values:
7628#
7629# * Any valid URL that points to the Neutron API service is
7630# appropriate here.
7631# This typically matches the URL returned for the 'network' service
7632# type
7633# from the Keystone service catalog.
7634# (uri value)
7635# This option is deprecated for removal since 17.0.0.
7636# Its value may be silently ignored in the future.
7637# Reason: Endpoint lookup uses the service catalog via common
7638# keystoneauth1 Adapter configuration options. In the current release,
7639# "url" will override this behavior, but will be ignored and/or
7640# removed in a future release. To achieve the same result, use the
7641# endpoint_override option instead.
7642#url = http://127.0.0.1:9696
7643
7644#
7645# Default name for the Open vSwitch integration bridge.
7646#
7647# Specifies the name of an integration bridge interface used by
7648# OpenvSwitch.
7649# This option is only used if Neutron does not specify the OVS bridge
7650# name in
7651# port binding responses.
7652# (string value)
7653#ovs_bridge = br-int
7654
7655#
7656# Default name for the floating IP pool.
7657#
7658# Specifies the name of floating IP pool used for allocating floating
7659# IPs. This
7660# option is only used if Neutron does not specify the floating IP pool
7661# name in
7662# port binding reponses.
7663# (string value)
7664#default_floating_pool = nova
7665
7666#
7667# Integer value representing the number of seconds to wait before
7668# querying
7669# Neutron for extensions. After this number of seconds the next time
7670# Nova
7671# needs to create a resource in Neutron it will requery Neutron for
7672# the
7673# extensions that it has loaded. Setting value to 0 will refresh the
7674# extensions with no wait.
7675# (integer value)
7676# Minimum value: 0
7677#extension_sync_interval = 600
7678
7679#
7680# When set to True, this option indicates that Neutron will be used to
7681# proxy
7682# metadata requests and resolve instance ids. Otherwise, the instance
7683# ID must be
7684# passed to the metadata request in the 'X-Instance-ID' header.
7685#
7686# Related options:
7687#
7688# * metadata_proxy_shared_secret
7689# (boolean value)
7690#service_metadata_proxy = false
7691
7692#
7693# This option holds the shared secret string used to validate proxy
7694# requests to
7695# Neutron metadata requests. In order to be used, the
7696# 'X-Metadata-Provider-Signature' header must be supplied in the
7697# request.
7698#
7699# Related options:
7700#
7701# * service_metadata_proxy
7702# (string value)
7703#metadata_proxy_shared_secret =
7704
7705# PEM encoded Certificate Authority to use when verifying HTTPs
7706# connections. (string value)
7707#cafile = <None>
7708{%- if controller.network.get('protocol', 'http') == 'https' %}
7709cafile={{ controller.network.get('cacert_file', controller.cacert_file) }}
7710{%- endif %}
7711
7712# PEM encoded client certificate cert file (string value)
7713#certfile = <None>
7714
7715# PEM encoded client certificate key file (string value)
7716#keyfile = <None>
7717
7718# Verify HTTPS connections. (boolean value)
7719#insecure = false
7720
7721# Timeout value for http requests (integer value)
7722#timeout = <None>
7723timeout=300
7724
7725# Authentication type to load (string value)
7726# Deprecated group/name - [neutron]/auth_plugin
7727#auth_type = <None>
7728auth_type = v3password
7729
7730# Config Section from which to load plugin specific options (string
7731# value)
7732#auth_section = <None>
7733
7734# Authentication URL (string value)
7735#auth_url = <None>
7736auth_url = {{ controller.identity.get('protocol', 'http') }}://{{ controller.identity.host }}:{{ controller.identity.port }}/v3
7737
7738# Scope for system operations (string value)
7739#system_scope = <None>
7740
7741# Domain ID to scope to (string value)
7742#domain_id = <None>
7743
7744# Domain name to scope to (string value)
7745#domain_name = <None>
7746
7747# Project ID to scope to (string value)
7748#project_id = <None>
7749
7750# Project name to scope to (string value)
7751#project_name = <None>
7752
7753# Domain ID containing project (string value)
7754#project_domain_id = <None>
7755
7756# Domain name containing project (string value)
7757#project_domain_name = <None>
7758project_domain_name = {{ controller.get('project_domain_name', 'Default') }}
7759
7760# Trust ID (string value)
7761#trust_id = <None>
7762
7763# Optional domain ID to use with v3 and v2 parameters. It will be used
7764# for both the user and project domain in v3 and ignored in v2
7765# authentication. (string value)
7766#default_domain_id = <None>
7767
7768# Optional domain name to use with v3 API and v2 parameters. It will
7769# be used for both the user and project domain in v3 and ignored in v2
7770# authentication. (string value)
7771#default_domain_name = <None>
7772
7773# User ID (string value)
7774#user_id = <None>
7775
7776# Username (string value)
7777# Deprecated group/name - [neutron]/user_name
7778#username = <None>
7779
7780# User's domain id (string value)
7781#user_domain_id = <None>
7782
7783# User's domain name (string value)
7784#user_domain_name = <None>
7785user_domain_name = {{ controller.get('user_domain_name', 'Default') }}
7786
7787# User's password (string value)
7788#password = <None>
7789
7790# Tenant ID (string value)
7791#tenant_id = <None>
7792
7793# Tenant Name (string value)
7794#tenant_name = <None>
7795
7796# The default service_type for endpoint URL discovery. (string value)
7797#service_type = network
7798
7799# The default service_name for endpoint URL discovery. (string value)
7800#service_name = <None>
7801
7802# List of interfaces, in order of preference, for endpoint URL. (list
7803# value)
7804#valid_interfaces = internal,public
7805
7806# The default region_name for endpoint URL discovery. (string value)
7807#region_name = <None>
7808
7809# Always use this endpoint URL for requests for this client. NOTE: The
7810# unversioned endpoint should be specified here; to request a
7811# particular API version, use the `version`, `min-version`, and/or
7812# `max-version` options. (string value)
7813#endpoint_override = <None>
7814{% if pillar.neutron is defined and pillar.neutron.server is defined %}
7815password = {{ pillar.neutron.server.identity.password }}
7816project_name = {{ pillar.neutron.server.identity.tenant }}
7817username = {{ pillar.neutron.server.identity.user }}
7818region_name = {{ pillar.neutron.server.identity.region }}
7819{%- else %}
7820password = {{ controller.network.password }}
7821project_name = {{ controller.network.tenant }}
7822username = {{ controller.network.user }}
7823region_name = {{ controller.network.region }}
7824{%- endif %}
7825
7826
7827[notifications]
7828#
7829# Most of the actions in Nova which manipulate the system state
7830# generate
7831# notifications which are posted to the messaging component (e.g.
7832# RabbitMQ) and
7833# can be consumed by any service outside the OpenStack. More technical
7834# details
7835# at
7836# https://docs.openstack.org/nova/latest/reference/notifications.html
7837
7838#
7839# From nova.conf
7840#
7841
7842#
7843# If set, send compute.instance.update notifications on
7844# instance state changes.
7845#
7846# Please refer to
7847# https://docs.openstack.org/nova/latest/reference/notifications.html
7848# for
7849# additional information on notifications.
7850#
7851# Possible values:
7852#
7853# * None - no notifications
7854# * "vm_state" - notifications are sent with VM state transition
7855# information in
7856# the ``old_state`` and ``state`` fields. The ``old_task_state`` and
7857# ``new_task_state`` fields will be set to the current task_state of
7858# the
7859# instance.
7860# * "vm_and_task_state" - notifications are sent with VM and task
7861# state
7862# transition information.
7863# (string value)
7864# Possible values:
7865# <None> - <No description provided>
7866# vm_state - <No description provided>
7867# vm_and_task_state - <No description provided>
7868#notify_on_state_change = <None>
7869{%- if controller.get('notification', {}).notify_on is defined %}
7870{%- for key, value in controller.notification.notify_on.iteritems() %}
7871notify_on_{{ key }} = {{ value }}
7872{%- endfor %}
7873{%- endif %}
7874
7875#
7876# If enabled, send api.fault notifications on caught exceptions in the
7877# API service.
7878# (boolean value)
7879# Deprecated group/name - [DEFAULT]/notify_api_faults
7880#notify_on_api_faults=false
7881notify_on_api_faults=false
7882
7883# Default notification level for outgoing notifications. (string
7884# value)
7885# Possible values:
7886# DEBUG - <No description provided>
7887# INFO - <No description provided>
7888# WARN - <No description provided>
7889# ERROR - <No description provided>
7890# CRITICAL - <No description provided>
7891# Deprecated group/name - [DEFAULT]/default_notification_level
7892#default_level = INFO
7893
7894# DEPRECATED:
7895# Default publisher_id for outgoing notifications. If you consider
7896# routing
7897# notifications using different publisher, change this value
7898# accordingly.
7899#
7900# Possible values:
7901#
7902# * Defaults to the current hostname of this host, but it can be any
7903# valid
7904# oslo.messaging publisher_id
7905#
7906# Related options:
7907#
7908# * host - Hostname, FQDN or IP address of this host.
7909# (string value)
7910# This option is deprecated for removal since 17.0.0.
7911# Its value may be silently ignored in the future.
7912# Reason:
7913# This option is only used when ``monkey_patch=True`` and
7914# ``monkey_patch_modules`` is configured to specify the legacy
7915# notify_decorator.
7916# Since the monkey_patch and monkey_patch_modules options are
7917# deprecated, this
7918# option is also deprecated.
7919#default_publisher_id = $host
7920
7921#
7922# Specifies which notification format shall be used by nova.
7923#
7924# The default value is fine for most deployments and rarely needs to
7925# be changed.
7926# This value can be set to 'versioned' once the infrastructure moves
7927# closer to
7928# consuming the newer format of notifications. After this occurs, this
7929# option
7930# will be removed.
7931#
7932# Note that notifications can be completely disabled by setting
7933# ``driver=noop``
7934# in the ``[oslo_messaging_notifications]`` group.
7935#
7936# Possible values:
7937# * unversioned: Only the legacy unversioned notifications are
7938# emitted.
7939# * versioned: Only the new versioned notifications are emitted.
7940# * both: Both the legacy unversioned and the new versioned
7941# notifications are
7942# emitted. (Default)
7943#
7944# The list of versioned notifications is visible in
7945# https://docs.openstack.org/nova/latest/reference/notifications.html
7946# (string value)
7947# Possible values:
7948# unversioned - <No description provided>
7949# versioned - <No description provided>
7950# both - <No description provided>
7951#notification_format = both
7952
7953#
7954# Specifies the topics for the versioned notifications issued by nova.
7955#
7956# The default value is fine for most deployments and rarely needs to
7957# be changed.
7958# However, if you have a third-party service that consumes versioned
7959# notifications, it might be worth getting a topic for that service.
7960# Nova will send a message containing a versioned notification payload
7961# to each
7962# topic queue in this list.
7963#
7964# The list of versioned notifications is visible in
7965# https://docs.openstack.org/nova/latest/reference/notifications.html
7966# (list value)
7967#versioned_notifications_topics = versioned_notifications
7968
7969#
7970# If enabled, include block device information in the versioned
7971# notification
7972# payload. Sending block device information is disabled by default as
7973# providing
7974# that information can incur some overhead on the system since the
7975# information
7976# may need to be loaded from the database.
7977# (boolean value)
7978#bdms_in_notifications = false
7979
7980
7981[osapi_v21]
7982
7983#
7984# From nova.conf
7985#
7986
7987# DEPRECATED:
7988# This option is a string representing a regular expression (regex)
7989# that matches
7990# the project_id as contained in URLs. If not set, it will match
7991# normal UUIDs
7992# created by keystone.
7993#
7994# Possible values:
7995#
7996# * A string representing any legal regular expression
7997# (string value)
7998# This option is deprecated for removal since 13.0.0.
7999# Its value may be silently ignored in the future.
8000# Reason:
8001# Recent versions of nova constrain project IDs to hexadecimal
8002# characters and
8003# dashes. If your installation uses IDs outside of this range, you
8004# should use
8005# this option to provide your own regex and give you time to migrate
8006# offending
8007# projects to valid IDs before the next release.
8008#project_id_regex = <None>
8009
8010
8011[pci]
8012
8013#
8014# From nova.conf
8015#
8016
8017#
8018# An alias for a PCI passthrough device requirement.
8019#
8020# This allows users to specify the alias in the extra specs for a
8021# flavor, without
8022# needing to repeat all the PCI property requirements.
8023#
8024# Possible Values:
8025#
8026# * A list of JSON values which describe the aliases. For example::
8027#
8028# alias = {
8029# "name": "QuickAssist",
8030# "product_id": "0443",
8031# "vendor_id": "8086",
8032# "device_type": "type-PCI",
8033# "numa_policy": "required"
8034# }
8035#
8036# This defines an alias for the Intel QuickAssist card. (multi
8037# valued). Valid
8038# key values are :
8039#
8040# ``name``
8041# Name of the PCI alias.
8042#
8043# ``product_id``
8044# Product ID of the device in hexadecimal.
8045#
8046# ``vendor_id``
8047# Vendor ID of the device in hexadecimal.
8048#
8049# ``device_type``
8050# Type of PCI device. Valid values are: ``type-PCI``, ``type-PF``
8051# and
8052# ``type-VF``.
8053#
8054# ``numa_policy``
8055# Required NUMA affinity of device. Valid values are: ``legacy``,
8056# ``preferred`` and ``required``.
8057# (multi valued)
8058# Deprecated group/name - [DEFAULT]/pci_alias
8059#alias =
8060
8061#
8062# White list of PCI devices available to VMs.
8063#
8064# Possible values:
8065#
8066# * A JSON dictionary which describe a whitelisted PCI device. It
8067# should take
8068# the following format:
8069#
8070# ["vendor_id": "<id>",] ["product_id": "<id>",]
8071# ["address": "[[[[<domain>]:]<bus>]:][<slot>][.[<function>]]" |
8072# "devname": "<name>",]
8073# {"<tag>": "<tag_value>",}
8074#
8075# Where '[' indicates zero or one occurrences, '{' indicates zero or
8076# multiple
8077# occurrences, and '|' mutually exclusive options. Note that any
8078# missing
8079# fields are automatically wildcarded.
8080#
8081# Valid key values are :
8082#
8083# * "vendor_id": Vendor ID of the device in hexadecimal.
8084# * "product_id": Product ID of the device in hexadecimal.
8085# * "address": PCI address of the device.
8086# * "devname": Device name of the device (for e.g. interface name).
8087# Not all
8088# PCI devices have a name.
8089# * "<tag>": Additional <tag> and <tag_value> used for matching PCI
8090# devices.
8091# Supported <tag>: "physical_network".
8092#
8093# The address key supports traditional glob style and regular
8094# expression
8095# syntax. Valid examples are:
8096#
8097# passthrough_whitelist = {"devname":"eth0",
8098# "physical_network":"physnet"}
8099# passthrough_whitelist = {"address":"*:0a:00.*"}
8100# passthrough_whitelist = {"address":":0a:00.",
8101# "physical_network":"physnet1"}
8102# passthrough_whitelist = {"vendor_id":"1137",
8103# "product_id":"0071"}
8104# passthrough_whitelist = {"vendor_id":"1137",
8105# "product_id":"0071",
8106# "address": "0000:0a:00.1",
8107# "physical_network":"physnet1"}
8108# passthrough_whitelist = {"address":{"domain": ".*",
8109# "bus": "02", "slot": "01",
8110# "function": "[2-7]"},
8111# "physical_network":"physnet1"}
8112# passthrough_whitelist = {"address":{"domain": ".*",
8113# "bus": "02", "slot":
8114# "0[1-2]",
8115# "function": ".*"},
8116# "physical_network":"physnet1"}
8117#
8118# The following are invalid, as they specify mutually exclusive
8119# options:
8120#
8121# passthrough_whitelist = {"devname":"eth0",
8122# "physical_network":"physnet",
8123# "address":"*:0a:00.*"}
8124#
8125# * A JSON list of JSON dictionaries corresponding to the above
8126# format. For
8127# example:
8128#
8129# passthrough_whitelist = [{"product_id":"0001",
8130# "vendor_id":"8086"},
8131# {"product_id":"0002",
8132# "vendor_id":"8086"}]
8133# (multi valued)
8134# Deprecated group/name - [DEFAULT]/pci_passthrough_whitelist
8135#passthrough_whitelist =
8136{%- if controller.get('sriov', false) %}
8137{%- for nic_name, sriov in controller.sriov.iteritems() %}
8138passthrough_whitelist = {"devname":"{{ sriov.devname }}","physical_network":"{{ sriov.physical_network }}"}
8139{%- endfor %}
8140{%- endif %}
8141
8142[placement]
8143
8144#
8145# From nova.conf
8146#
8147
8148# DEPRECATED:
8149# Region name of this node. This is used when picking the URL in the
8150# service
8151# catalog.
8152#
8153# Possible values:
8154#
8155# * Any string representing region name
8156# (string value)
8157# This option is deprecated for removal since 17.0.0.
8158# Its value may be silently ignored in the future.
8159# Reason: Endpoint lookup uses the service catalog via common
8160# keystoneauth1 Adapter configuration options. Use the region_name
8161# option instead.
8162os_region_name = {{ controller.identity.region }}
8163
8164# DEPRECATED:
8165# Endpoint interface for this node. This is used when picking the URL
8166# in the
8167# service catalog.
8168# (string value)
8169# This option is deprecated for removal since 17.0.0.
8170# Its value may be silently ignored in the future.
8171# Reason: Endpoint lookup uses the service catalog via common
8172# keystoneauth1 Adapter configuration options. Use the
8173# valid_interfaces option instead.
8174#os_interface = <None>
8175
8176#
8177# If True, when limiting allocation candidate results, the results
8178# will be
8179# a random sampling of the full result set. If False, allocation
8180# candidates
8181# are returned in a deterministic but undefined order. That is, all
8182# things
8183# being equal, two requests for allocation candidates will return the
8184# same
8185# results in the same order; but no guarantees are made as to how that
8186# order
8187# is determined.
8188# (boolean value)
8189#randomize_allocation_candidates = false
8190
8191# PEM encoded Certificate Authority to use when verifying HTTPs
8192# connections. (string value)
8193#cafile = <None>
8194{%- if controller.identity.get('protocol', 'http') == 'https' %}
8195cafile={{ controller.identity.get('cacert_file', controller.cacert_file) }}
8196{%- endif %}
8197
8198# PEM encoded client certificate cert file (string value)
8199#certfile = <None>
8200
8201# PEM encoded client certificate key file (string value)
8202#keyfile = <None>
8203
8204# Verify HTTPS connections. (boolean value)
8205#insecure = false
8206
8207# Timeout value for http requests (integer value)
8208#timeout = <None>
8209
8210# Authentication type to load (string value)
8211# Deprecated group/name - [placement]/auth_plugin
8212auth_type = password
8213
8214# Config Section from which to load plugin specific options (string
8215# value)
8216#auth_section = <None>
8217
8218# Authentication URL (string value)
8219#auth_url = <None>
8220auth_url={{ controller.identity.get('protocol', 'http') }}://{{ controller.identity.host }}:35357/v3
8221
8222# Scope for system operations (string value)
8223#system_scope = <None>
8224
8225# Domain ID to scope to (string value)
8226#domain_id = <None>
8227
8228# Domain name to scope to (string value)
8229#domain_name = <None>
8230
8231# Project ID to scope to (string value)
8232#project_id = <None>
8233
8234# Project name to scope to (string value)
8235project_name = {{ controller.identity.tenant }}
8236
8237# Domain ID containing project (string value)
8238project_domain_id = {{ controller.identity.get('domain', 'default') }}
8239
8240# Domain name containing project (string value)
8241#project_domain_name = <None>
8242
8243# Trust ID (string value)
8244#trust_id = <None>
8245
8246# Optional domain ID to use with v3 and v2 parameters. It will be used
8247# for both the user and project domain in v3 and ignored in v2
8248# authentication. (string value)
8249#default_domain_id = <None>
8250
8251# Optional domain name to use with v3 API and v2 parameters. It will
8252# be used for both the user and project domain in v3 and ignored in v2
8253# authentication. (string value)
8254#default_domain_name = <None>
8255
8256# User ID (string value)
8257#user_id = <None>
8258
8259# Username (string value)
8260# Deprecated group/name - [placement]/user_name
8261username = {{ controller.identity.user }}
8262
8263# User's domain id (string value)
8264user_domain_id = {{ controller.identity.get('domain', 'default') }}
8265
8266# User's domain name (string value)
8267#user_domain_name = <None>
8268
8269# User's password (string value)
8270password = {{ controller.identity.password }}
8271
8272# Tenant ID (string value)
8273#tenant_id = <None>
8274
8275# Tenant Name (string value)
8276#tenant_name = <None>
8277
8278# The default service_type for endpoint URL discovery. (string value)
8279#service_type = placement
8280
8281# The default service_name for endpoint URL discovery. (string value)
8282#service_name = <None>
8283
8284# List of interfaces, in order of preference, for endpoint URL. (list
8285# value)
8286# Deprecated group/name - [placement]/os_interface
8287valid_interfaces = internal
8288
8289# The default region_name for endpoint URL discovery. (string value)
8290# Deprecated group/name - [placement]/os_region_name
8291#region_name = <None>
8292
8293# Always use this endpoint URL for requests for this client. NOTE: The
8294# unversioned endpoint should be specified here; to request a
8295# particular API version, use the `version`, `min-version`, and/or
8296# `max-version` options. (string value)
8297#endpoint_override = <None>
8298
8299
8300[quota]
8301#
8302# Quota options allow to manage quotas in openstack deployment.
8303
8304#
8305# From nova.conf
8306#
8307
8308#
8309# The number of instances allowed per project.
8310#
8311# Possible Values
8312#
8313# * A positive integer or 0.
8314# * -1 to disable the quota.
8315# (integer value)
8316# Minimum value: -1
8317# Deprecated group/name - [DEFAULT]/quota_instances
8318#instances = 10
8319
8320#
8321# The number of instance cores or vCPUs allowed per project.
8322#
8323# Possible values:
8324#
8325# * A positive integer or 0.
8326# * -1 to disable the quota.
8327# (integer value)
8328# Minimum value: -1
8329# Deprecated group/name - [DEFAULT]/quota_cores
8330#cores = 20
8331
8332#
8333# The number of megabytes of instance RAM allowed per project.
8334#
8335# Possible values:
8336#
8337# * A positive integer or 0.
8338# * -1 to disable the quota.
8339# (integer value)
8340# Minimum value: -1
8341# Deprecated group/name - [DEFAULT]/quota_ram
8342#ram = 51200
8343
8344# DEPRECATED:
8345# The number of floating IPs allowed per project.
8346#
8347# Floating IPs are not allocated to instances by default. Users need
8348# to select
8349# them from the pool configured by the OpenStack administrator to
8350# attach to their
8351# instances.
8352#
8353# Possible values:
8354#
8355# * A positive integer or 0.
8356# * -1 to disable the quota.
8357# (integer value)
8358# Minimum value: -1
8359# Deprecated group/name - [DEFAULT]/quota_floating_ips
8360# This option is deprecated for removal since 15.0.0.
8361# Its value may be silently ignored in the future.
8362# Reason:
8363# nova-network is deprecated, as are any related configuration
8364# options.
8365#floating_ips = 10
8366
8367# DEPRECATED:
8368# The number of fixed IPs allowed per project.
8369#
8370# Unlike floating IPs, fixed IPs are allocated dynamically by the
8371# network
8372# component when instances boot up. This quota value should be at
8373# least the
8374# number of instances allowed
8375#
8376# Possible values:
8377#
8378# * A positive integer or 0.
8379# * -1 to disable the quota.
8380# (integer value)
8381# Minimum value: -1
8382# Deprecated group/name - [DEFAULT]/quota_fixed_ips
8383# This option is deprecated for removal since 15.0.0.
8384# Its value may be silently ignored in the future.
8385# Reason:
8386# nova-network is deprecated, as are any related configuration
8387# options.
8388#fixed_ips = -1
8389
8390#
8391# The number of metadata items allowed per instance.
8392#
8393# Users can associate metadata with an instance during instance
8394# creation. This
8395# metadata takes the form of key-value pairs.
8396#
8397# Possible values:
8398#
8399# * A positive integer or 0.
8400# * -1 to disable the quota.
8401# (integer value)
8402# Minimum value: -1
8403# Deprecated group/name - [DEFAULT]/quota_metadata_items
8404#metadata_items = 128
8405
8406#
8407# The number of injected files allowed.
8408#
8409# File injection allows users to customize the personality of an
8410# instance by
8411# injecting data into it upon boot. Only text file injection is
8412# permitted: binary
8413# or ZIP files are not accepted. During file injection, any existing
8414# files that
8415# match specified files are renamed to include ``.bak`` extension
8416# appended with a
8417# timestamp.
8418#
8419# Possible values:
8420#
8421# * A positive integer or 0.
8422# * -1 to disable the quota.
8423# (integer value)
8424# Minimum value: -1
8425# Deprecated group/name - [DEFAULT]/quota_injected_files
8426#injected_files = 5
8427
8428#
8429# The number of bytes allowed per injected file.
8430#
8431# Possible values:
8432#
8433# * A positive integer or 0.
8434# * -1 to disable the quota.
8435# (integer value)
8436# Minimum value: -1
8437# Deprecated group/name - [DEFAULT]/quota_injected_file_content_bytes
8438#injected_file_content_bytes = 10240
8439
8440#
8441# The maximum allowed injected file path length.
8442#
8443# Possible values:
8444#
8445# * A positive integer or 0.
8446# * -1 to disable the quota.
8447# (integer value)
8448# Minimum value: -1
8449# Deprecated group/name - [DEFAULT]/quota_injected_file_path_length
8450#injected_file_path_length = 255
8451
8452# DEPRECATED:
8453# The number of security groups per project.
8454#
8455# Possible values:
8456#
8457# * A positive integer or 0.
8458# * -1 to disable the quota.
8459# (integer value)
8460# Minimum value: -1
8461# Deprecated group/name - [DEFAULT]/quota_security_groups
8462# This option is deprecated for removal since 15.0.0.
8463# Its value may be silently ignored in the future.
8464# Reason:
8465# nova-network is deprecated, as are any related configuration
8466# options.
8467#security_groups = 10
8468
8469# DEPRECATED:
8470# The number of security rules per security group.
8471#
8472# The associated rules in each security group control the traffic to
8473# instances in
8474# the group.
8475#
8476# Possible values:
8477#
8478# * A positive integer or 0.
8479# * -1 to disable the quota.
8480# (integer value)
8481# Minimum value: -1
8482# Deprecated group/name - [DEFAULT]/quota_security_group_rules
8483# This option is deprecated for removal since 15.0.0.
8484# Its value may be silently ignored in the future.
8485# Reason:
8486# nova-network is deprecated, as are any related configuration
8487# options.
8488#security_group_rules = 20
8489
8490#
8491# The maximum number of key pairs allowed per user.
8492#
8493# Users can create at least one key pair for each project and use the
8494# key pair
8495# for multiple instances that belong to that project.
8496#
8497# Possible values:
8498#
8499# * A positive integer or 0.
8500# * -1 to disable the quota.
8501# (integer value)
8502# Minimum value: -1
8503# Deprecated group/name - [DEFAULT]/quota_key_pairs
8504#key_pairs = 100
8505
8506#
8507# The maxiumum number of server groups per project.
8508#
8509# Server groups are used to control the affinity and anti-affinity
8510# scheduling
8511# policy for a group of servers or instances. Reducing the quota will
8512# not affect
8513# any existing group, but new servers will not be allowed into groups
8514# that have
8515# become over quota.
8516#
8517# Possible values:
8518#
8519# * A positive integer or 0.
8520# * -1 to disable the quota.
8521# (integer value)
8522# Minimum value: -1
8523# Deprecated group/name - [DEFAULT]/quota_server_groups
8524#server_groups = 10
8525
8526#
8527# The maximum number of servers per server group.
8528#
8529# Possible values:
8530#
8531# * A positive integer or 0.
8532# * -1 to disable the quota.
8533# (integer value)
8534# Minimum value: -1
8535# Deprecated group/name - [DEFAULT]/quota_server_group_members
8536#server_group_members = 10
8537
8538#
8539# The number of seconds until a reservation expires.
8540#
8541# This quota represents the time period for invalidating quota
8542# reservations.
8543# (integer value)
8544#reservation_expire = 86400
8545
8546#
8547# The count of reservations until usage is refreshed.
8548#
8549# This defaults to 0 (off) to avoid additional load but it is useful
8550# to turn on
8551# to help keep quota usage up-to-date and reduce the impact of out of
8552# sync usage
8553# issues.
8554# (integer value)
8555# Minimum value: 0
8556#until_refresh = 0
8557
8558#
8559# The number of seconds between subsequent usage refreshes.
8560#
8561# This defaults to 0 (off) to avoid additional load but it is useful
8562# to turn on
8563# to help keep quota usage up-to-date and reduce the impact of out of
8564# sync usage
8565# issues. Note that quotas are not updated on a periodic task, they
8566# will update
8567# on a new reservation if max_age has passed since the last
8568# reservation.
8569# (integer value)
8570# Minimum value: 0
8571#max_age = 0
8572
8573# DEPRECATED:
8574# The quota enforcer driver.
8575#
8576# Provides abstraction for quota checks. Users can configure a
8577# specific
8578# driver to use for quota checks.
8579#
8580# Possible values:
8581#
8582# * nova.quota.DbQuotaDriver (default) or any string representing
8583# fully
8584# qualified class name.
8585# (string value)
8586# Deprecated group/name - [DEFAULT]/quota_driver
8587# This option is deprecated for removal since 14.0.0.
8588# Its value may be silently ignored in the future.
8589#driver = nova.quota.DbQuotaDriver
8590
8591#
8592# Recheck quota after resource creation to prevent allowing quota to
8593# be exceeded.
8594#
8595# This defaults to True (recheck quota after resource creation) but
8596# can be set to
8597# False to avoid additional load if allowing quota to be exceeded
8598# because of
8599# racing requests is considered acceptable. For example, when set to
8600# False, if a
8601# user makes highly parallel REST API requests to create servers, it
8602# will be
8603# possible for them to create more servers than their allowed quota
8604# during the
8605# race. If their quota is 10 servers, they might be able to create 50
8606# during the
8607# burst. After the burst, they will not be able to create any more
8608# servers but
8609# they will be able to keep their 50 servers until they delete them.
8610#
8611# The initial quota check is done before resources are created, so if
8612# multiple
8613# parallel requests arrive at the same time, all could pass the quota
8614# check and
8615# create resources, potentially exceeding quota. When recheck_quota is
8616# True,
8617# quota will be checked a second time after resources have been
8618# created and if
8619# the resource is over quota, it will be deleted and OverQuota will be
8620# raised,
8621# usually resulting in a 403 response to the REST API user. This makes
8622# it
8623# impossible for a user to exceed their quota with the caveat that it
8624# will,
8625# however, be possible for a REST API user to be rejected with a 403
8626# response in
8627# the event of a collision close to reaching their quota limit, even
8628# if the user
8629# has enough quota available when they made the request.
8630# (boolean value)
8631#recheck_quota = true
8632
8633
8634[rdp]
8635#
8636# Options under this group enable and configure Remote Desktop
8637# Protocol (
8638# RDP) related features.
8639#
8640# This group is only relevant to Hyper-V users.
8641
8642#
8643# From nova.conf
8644#
8645
8646#
8647# Enable Remote Desktop Protocol (RDP) related features.
8648#
8649# Hyper-V, unlike the majority of the hypervisors employed on Nova
8650# compute
8651# nodes, uses RDP instead of VNC and SPICE as a desktop sharing
8652# protocol to
8653# provide instance console access. This option enables RDP for
8654# graphical
8655# console access for virtual machines created by Hyper-V.
8656#
8657# **Note:** RDP should only be enabled on compute nodes that support
8658# the Hyper-V
8659# virtualization platform.
8660#
8661# Related options:
8662#
8663# * ``compute_driver``: Must be hyperv.
8664#
8665# (boolean value)
8666#enabled = false
8667
8668#
8669# The URL an end user would use to connect to the RDP HTML5 console
8670# proxy.
8671# The console proxy service is called with this token-embedded URL and
8672# establishes the connection to the proper instance.
8673#
8674# An RDP HTML5 console proxy service will need to be configured to
8675# listen on the
8676# address configured here. Typically the console proxy service would
8677# be run on a
8678# controller node. The localhost address used as default would only
8679# work in a
8680# single node environment i.e. devstack.
8681#
8682# An RDP HTML5 proxy allows a user to access via the web the text or
8683# graphical
8684# console of any Windows server or workstation using RDP. RDP HTML5
8685# console
8686# proxy services include FreeRDP, wsgate.
8687# See https://github.com/FreeRDP/FreeRDP-WebConnect
8688#
8689# Possible values:
8690#
8691# * <scheme>://<ip-address>:<port-number>/
8692#
8693# The scheme must be identical to the scheme configured for the RDP
8694# HTML5
8695# console proxy service. It is ``http`` or ``https``.
8696#
8697# The IP address must be identical to the address on which the RDP
8698# HTML5
8699# console proxy service is listening.
8700#
8701# The port must be identical to the port on which the RDP HTML5
8702# console proxy
8703# service is listening.
8704#
8705# Related options:
8706#
8707# * ``rdp.enabled``: Must be set to ``True`` for
8708# ``html5_proxy_base_url`` to be
8709# effective.
8710# (uri value)
8711#html5_proxy_base_url = http://127.0.0.1:6083/
8712
8713
8714[remote_debug]
8715
8716#
8717# From nova.conf
8718#
8719
8720#
8721# Debug host (IP or name) to connect to. This command line parameter
8722# is used when
8723# you want to connect to a nova service via a debugger running on a
8724# different
8725# host.
8726#
8727# Note that using the remote debug option changes how Nova uses the
8728# eventlet
8729# library to support async IO. This could result in failures that do
8730# not occur
8731# under normal operation. Use at your own risk.
8732#
8733# Possible Values:
8734#
8735# * IP address of a remote host as a command line parameter
8736# to a nova service. For Example:
8737#
8738# /usr/local/bin/nova-compute --config-file /etc/nova/nova.conf
8739# --remote_debug-host <IP address where the debugger is running>
8740# (unknown value)
8741#host = <None>
8742
8743#
8744# Debug port to connect to. This command line parameter allows you to
8745# specify
8746# the port you want to use to connect to a nova service via a debugger
8747# running
8748# on different host.
8749#
8750# Note that using the remote debug option changes how Nova uses the
8751# eventlet
8752# library to support async IO. This could result in failures that do
8753# not occur
8754# under normal operation. Use at your own risk.
8755#
8756# Possible Values:
8757#
8758# * Port number you want to use as a command line parameter
8759# to a nova service. For Example:
8760#
8761# /usr/local/bin/nova-compute --config-file /etc/nova/nova.conf
8762# --remote_debug-host <IP address where the debugger is running>
8763# --remote_debug-port <port> it's listening on>.
8764# (port value)
8765# Minimum value: 0
8766# Maximum value: 65535
8767#port = <None>
8768
8769
8770[scheduler]
8771
8772#
8773# From nova.conf
8774#
8775
8776#
8777# The scheduler host manager to use.
8778#
8779# The host manager manages the in-memory picture of the hosts that the
8780# scheduler
8781# uses. The options values are chosen from the entry points under the
8782# namespace
8783# 'nova.scheduler.host_manager' in 'setup.cfg'.
8784#
8785# NOTE: The "ironic_host_manager" option is deprecated as of the
8786# 17.0.0 Queens
8787# release.
8788# (string value)
8789# Possible values:
8790# host_manager - <No description provided>
8791# ironic_host_manager - <No description provided>
8792# Deprecated group/name - [DEFAULT]/scheduler_host_manager
8793#host_manager = host_manager
8794
8795#
8796# The class of the driver used by the scheduler. This should be chosen
8797# from one
8798# of the entrypoints under the namespace 'nova.scheduler.driver' of
8799# file
8800# 'setup.cfg'. If nothing is specified in this option, the
8801# 'filter_scheduler' is
8802# used.
8803#
8804# Other options are:
8805#
8806# * 'caching_scheduler' which aggressively caches the system state for
8807# better
8808# individual scheduler performance at the risk of more retries when
8809# running
8810# multiple schedulers. [DEPRECATED]
8811# * 'chance_scheduler' which simply picks a host at random.
8812# [DEPRECATED]
8813# * 'fake_scheduler' which is used for testing.
8814#
8815# Possible values:
8816#
8817# * Any of the drivers included in Nova:
8818# ** filter_scheduler
8819# ** caching_scheduler
8820# ** chance_scheduler
8821# ** fake_scheduler
8822# * You may also set this to the entry point name of a custom
8823# scheduler driver,
8824# but you will be responsible for creating and maintaining it in
8825# your setup.cfg
8826# file.
8827# (string value)
8828# Deprecated group/name - [DEFAULT]/scheduler_driver
8829#driver = filter_scheduler
8830
8831#
8832# Periodic task interval.
8833#
8834# This value controls how often (in seconds) to run periodic tasks in
8835# the
8836# scheduler. The specific tasks that are run for each period are
8837# determined by
8838# the particular scheduler being used.
8839#
8840# If this is larger than the nova-service 'service_down_time' setting,
8841# Nova may
8842# report the scheduler service as down. This is because the scheduler
8843# driver is
8844# responsible for sending a heartbeat and it will only do that as
8845# often as this
8846# option allows. As each scheduler can work a little differently than
8847# the others,
8848# be sure to test this with your selected scheduler.
8849#
8850# Possible values:
8851#
8852# * An integer, where the integer corresponds to periodic task
8853# interval in
8854# seconds. 0 uses the default interval (60 seconds). A negative
8855# value disables
8856# periodic tasks.
8857#
8858# Related options:
8859#
8860# * ``nova-service service_down_time``
8861# (integer value)
8862# Deprecated group/name - [DEFAULT]/scheduler_driver_task_period
8863#periodic_task_interval = 60
8864
8865#
8866# This is the maximum number of attempts that will be made for a given
8867# instance
8868# build/move operation. It limits the number of alternate hosts
8869# returned by the
8870# scheduler. When that list of hosts is exhausted, a
8871# MaxRetriesExceeded
8872# exception is raised and the instance is set to an error state.
8873#
8874# Possible values:
8875#
8876# * A positive integer, where the integer corresponds to the max
8877# number of
8878# attempts that can be made when building or moving an instance.
8879# (integer value)
8880# Minimum value: 1
8881# Deprecated group/name - [DEFAULT]/scheduler_max_attempts
8882#max_attempts = 3
8883
8884#
8885# Periodic task interval.
8886#
8887# This value controls how often (in seconds) the scheduler should
8888# attempt
8889# to discover new hosts that have been added to cells. If negative
8890# (the
8891# default), no automatic discovery will occur.
8892#
8893# Deployments where compute nodes come and go frequently may want this
8894# enabled, where others may prefer to manually discover hosts when one
8895# is added to avoid any overhead from constantly checking. If enabled,
8896# every time this runs, we will select any unmapped hosts out of each
8897# cell database on every run.
8898# (integer value)
8899# Minimum value: -1
8900#discover_hosts_in_cells_interval = -1
8901
8902#
8903# This setting determines the maximum limit on results received from
8904# the
8905# placement service during a scheduling operation. It effectively
8906# limits
8907# the number of hosts that may be considered for scheduling requests
8908# that
8909# match a large number of candidates.
8910#
8911# A value of 1 (the minimum) will effectively defer scheduling to the
8912# placement
8913# service strictly on "will it fit" grounds. A higher value will put
8914# an upper
8915# cap on the number of results the scheduler will consider during the
8916# filtering
8917# and weighing process. Large deployments may need to set this lower
8918# than the
8919# total number of hosts available to limit memory consumption, network
8920# traffic,
8921# etc. of the scheduler.
8922#
8923# This option is only used by the FilterScheduler; if you use a
8924# different
8925# scheduler, this option has no effect.
8926# (integer value)
8927# Minimum value: 1
8928#max_placement_results = 1000
8929
8930
8931[serial_console]
8932#
8933# The serial console feature allows you to connect to a guest in case
8934# a
8935# graphical console like VNC, RDP or SPICE is not available. This is
8936# only
8937# currently supported for the libvirt, Ironic and hyper-v drivers.
8938
8939#
8940# From nova.conf
8941#
8942
8943#
8944# Enable the serial console feature.
8945#
8946# In order to use this feature, the service ``nova-serialproxy`` needs
8947# to run.
8948# This service is typically executed on the controller node.
8949# (boolean value)
8950#enabled = false
8951
8952#
8953# A range of TCP ports a guest can use for its backend.
8954#
8955# Each instance which gets created will use one port out of this
8956# range. If the
8957# range is not big enough to provide another port for an new instance,
8958# this
8959# instance won't get launched.
8960#
8961# Possible values:
8962#
8963# * Each string which passes the regex ``\d+:\d+`` For example
8964# ``10000:20000``.
8965# Be sure that the first port number is lower than the second port
8966# number
8967# and that both are in range from 0 to 65535.
8968# (string value)
8969#port_range = 10000:20000
8970
8971#
8972# The URL an end user would use to connect to the ``nova-serialproxy``
8973# service.
8974#
8975# The ``nova-serialproxy`` service is called with this token enriched
8976# URL
8977# and establishes the connection to the proper instance.
8978#
8979# Related options:
8980#
8981# * The IP address must be identical to the address to which the
8982# ``nova-serialproxy`` service is listening (see option
8983# ``serialproxy_host``
8984# in this section).
8985# * The port must be the same as in the option ``serialproxy_port`` of
8986# this
8987# section.
8988# * If you choose to use a secured websocket connection, then start
8989# this option
8990# with ``wss://`` instead of the unsecured ``ws://``. The options
8991# ``cert``
8992# and ``key`` in the ``[DEFAULT]`` section have to be set for that.
8993# (uri value)
8994#base_url = ws://127.0.0.1:6083/
8995
8996#
8997# The IP address to which proxy clients (like ``nova-serialproxy``)
8998# should
8999# connect to get the serial console of an instance.
9000#
9001# This is typically the IP address of the host of a ``nova-compute``
9002# service.
9003# (string value)
9004#proxyclient_address = 127.0.0.1
9005
9006#
9007# The IP address which is used by the ``nova-serialproxy`` service to
9008# listen
9009# for incoming requests.
9010#
9011# The ``nova-serialproxy`` service listens on this IP address for
9012# incoming
9013# connection requests to instances which expose serial console.
9014#
9015# Related options:
9016#
9017# * Ensure that this is the same IP address which is defined in the
9018# option
9019# ``base_url`` of this section or use ``0.0.0.0`` to listen on all
9020# addresses.
9021# (string value)
9022#serialproxy_host = 0.0.0.0
9023
9024#
9025# The port number which is used by the ``nova-serialproxy`` service to
9026# listen
9027# for incoming requests.
9028#
9029# The ``nova-serialproxy`` service listens on this port number for
9030# incoming
9031# connection requests to instances which expose serial console.
9032#
9033# Related options:
9034#
9035# * Ensure that this is the same port number which is defined in the
9036# option
9037# ``base_url`` of this section.
9038# (port value)
9039# Minimum value: 0
9040# Maximum value: 65535
9041#serialproxy_port = 6083
9042
9043
9044[service_user]
9045#
9046# Configuration options for service to service authentication using a
9047# service
9048# token. These options allow sending a service token along with the
9049# user's token
9050# when contacting external REST APIs.
9051
9052#
9053# From nova.conf
9054#
9055
9056#
9057# When True, if sending a user token to a REST API, also send a
9058# service token.
9059#
9060# Nova often reuses the user token provided to the nova-api to talk to
9061# other REST
9062# APIs, such as Cinder, Glance and Neutron. It is possible that while
9063# the user
9064# token was valid when the request was made to Nova, the token may
9065# expire before
9066# it reaches the other service. To avoid any failures, and to make it
9067# clear it is
9068# Nova calling the service on the user's behalf, we include a service
9069# token along
9070# with the user token. Should the user's token have expired, a valid
9071# service
9072# token ensures the REST API request will still be accepted by the
9073# keystone
9074# middleware.
9075# (boolean value)
9076#send_service_user_token = false
9077
9078# PEM encoded Certificate Authority to use when verifying HTTPs
9079# connections. (string value)
9080#cafile = <None>
9081
9082# PEM encoded client certificate cert file (string value)
9083#certfile = <None>
9084
9085# PEM encoded client certificate key file (string value)
9086#keyfile = <None>
9087
9088# Verify HTTPS connections. (boolean value)
9089#insecure = false
9090
9091# Timeout value for http requests (integer value)
9092#timeout = <None>
9093
9094# Authentication type to load (string value)
9095# Deprecated group/name - [service_user]/auth_plugin
9096#auth_type = <None>
9097
9098# Config Section from which to load plugin specific options (string
9099# value)
9100#auth_section = <None>
9101
9102# Authentication URL (string value)
9103#auth_url = <None>
9104
9105# Scope for system operations (string value)
9106#system_scope = <None>
9107
9108# Domain ID to scope to (string value)
9109#domain_id = <None>
9110
9111# Domain name to scope to (string value)
9112#domain_name = <None>
9113
9114# Project ID to scope to (string value)
9115#project_id = <None>
9116
9117# Project name to scope to (string value)
9118#project_name = <None>
9119
9120# Domain ID containing project (string value)
9121#project_domain_id = <None>
9122
9123# Domain name containing project (string value)
9124#project_domain_name = <None>
9125
9126# Trust ID (string value)
9127#trust_id = <None>
9128
9129# Optional domain ID to use with v3 and v2 parameters. It will be used
9130# for both the user and project domain in v3 and ignored in v2
9131# authentication. (string value)
9132#default_domain_id = <None>
9133
9134# Optional domain name to use with v3 API and v2 parameters. It will
9135# be used for both the user and project domain in v3 and ignored in v2
9136# authentication. (string value)
9137#default_domain_name = <None>
9138
9139# User ID (string value)
9140#user_id = <None>
9141
9142# Username (string value)
9143# Deprecated group/name - [service_user]/user_name
9144#username = <None>
9145
9146# User's domain id (string value)
9147#user_domain_id = <None>
9148
9149# User's domain name (string value)
9150#user_domain_name = <None>
9151
9152# User's password (string value)
9153#password = <None>
9154
9155# Tenant ID (string value)
9156#tenant_id = <None>
9157
9158# Tenant Name (string value)
9159#tenant_name = <None>
9160
9161
9162[spice]
9163#
9164# SPICE console feature allows you to connect to a guest virtual
9165# machine.
9166# SPICE is a replacement for fairly limited VNC protocol.
9167#
9168# Following requirements must be met in order to use SPICE:
9169#
9170# * Virtualization driver must be libvirt
9171# * spice.enabled set to True
9172# * vnc.enabled set to False
9173# * update html5proxy_base_url
9174# * update server_proxyclient_address
9175
9176#
9177# From nova.conf
9178#
9179
9180#
9181# Enable SPICE related features.
9182#
9183# Related options:
9184#
9185# * VNC must be explicitly disabled to get access to the SPICE
9186# console. Set the
9187# enabled option to False in the [vnc] section to disable the VNC
9188# console.
9189# (boolean value)
9190#enabled = false
9191enabled = false
9192#
9193# Enable the SPICE guest agent support on the instances.
9194#
9195# The Spice agent works with the Spice protocol to offer a better
9196# guest console
9197# experience. However, the Spice console can still be used without the
9198# Spice
9199# Agent. With the Spice agent installed the following features are
9200# enabled:
9201#
9202# * Copy & Paste of text and images between the guest and client
9203# machine
9204# * Automatic adjustment of resolution when the client screen changes
9205# - e.g.
9206# if you make the Spice console full screen the guest resolution
9207# will adjust to
9208# match it rather than letterboxing.
9209# * Better mouse integration - The mouse can be captured and released
9210# without
9211# needing to click inside the console or press keys to release it.
9212# The
9213# performance of mouse movement is also improved.
9214# (boolean value)
9215#agent_enabled = true
9216
9217#
9218# Location of the SPICE HTML5 console proxy.
9219#
9220# End user would use this URL to connect to the `nova-
9221# spicehtml5proxy``
9222# service. This service will forward request to the console of an
9223# instance.
9224#
9225# In order to use SPICE console, the service ``nova-spicehtml5proxy``
9226# should be
9227# running. This service is typically launched on the controller node.
9228#
9229# Possible values:
9230#
9231# * Must be a valid URL of the form:
9232# ``http://host:port/spice_auto.html``
9233# where host is the node running ``nova-spicehtml5proxy`` and the
9234# port is
9235# typically 6082. Consider not using default value as it is not well
9236# defined
9237# for any real deployment.
9238#
9239# Related options:
9240#
9241# * This option depends on ``html5proxy_host`` and ``html5proxy_port``
9242# options.
9243# The access URL returned by the compute node must have the host
9244# and port where the ``nova-spicehtml5proxy`` service is listening.
9245# (uri value)
9246#html5proxy_base_url = http://127.0.0.1:6082/spice_auto.html
9247{%- if controller.vncproxy_url is defined %}
9248html5proxy_base_url = {{ controller.vncproxy_url }}/spice_auto.html
9249{%- endif %}
9250
9251#
9252# The address where the SPICE server running on the instances should
9253# listen.
9254#
9255# Typically, the ``nova-spicehtml5proxy`` proxy client runs on the
9256# controller
9257# node and connects over the private network to this address on the
9258# compute
9259# node(s).
9260#
9261# Possible values:
9262#
9263# * IP address to listen on.
9264# (string value)
9265#server_listen = 127.0.0.1
9266
9267#
9268# The address used by ``nova-spicehtml5proxy`` client to connect to
9269# instance
9270# console.
9271#
9272# Typically, the ``nova-spicehtml5proxy`` proxy client runs on the
9273# controller node and connects over the private network to this
9274# address on the
9275# compute node(s).
9276#
9277# Possible values:
9278#
9279# * Any valid IP address on the compute node.
9280#
9281# Related options:
9282#
9283# * This option depends on the ``server_listen`` option.
9284# The proxy client must be able to access the address specified in
9285# ``server_listen`` using the value of this option.
9286# (string value)
9287#server_proxyclient_address = 127.0.0.1
9288
9289#
9290# A keyboard layout which is supported by the underlying hypervisor on
9291# this
9292# node.
9293#
9294# Possible values:
9295# * This is usually an 'IETF language tag' (default is 'en-us'). If
9296# you
9297# use QEMU as hypervisor, you should find the list of supported
9298# keyboard
9299# layouts at /usr/share/qemu/keymaps.
9300# (string value)
9301#keymap = en-us
9302
9303#
9304# IP address or a hostname on which the ``nova-spicehtml5proxy``
9305# service
9306# listens for incoming requests.
9307#
9308# Related options:
9309#
9310# * This option depends on the ``html5proxy_base_url`` option.
9311# The ``nova-spicehtml5proxy`` service must be listening on a host
9312# that is
9313# accessible from the HTML5 client.
9314# (unknown value)
9315#html5proxy_host = 0.0.0.0
9316
9317#
9318# Port on which the ``nova-spicehtml5proxy`` service listens for
9319# incoming
9320# requests.
9321#
9322# Related options:
9323#
9324# * This option depends on the ``html5proxy_base_url`` option.
9325# The ``nova-spicehtml5proxy`` service must be listening on a port
9326# that is
9327# accessible from the HTML5 client.
9328# (port value)
9329# Minimum value: 0
9330# Maximum value: 65535
9331#html5proxy_port = 6082
9332
9333
9334[upgrade_levels]
9335
9336{%- if controller.upgrade_levels is defined %}
9337{%- for key, value in controller.upgrade_levels.iteritems() %}
9338{{ key }}={{ value }}
9339{%- endfor %}
9340{%- endif %}
9341#
9342# upgrade_levels options are used to set version cap for RPC
9343# messages sent between different nova services.
9344#
9345# By default all services send messages using the latest version
9346# they know about.
9347#
9348# The compute upgrade level is an important part of rolling upgrades
9349# where old and new nova-compute services run side by side.
9350#
9351# The other options can largely be ignored, and are only kept to
9352# help with a possible future backport issue.
9353
9354#
9355# From nova.conf
9356#
9357
9358#
9359# Compute RPC API version cap.
9360#
9361# By default, we always send messages using the most recent version
9362# the client knows about.
9363#
9364# Where you have old and new compute services running, you should set
9365# this to the lowest deployed version. This is to guarantee that all
9366# services never send messages that one of the compute nodes can't
9367# understand. Note that we only support upgrading from release N to
9368# release N+1.
9369#
9370# Set this option to "auto" if you want to let the compute RPC module
9371# automatically determine what version to use based on the service
9372# versions in the deployment.
9373#
9374# Possible values:
9375#
9376# * By default send the latest version the client knows about
9377# * 'auto': Automatically determines what version to use based on
9378# the service versions in the deployment.
9379# * A string representing a version number in the format 'N.N';
9380# for example, possible values might be '1.12' or '2.0'.
9381# * An OpenStack release name, in lower case, such as 'mitaka' or
9382# 'liberty'.
9383# (string value)
9384#compute = <None>
9385
9386# Cells RPC API version cap (string value)
9387#cells = <None>
9388
9389# Intercell RPC API version cap (string value)
9390#intercell = <None>
9391
9392# Cert RPC API version cap (string value)
9393#cert = <None>
9394
9395# Scheduler RPC API version cap (string value)
9396#scheduler = <None>
9397
9398# Conductor RPC API version cap (string value)
9399#conductor = <None>
9400
9401# Console RPC API version cap (string value)
9402#console = <None>
9403
9404# Consoleauth RPC API version cap (string value)
9405#consoleauth = <None>
9406
9407# Network RPC API version cap (string value)
9408#network = <None>
9409
9410# Base API RPC API version cap (string value)
9411#baseapi = <None>
9412
9413
9414[vault]
9415
9416#
9417# From nova.conf
9418#
9419
9420# root token for vault (string value)
9421#root_token_id = <None>
9422
9423# Use this endpoint to connect to Vault, for example:
9424# "http://127.0.0.1:8200" (string value)
9425#vault_url = http://127.0.0.1:8200
9426
9427# Absolute path to ca cert file (string value)
9428#ssl_ca_crt_file = <None>
9429
9430# SSL Enabled/Disabled (boolean value)
9431#use_ssl = false
9432
9433
9434[vendordata_dynamic_auth]
9435#
9436# Options within this group control the authentication of the
9437# vendordata
9438# subsystem of the metadata API server (and config drive) with
9439# external systems.
9440
9441#
9442# From nova.conf
9443#
9444
9445# PEM encoded Certificate Authority to use when verifying HTTPs
9446# connections. (string value)
9447#cafile = <None>
9448
9449# PEM encoded client certificate cert file (string value)
9450#certfile = <None>
9451
9452# PEM encoded client certificate key file (string value)
9453#keyfile = <None>
9454
9455# Verify HTTPS connections. (boolean value)
9456#insecure = false
9457
9458# Timeout value for http requests (integer value)
9459#timeout = <None>
9460
9461# Authentication type to load (string value)
9462# Deprecated group/name - [vendordata_dynamic_auth]/auth_plugin
9463#auth_type = <None>
9464
9465# Config Section from which to load plugin specific options (string
9466# value)
9467#auth_section = <None>
9468
9469# Authentication URL (string value)
9470#auth_url = <None>
9471
9472# Scope for system operations (string value)
9473#system_scope = <None>
9474
9475# Domain ID to scope to (string value)
9476#domain_id = <None>
9477
9478# Domain name to scope to (string value)
9479#domain_name = <None>
9480
9481# Project ID to scope to (string value)
9482#project_id = <None>
9483
9484# Project name to scope to (string value)
9485#project_name = <None>
9486
9487# Domain ID containing project (string value)
9488#project_domain_id = <None>
9489
9490# Domain name containing project (string value)
9491#project_domain_name = <None>
9492
9493# Trust ID (string value)
9494#trust_id = <None>
9495
9496# Optional domain ID to use with v3 and v2 parameters. It will be used
9497# for both the user and project domain in v3 and ignored in v2
9498# authentication. (string value)
9499#default_domain_id = <None>
9500
9501# Optional domain name to use with v3 API and v2 parameters. It will
9502# be used for both the user and project domain in v3 and ignored in v2
9503# authentication. (string value)
9504#default_domain_name = <None>
9505
9506# User ID (string value)
9507#user_id = <None>
9508
9509# Username (string value)
9510# Deprecated group/name - [vendordata_dynamic_auth]/user_name
9511#username = <None>
9512
9513# User's domain id (string value)
9514#user_domain_id = <None>
9515
9516# User's domain name (string value)
9517#user_domain_name = <None>
9518
9519# User's password (string value)
9520#password = <None>
9521
9522# Tenant ID (string value)
9523#tenant_id = <None>
9524
9525# Tenant Name (string value)
9526#tenant_name = <None>
9527
9528
9529[vmware]
9530#
9531# Related options:
9532# Following options must be set in order to launch VMware-based
9533# virtual machines.
9534#
9535# * compute_driver: Must use vmwareapi.VMwareVCDriver.
9536# * vmware.host_username
9537# * vmware.host_password
9538# * vmware.cluster_name
9539
9540#
9541# From nova.conf
9542#
9543
9544#
9545# This option specifies the physical ethernet adapter name for VLAN
9546# networking.
9547#
9548# Set the vlan_interface configuration option to match the ESX host
9549# interface that handles VLAN-tagged VM traffic.
9550#
9551# Possible values:
9552#
9553# * Any valid string representing VLAN interface name
9554# (string value)
9555#vlan_interface = vmnic0
9556
9557#
9558# This option should be configured only when using the NSX-MH Neutron
9559# plugin. This is the name of the integration bridge on the ESXi
9560# server
9561# or host. This should not be set for any other Neutron plugin. Hence
9562# the default value is not set.
9563#
9564# Possible values:
9565#
9566# * Any valid string representing the name of the integration bridge
9567# (string value)
9568#integration_bridge = <None>
9569
9570#
9571# Set this value if affected by an increased network latency causing
9572# repeated characters when typing in a remote console.
9573# (integer value)
9574# Minimum value: 0
9575#console_delay_seconds = <None>
9576
9577#
9578# Identifies the remote system where the serial port traffic will
9579# be sent.
9580#
9581# This option adds a virtual serial port which sends console output to
9582# a configurable service URI. At the service URI address there will be
9583# virtual serial port concentrator that will collect console logs.
9584# If this is not set, no serial ports will be added to the created
9585# VMs.
9586#
9587# Possible values:
9588#
9589# * Any valid URI
9590# (string value)
9591#serial_port_service_uri = <None>
9592
9593#
9594# Identifies a proxy service that provides network access to the
9595# serial_port_service_uri.
9596#
9597# Possible values:
9598#
9599# * Any valid URI (The scheme is 'telnet' or 'telnets'.)
9600#
9601# Related options:
9602# This option is ignored if serial_port_service_uri is not specified.
9603# * serial_port_service_uri
9604# (uri value)
9605#serial_port_proxy_uri = <None>
9606
9607#
9608# Specifies the directory where the Virtual Serial Port Concentrator
9609# is
9610# storing console log files. It should match the 'serial_log_dir'
9611# config
9612# value of VSPC.
9613# (string value)
9614#serial_log_dir = /opt/vmware/vspc
9615
9616#
9617# Hostname or IP address for connection to VMware vCenter host.
9618# (unknown value)
9619#host_ip = <None>
9620
9621# Port for connection to VMware vCenter host. (port value)
9622# Minimum value: 0
9623# Maximum value: 65535
9624#host_port = 443
9625
9626# Username for connection to VMware vCenter host. (string value)
9627#host_username = <None>
9628
9629# Password for connection to VMware vCenter host. (string value)
9630#host_password = <None>
9631
9632#
9633# Specifies the CA bundle file to be used in verifying the vCenter
9634# server certificate.
9635# (string value)
9636#ca_file = <None>
9637
9638#
9639# If true, the vCenter server certificate is not verified. If false,
9640# then the default CA truststore is used for verification.
9641#
9642# Related options:
9643# * ca_file: This option is ignored if "ca_file" is set.
9644# (boolean value)
9645#insecure = false
9646
9647# Name of a VMware Cluster ComputeResource. (string value)
9648#cluster_name = <None>
9649
9650#
9651# Regular expression pattern to match the name of datastore.
9652#
9653# The datastore_regex setting specifies the datastores to use with
9654# Compute. For example, datastore_regex="nas.*" selects all the data
9655# stores that have a name starting with "nas".
9656#
9657# NOTE: If no regex is given, it just picks the datastore with the
9658# most freespace.
9659#
9660# Possible values:
9661#
9662# * Any matching regular expression to a datastore must be given
9663# (string value)
9664#datastore_regex = <None>
9665
9666#
9667# Time interval in seconds to poll remote tasks invoked on
9668# VMware VC server.
9669# (floating point value)
9670#task_poll_interval = 0.5
9671
9672#
9673# Number of times VMware vCenter server API must be retried on
9674# connection
9675# failures, e.g. socket error, etc.
9676# (integer value)
9677# Minimum value: 0
9678#api_retry_count = 10
9679
9680#
9681# This option specifies VNC starting port.
9682#
9683# Every VM created by ESX host has an option of enabling VNC client
9684# for remote connection. Above option 'vnc_port' helps you to set
9685# default starting port for the VNC client.
9686#
9687# Possible values:
9688#
9689# * Any valid port number within 5900 -(5900 + vnc_port_total)
9690#
9691# Related options:
9692# Below options should be set to enable VNC client.
9693# * vnc.enabled = True
9694# * vnc_port_total
9695# (port value)
9696# Minimum value: 0
9697# Maximum value: 65535
9698#vnc_port = 5900
9699
9700#
9701# Total number of VNC ports.
9702# (integer value)
9703# Minimum value: 0
9704#vnc_port_total = 10000
9705
9706#
9707# This option enables/disables the use of linked clone.
9708#
9709# The ESX hypervisor requires a copy of the VMDK file in order to boot
9710# up a virtual machine. The compute driver must download the VMDK via
9711# HTTP from the OpenStack Image service to a datastore that is visible
9712# to the hypervisor and cache it. Subsequent virtual machines that
9713# need
9714# the VMDK use the cached version and don't have to copy the file
9715# again
9716# from the OpenStack Image service.
9717#
9718# If set to false, even with a cached VMDK, there is still a copy
9719# operation from the cache location to the hypervisor file directory
9720# in the shared datastore. If set to true, the above copy operation
9721# is avoided as it creates copy of the virtual machine that shares
9722# virtual disks with its parent VM.
9723# (boolean value)
9724#use_linked_clone = true
9725
9726#
9727# This option sets the http connection pool size
9728#
9729# The connection pool size is the maximum number of connections from
9730# nova to
9731# vSphere. It should only be increased if there are warnings
9732# indicating that
9733# the connection pool is full, otherwise, the default should suffice.
9734# (integer value)
9735# Minimum value: 10
9736#connection_pool_size = 10
9737
9738#
9739# This option enables or disables storage policy based placement
9740# of instances.
9741#
9742# Related options:
9743#
9744# * pbm_default_policy
9745# (boolean value)
9746#pbm_enabled = false
9747
9748#
9749# This option specifies the PBM service WSDL file location URL.
9750#
9751# Setting this will disable storage policy based placement
9752# of instances.
9753#
9754# Possible values:
9755#
9756# * Any valid file path
9757# e.g file:///opt/SDK/spbm/wsdl/pbmService.wsdl
9758# (string value)
9759#pbm_wsdl_location = <None>
9760
9761#
9762# This option specifies the default policy to be used.
9763#
9764# If pbm_enabled is set and there is no defined storage policy for the
9765# specific request, then this policy will be used.
9766#
9767# Possible values:
9768#
9769# * Any valid storage policy such as VSAN default storage policy
9770#
9771# Related options:
9772#
9773# * pbm_enabled
9774# (string value)
9775#pbm_default_policy = <None>
9776
9777#
9778# This option specifies the limit on the maximum number of objects to
9779# return in a single result.
9780#
9781# A positive value will cause the operation to suspend the retrieval
9782# when the count of objects reaches the specified limit. The server
9783# may
9784# still limit the count to something less than the configured value.
9785# Any remaining objects may be retrieved with additional requests.
9786# (integer value)
9787# Minimum value: 0
9788#maximum_objects = 100
9789
9790#
9791# This option adds a prefix to the folder where cached images are
9792# stored
9793#
9794# This is not the full path - just a folder prefix. This should only
9795# be
9796# used when a datastore cache is shared between compute nodes.
9797#
9798# Note: This should only be used when the compute nodes are running on
9799# same
9800# host or they have a shared file system.
9801#
9802# Possible values:
9803#
9804# * Any string representing the cache prefix to the folder
9805# (string value)
9806#cache_prefix = <None>
9807
9808
9809[vnc]
9810#
9811# Virtual Network Computer (VNC) can be used to provide remote desktop
9812# console access to instances for tenants and/or administrators.
9813
9814#
9815# From nova.conf
9816#
9817
9818#
9819# Enable VNC related features.
9820#
9821# Guests will get created with graphical devices to support this.
9822# Clients
9823# (for example Horizon) can then establish a VNC connection to the
9824# guest.
9825# (boolean value)
9826# Deprecated group/name - [DEFAULT]/vnc_enabled
9827enabled = true
9828
9829novncproxy_host = {{ controller.bind.get('novncproxy_address', '0.0.0.0') }}
9830novncproxy_base_url = {{ controller.vncproxy_url }}/vnc_auto.html
9831novncproxy_port={{ controller.bind.get('vncproxy_port', '6080') }}
9832{%- if pillar.nova.compute is defined %}
9833vncserver_listen={{ controller.bind.private_address }}
9834vncserver_proxyclient_address={{ controller.bind.private_address }}
9835{%- else %}
9836vncserver_listen={{ controller.bind.get('novncproxy_address', '0.0.0.0') }}
9837{%- endif %}
9838
9839#
9840# Keymap for VNC.
9841#
9842# The keyboard mapping (keymap) determines which keyboard layout a VNC
9843# session should use by default.
9844#
9845# Possible values:
9846#
9847# * A keyboard layout which is supported by the underlying hypervisor
9848# on
9849# this node. This is usually an 'IETF language tag' (for example
9850# 'en-us'). If you use QEMU as hypervisor, you should find the
9851# list
9852# of supported keyboard layouts at ``/usr/share/qemu/keymaps``.
9853# (string value)
9854# Deprecated group/name - [DEFAULT]/vnc_keymap
9855keymap = {{ controller.get('vnc_keymap', 'en-us') }}
9856
9857#
9858# The IP address or hostname on which an instance should listen to for
9859# incoming VNC connection requests on this node.
9860# (unknown value)
9861# Deprecated group/name - [DEFAULT]/vncserver_listen
9862# Deprecated group/name - [vnc]/vncserver_listen
9863#server_listen = 127.0.0.1
9864
9865#
9866# Private, internal IP address or hostname of VNC console proxy.
9867#
9868# The VNC proxy is an OpenStack component that enables compute service
9869# users to access their instances through VNC clients.
9870#
9871# This option sets the private address to which proxy clients, such as
9872# ``nova-xvpvncproxy``, should connect to.
9873# (unknown value)
9874# Deprecated group/name - [DEFAULT]/vncserver_proxyclient_address
9875# Deprecated group/name - [vnc]/vncserver_proxyclient_address
9876#server_proxyclient_address = 127.0.0.1
9877
9878#
9879# Public address of noVNC VNC console proxy.
9880#
9881# The VNC proxy is an OpenStack component that enables compute service
9882# users to access their instances through VNC clients. noVNC provides
9883# VNC support through a websocket-based client.
9884#
9885# This option sets the public base URL to which client systems will
9886# connect. noVNC clients can use this address to connect to the noVNC
9887# instance and, by extension, the VNC sessions.
9888#
9889# Related options:
9890#
9891# * novncproxy_host
9892# * novncproxy_port
9893# (uri value)
9894#novncproxy_base_url = http://127.0.0.1:6080/vnc_auto.html
9895
9896#
9897# IP address or hostname that the XVP VNC console proxy should bind
9898# to.
9899#
9900# The VNC proxy is an OpenStack component that enables compute service
9901# users to access their instances through VNC clients. Xen provides
9902# the Xenserver VNC Proxy, or XVP, as an alternative to the
9903# websocket-based noVNC proxy used by Libvirt. In contrast to noVNC,
9904# XVP clients are Java-based.
9905#
9906# This option sets the private address to which the XVP VNC console
9907# proxy
9908# service should bind to.
9909#
9910# Related options:
9911#
9912# * xvpvncproxy_port
9913# * xvpvncproxy_base_url
9914# (unknown value)
9915#xvpvncproxy_host = 0.0.0.0
9916
9917#
9918# Port that the XVP VNC console proxy should bind to.
9919#
9920# The VNC proxy is an OpenStack component that enables compute service
9921# users to access their instances through VNC clients. Xen provides
9922# the Xenserver VNC Proxy, or XVP, as an alternative to the
9923# websocket-based noVNC proxy used by Libvirt. In contrast to noVNC,
9924# XVP clients are Java-based.
9925#
9926# This option sets the private port to which the XVP VNC console proxy
9927# service should bind to.
9928#
9929# Related options:
9930#
9931# * xvpvncproxy_host
9932# * xvpvncproxy_base_url
9933# (port value)
9934# Minimum value: 0
9935# Maximum value: 65535
9936#xvpvncproxy_port = 6081
9937
9938#
9939# Public URL address of XVP VNC console proxy.
9940#
9941# The VNC proxy is an OpenStack component that enables compute service
9942# users to access their instances through VNC clients. Xen provides
9943# the Xenserver VNC Proxy, or XVP, as an alternative to the
9944# websocket-based noVNC proxy used by Libvirt. In contrast to noVNC,
9945# XVP clients are Java-based.
9946#
9947# This option sets the public base URL to which client systems will
9948# connect. XVP clients can use this address to connect to the XVP
9949# instance and, by extension, the VNC sessions.
9950#
9951# Related options:
9952#
9953# * xvpvncproxy_host
9954# * xvpvncproxy_port
9955# (uri value)
9956#xvpvncproxy_base_url = http://127.0.0.1:6081/console
9957
9958#
9959# IP address that the noVNC console proxy should bind to.
9960#
9961# The VNC proxy is an OpenStack component that enables compute service
9962# users to access their instances through VNC clients. noVNC provides
9963# VNC support through a websocket-based client.
9964#
9965# This option sets the private address to which the noVNC console
9966# proxy
9967# service should bind to.
9968#
9969# Related options:
9970#
9971# * novncproxy_port
9972# * novncproxy_base_url
9973# (string value)
9974#novncproxy_host = 0.0.0.0
9975
9976#
9977# Port that the noVNC console proxy should bind to.
9978#
9979# The VNC proxy is an OpenStack component that enables compute service
9980# users to access their instances through VNC clients. noVNC provides
9981# VNC support through a websocket-based client.
9982#
9983# This option sets the private port to which the noVNC console proxy
9984# service should bind to.
9985#
9986# Related options:
9987#
9988# * novncproxy_host
9989# * novncproxy_base_url
9990# (port value)
9991# Minimum value: 0
9992# Maximum value: 65535
9993#novncproxy_port = 6080
9994
9995#
9996# The authentication schemes to use with the compute node.
9997#
9998# Control what RFB authentication schemes are permitted for
9999# connections between
10000# the proxy and the compute host. If multiple schemes are enabled, the
10001# first
10002# matching scheme will be used, thus the strongest schemes should be
10003# listed
10004# first.
10005#
10006# Possible values:
10007#
10008# * ``none``: allow connection without authentication
10009# * ``vencrypt``: use VeNCrypt authentication scheme
10010#
10011# Related options:
10012#
10013# * ``[vnc]vencrypt_client_key``, ``[vnc]vencrypt_client_cert``: must
10014# also be set
10015# (list value)
10016#auth_schemes = none
10017
10018# The path to the client certificate PEM file (for x509)
10019#
10020# The fully qualified path to a PEM file containing the private key
10021# which the VNC
10022# proxy server presents to the compute node during VNC authentication.
10023#
10024# Related options:
10025#
10026# * ``vnc.auth_schemes``: must include ``vencrypt``
10027# * ``vnc.vencrypt_client_cert``: must also be set
10028# (string value)
10029#vencrypt_client_key = <None>
10030
10031# The path to the client key file (for x509)
10032#
10033# The fully qualified path to a PEM file containing the x509
10034# certificate which
10035# the VNC proxy server presents to the compute node during VNC
10036# authentication.
10037#
10038# Realted options:
10039#
10040# * ``vnc.auth_schemes``: must include ``vencrypt``
10041# * ``vnc.vencrypt_client_key``: must also be set
10042# (string value)
10043#vencrypt_client_cert = <None>
10044
10045# The path to the CA certificate PEM file
10046#
10047# The fully qualified path to a PEM file containing one or more x509
10048# certificates
10049# for the certificate authorities used by the compute node VNC server.
10050#
10051# Related options:
10052#
10053# * ``vnc.auth_schemes``: must include ``vencrypt``
10054# (string value)
10055#vencrypt_ca_certs = <None>
10056
10057
10058[workarounds]
10059#
10060# A collection of workarounds used to mitigate bugs or issues found in
10061# system
10062# tools (e.g. Libvirt or QEMU) or Nova itself under certain
10063# conditions. These
10064# should only be enabled in exceptional circumstances. All options are
10065# linked
10066# against bug IDs, where more information on the issue can be found.
10067
10068#
10069# From nova.conf
10070#
10071
10072#
10073# Use sudo instead of rootwrap.
10074#
10075# Allow fallback to sudo for performance reasons.
10076#
10077# For more information, refer to the bug report:
10078#
10079# https://bugs.launchpad.net/nova/+bug/1415106
10080#
10081# Possible values:
10082#
10083# * True: Use sudo instead of rootwrap
10084# * False: Use rootwrap as usual
10085#
10086# Interdependencies to other options:
10087#
10088# * Any options that affect 'rootwrap' will be ignored.
10089# (boolean value)
10090#disable_rootwrap = false
10091
10092#
10093# Disable live snapshots when using the libvirt driver.
10094#
10095# Live snapshots allow the snapshot of the disk to happen without an
10096# interruption to the guest, using coordination with a guest agent to
10097# quiesce the filesystem.
10098#
10099# When using libvirt 1.2.2 live snapshots fail intermittently under
10100# load
10101# (likely related to concurrent libvirt/qemu operations). This config
10102# option provides a mechanism to disable live snapshot, in favor of
10103# cold
10104# snapshot, while this is resolved. Cold snapshot causes an instance
10105# outage while the guest is going through the snapshotting process.
10106#
10107# For more information, refer to the bug report:
10108#
10109# https://bugs.launchpad.net/nova/+bug/1334398
10110#
10111# Possible values:
10112#
10113# * True: Live snapshot is disabled when using libvirt
10114# * False: Live snapshots are always used when snapshotting (as long
10115# as
10116# there is a new enough libvirt and the backend storage supports it)
10117# (boolean value)
10118#disable_libvirt_livesnapshot = false
10119disable_libvirt_livesnapshot = {{ controller.get('workaround', {}).get('disable_libvirt_livesnapshot', True)|lower }}
10120
10121#
10122# Enable handling of events emitted from compute drivers.
10123#
10124# Many compute drivers emit lifecycle events, which are events that
10125# occur when,
10126# for example, an instance is starting or stopping. If the instance is
10127# going
10128# through task state changes due to an API operation, like resize, the
10129# events
10130# are ignored.
10131#
10132# This is an advanced feature which allows the hypervisor to signal to
10133# the
10134# compute service that an unexpected state change has occurred in an
10135# instance
10136# and that the instance can be shutdown automatically. Unfortunately,
10137# this can
10138# race in some conditions, for example in reboot operations or when
10139# the compute
10140# service or when host is rebooted (planned or due to an outage). If
10141# such races
10142# are common, then it is advisable to disable this feature.
10143#
10144# Care should be taken when this feature is disabled and
10145# 'sync_power_state_interval' is set to a negative value. In this
10146# case, any
10147# instances that get out of sync between the hypervisor and the Nova
10148# database
10149# will have to be synchronized manually.
10150#
10151# For more information, refer to the bug report:
10152#
10153# https://bugs.launchpad.net/bugs/1444630
10154#
10155# Interdependencies to other options:
10156#
10157# * If ``sync_power_state_interval`` is negative and this feature is
10158# disabled,
10159# then instances that get out of sync between the hypervisor and the
10160# Nova
10161# database will have to be synchronized manually.
10162# (boolean value)
10163#handle_virt_lifecycle_events = true
10164
10165#
10166# Disable the server group policy check upcall in compute.
10167#
10168# In order to detect races with server group affinity policy, the
10169# compute
10170# service attempts to validate that the policy was not violated by the
10171# scheduler. It does this by making an upcall to the API database to
10172# list
10173# the instances in the server group for one that it is booting, which
10174# violates
10175# our api/cell isolation goals. Eventually this will be solved by
10176# proper affinity
10177# guarantees in the scheduler and placement service, but until then,
10178# this late
10179# check is needed to ensure proper affinity policy.
10180#
10181# Operators that desire api/cell isolation over this check should
10182# enable this flag, which will avoid making that upcall from compute.
10183#
10184# Related options:
10185#
10186# * [filter_scheduler]/track_instance_changes also relies on upcalls
10187# from the
10188# compute service to the scheduler service.
10189# (boolean value)
10190#disable_group_policy_check_upcall = false
10191
10192
10193[wsgi]
10194#
10195# Options under this group are used to configure WSGI (Web Server
10196# Gateway
10197# Interface). WSGI is used to serve API requests.
10198
10199#
10200# From nova.conf
10201#
10202
10203#
10204# This option represents a file name for the paste.deploy config for
10205# nova-api.
10206#
10207# Possible values:
10208#
10209# * A string representing file name for the paste.deploy config.
10210# (string value)
10211api_paste_config = /etc/nova/api-paste.ini
10212
10213# DEPRECATED:
10214# It represents a python format string that is used as the template to
10215# generate
10216# log lines. The following values can be formatted into it: client_ip,
10217# date_time, request_line, status_code, body_length, wall_seconds.
10218#
10219# This option is used for building custom request loglines when
10220# running
10221# nova-api under eventlet. If used under uwsgi or apache, this option
10222# has no effect.
10223#
10224# Possible values:
10225#
10226# * '%(client_ip)s "%(request_line)s" status: %(status_code)s'
10227# 'len: %(body_length)s time: %(wall_seconds).7f' (default)
10228# * Any formatted string formed by specific values.
10229# (string value)
10230# This option is deprecated for removal since 16.0.0.
10231# Its value may be silently ignored in the future.
10232# Reason:
10233# This option only works when running nova-api under eventlet, and
10234# encodes very eventlet specific pieces of information. Starting in
10235# Pike
10236# the preferred model for running nova-api is under uwsgi or apache
10237# mod_wsgi.
10238#wsgi_log_format = %(client_ip)s "%(request_line)s" status: %(status_code)s len: %(body_length)s time: %(wall_seconds).7f
10239
10240#
10241# This option specifies the HTTP header used to determine the protocol
10242# scheme
10243# for the original request, even if it was removed by a SSL
10244# terminating proxy.
10245#
10246# Possible values:
10247#
10248# * None (default) - the request scheme is not influenced by any HTTP
10249# headers
10250# * Valid HTTP header, like HTTP_X_FORWARDED_PROTO
10251#
10252# WARNING: Do not set this unless you know what you are doing.
10253#
10254# Make sure ALL of the following are true before setting this
10255# (assuming the
10256# values from the example above):
10257# * Your API is behind a proxy.
10258# * Your proxy strips the X-Forwarded-Proto header from all incoming
10259# requests.
10260# In other words, if end users include that header in their
10261# requests, the proxy
10262# will discard it.
10263# * Your proxy sets the X-Forwarded-Proto header and sends it to API,
10264# but only
10265# for requests that originally come in via HTTPS.
10266#
10267# If any of those are not true, you should keep this setting set to
10268# None.
10269#
10270# (string value)
10271#secure_proxy_ssl_header = <None>
10272
10273#
10274# This option allows setting path to the CA certificate file that
10275# should be used
10276# to verify connecting clients.
10277#
10278# Possible values:
10279#
10280# * String representing path to the CA certificate file.
10281#
10282# Related options:
10283#
10284# * enabled_ssl_apis
10285# (string value)
10286#ssl_ca_file = <None>
10287
10288#
10289# This option allows setting path to the SSL certificate of API
10290# server.
10291#
10292# Possible values:
10293#
10294# * String representing path to the SSL certificate.
10295#
10296# Related options:
10297#
10298# * enabled_ssl_apis
10299# (string value)
10300#ssl_cert_file = <None>
10301
10302#
10303# This option specifies the path to the file where SSL private key of
10304# API
10305# server is stored when SSL is in effect.
10306#
10307# Possible values:
10308#
10309# * String representing path to the SSL private key.
10310#
10311# Related options:
10312#
10313# * enabled_ssl_apis
10314# (string value)
10315#ssl_key_file = <None>
10316
10317#
10318# This option sets the value of TCP_KEEPIDLE in seconds for each
10319# server socket.
10320# It specifies the duration of time to keep connection active. TCP
10321# generates a
10322# KEEPALIVE transmission for an application that requests to keep
10323# connection
10324# active. Not supported on OS X.
10325#
10326# Related options:
10327#
10328# * keep_alive
10329# (integer value)
10330# Minimum value: 0
10331#tcp_keepidle = 600
10332
10333#
10334# This option specifies the size of the pool of greenthreads used by
10335# wsgi.
10336# It is possible to limit the number of concurrent connections using
10337# this
10338# option.
10339# (integer value)
10340# Minimum value: 0
10341# Deprecated group/name - [DEFAULT]/wsgi_default_pool_size
10342#default_pool_size = 1000
10343
10344#
10345# This option specifies the maximum line size of message headers to be
10346# accepted.
10347# max_header_line may need to be increased when using large tokens
10348# (typically
10349# those generated by the Keystone v3 API with big service catalogs).
10350#
10351# Since TCP is a stream based protocol, in order to reuse a
10352# connection, the HTTP
10353# has to have a way to indicate the end of the previous response and
10354# beginning
10355# of the next. Hence, in a keep_alive case, all messages must have a
10356# self-defined message length.
10357# (integer value)
10358# Minimum value: 0
10359#max_header_line = 16384
10360
10361#
10362# This option allows using the same TCP connection to send and receive
10363# multiple
10364# HTTP requests/responses, as opposed to opening a new one for every
10365# single
10366# request/response pair. HTTP keep-alive indicates HTTP connection
10367# reuse.
10368#
10369# Possible values:
10370#
10371# * True : reuse HTTP connection.
10372# * False : closes the client socket connection explicitly.
10373#
10374# Related options:
10375#
10376# * tcp_keepidle
10377# (boolean value)
10378# Deprecated group/name - [DEFAULT]/wsgi_keep_alive
10379#keep_alive = true
10380
10381#
10382# This option specifies the timeout for client connections' socket
10383# operations.
10384# If an incoming connection is idle for this number of seconds it will
10385# be
10386# closed. It indicates timeout on individual read/writes on the socket
10387# connection. To wait forever set to 0.
10388# (integer value)
10389# Minimum value: 0
10390#client_socket_timeout = 900
10391
10392
10393[xenserver]
10394#
10395# XenServer options are used when the compute_driver is set to use
10396# XenServer (compute_driver=xenapi.XenAPIDriver).
10397#
10398# Must specify connection_url, connection_password and
10399# ovs_integration_bridge to
10400# use compute_driver=xenapi.XenAPIDriver.
10401
10402#
10403# From nova.conf
10404#
10405
10406#
10407# Number of seconds to wait for agent's reply to a request.
10408#
10409# Nova configures/performs certain administrative actions on a server
10410# with the
10411# help of an agent that's installed on the server. The communication
10412# between
10413# Nova and the agent is achieved via sharing messages, called records,
10414# over
10415# xenstore, a shared storage across all the domains on a Xenserver
10416# host.
10417# Operations performed by the agent on behalf of nova are: 'version','
10418# key_init',
10419# 'password','resetnetwork','inject_file', and 'agentupdate'.
10420#
10421# To perform one of the above operations, the xapi 'agent' plugin
10422# writes the
10423# command and its associated parameters to a certain location known to
10424# the domain
10425# and awaits response. On being notified of the message, the agent
10426# performs
10427# appropriate actions on the server and writes the result back to
10428# xenstore. This
10429# result is then read by the xapi 'agent' plugin to determine the
10430# success/failure
10431# of the operation.
10432#
10433# This config option determines how long the xapi 'agent' plugin shall
10434# wait to
10435# read the response off of xenstore for a given request/command. If
10436# the agent on
10437# the instance fails to write the result in this time period, the
10438# operation is
10439# considered to have timed out.
10440#
10441# Related options:
10442#
10443# * ``agent_version_timeout``
10444# * ``agent_resetnetwork_timeout``
10445#
10446# (integer value)
10447# Minimum value: 0
10448#agent_timeout = 30
10449
10450#
10451# Number of seconds to wait for agent't reply to version request.
10452#
10453# This indicates the amount of time xapi 'agent' plugin waits for the
10454# agent to
10455# respond to the 'version' request specifically. The generic timeout
10456# for agent
10457# communication ``agent_timeout`` is ignored in this case.
10458#
10459# During the build process the 'version' request is used to determine
10460# if the
10461# agent is available/operational to perform other requests such as
10462# 'resetnetwork', 'password', 'key_init' and 'inject_file'. If the
10463# 'version' call
10464# fails, the other configuration is skipped. So, this configuration
10465# option can
10466# also be interpreted as time in which agent is expected to be fully
10467# operational.
10468# (integer value)
10469# Minimum value: 0
10470#agent_version_timeout = 300
10471
10472#
10473# Number of seconds to wait for agent's reply to resetnetwork
10474# request.
10475#
10476# This indicates the amount of time xapi 'agent' plugin waits for the
10477# agent to
10478# respond to the 'resetnetwork' request specifically. The generic
10479# timeout for
10480# agent communication ``agent_timeout`` is ignored in this case.
10481# (integer value)
10482# Minimum value: 0
10483#agent_resetnetwork_timeout = 60
10484
10485#
10486# Path to locate guest agent on the server.
10487#
10488# Specifies the path in which the XenAPI guest agent should be
10489# located. If the
10490# agent is present, network configuration is not injected into the
10491# image.
10492#
10493# Related options:
10494#
10495# For this option to have an effect:
10496# * ``flat_injected`` should be set to ``True``
10497# * ``compute_driver`` should be set to ``xenapi.XenAPIDriver``
10498#
10499# (string value)
10500#agent_path = usr/sbin/xe-update-networking
10501
10502#
10503# Disables the use of XenAPI agent.
10504#
10505# This configuration option suggests whether the use of agent should
10506# be enabled
10507# or not regardless of what image properties are present. Image
10508# properties have
10509# an effect only when this is set to ``True``. Read description of
10510# config option
10511# ``use_agent_default`` for more information.
10512#
10513# Related options:
10514#
10515# * ``use_agent_default``
10516#
10517# (boolean value)
10518#disable_agent = false
10519
10520#
10521# Whether or not to use the agent by default when its usage is enabled
10522# but not
10523# indicated by the image.
10524#
10525# The use of XenAPI agent can be disabled altogether using the
10526# configuration
10527# option ``disable_agent``. However, if it is not disabled, the use of
10528# an agent
10529# can still be controlled by the image in use through one of its
10530# properties,
10531# ``xenapi_use_agent``. If this property is either not present or
10532# specified
10533# incorrectly on the image, the use of agent is determined by this
10534# configuration
10535# option.
10536#
10537# Note that if this configuration is set to ``True`` when the agent is
10538# not
10539# present, the boot times will increase significantly.
10540#
10541# Related options:
10542#
10543# * ``disable_agent``
10544#
10545# (boolean value)
10546#use_agent_default = false
10547
10548# Timeout in seconds for XenAPI login. (integer value)
10549# Minimum value: 0
10550#login_timeout = 10
10551
10552#
10553# Maximum number of concurrent XenAPI connections.
10554#
10555# In nova, multiple XenAPI requests can happen at a time.
10556# Configuring this option will parallelize access to the XenAPI
10557# session, which allows you to make concurrent XenAPI connections.
10558# (integer value)
10559# Minimum value: 1
10560#connection_concurrent = 5
10561
10562#
10563# Cache glance images locally.
10564#
10565# The value for this option must be chosen from the choices listed
10566# here. Configuring a value other than these will default to 'all'.
10567#
10568# Note: There is nothing that deletes these images.
10569#
10570# Possible values:
10571#
10572# * `all`: will cache all images.
10573# * `some`: will only cache images that have the
10574# image_property `cache_in_nova=True`.
10575# * `none`: turns off caching entirely.
10576# (string value)
10577# Possible values:
10578# all - <No description provided>
10579# some - <No description provided>
10580# none - <No description provided>
10581#cache_images = all
10582
10583#
10584# Compression level for images.
10585#
10586# By setting this option we can configure the gzip compression level.
10587# This option sets GZIP environment variable before spawning tar -cz
10588# to force the compression level. It defaults to none, which means the
10589# GZIP environment variable is not set and the default (usually -6)
10590# is used.
10591#
10592# Possible values:
10593#
10594# * Range is 1-9, e.g., 9 for gzip -9, 9 being most
10595# compressed but most CPU intensive on dom0.
10596# * Any values out of this range will default to None.
10597# (integer value)
10598# Minimum value: 1
10599# Maximum value: 9
10600#image_compression_level = <None>
10601
10602# Default OS type used when uploading an image to glance (string
10603# value)
10604#default_os_type = linux
10605
10606# Time in secs to wait for a block device to be created (integer
10607# value)
10608# Minimum value: 1
10609#block_device_creation_timeout = 10
10610{%- if controller.block_device_creation_timeout is defined %}
10611block_device_creation_timeout = {{ controller.block_device_creation_timeout }}
10612{%- endif %}
10613
10614#
10615# Maximum size in bytes of kernel or ramdisk images.
10616#
10617# Specifying the maximum size of kernel or ramdisk will avoid copying
10618# large files to dom0 and fill up /boot/guest.
10619# (integer value)
10620#max_kernel_ramdisk_size = 16777216
10621
10622#
10623# Filter for finding the SR to be used to install guest instances on.
10624#
10625# Possible values:
10626#
10627# * To use the Local Storage in default XenServer/XCP installations
10628# set this flag to other-config:i18n-key=local-storage.
10629# * To select an SR with a different matching criteria, you could
10630# set it to other-config:my_favorite_sr=true.
10631# * To fall back on the Default SR, as displayed by XenCenter,
10632# set this flag to: default-sr:true.
10633# (string value)
10634#sr_matching_filter = default-sr:true
10635
10636#
10637# Whether to use sparse_copy for copying data on a resize down.
10638# (False will use standard dd). This speeds up resizes down
10639# considerably since large runs of zeros won't have to be rsynced.
10640# (boolean value)
10641#sparse_copy = true
10642
10643#
10644# Maximum number of retries to unplug VBD.
10645# If set to 0, should try once, no retries.
10646# (integer value)
10647# Minimum value: 0
10648#num_vbd_unplug_retries = 10
10649
10650#
10651# Name of network to use for booting iPXE ISOs.
10652#
10653# An iPXE ISO is a specially crafted ISO which supports iPXE booting.
10654# This feature gives a means to roll your own image.
10655#
10656# By default this option is not set. Enable this option to
10657# boot an iPXE ISO.
10658#
10659# Related Options:
10660#
10661# * `ipxe_boot_menu_url`
10662# * `ipxe_mkisofs_cmd`
10663# (string value)
10664#ipxe_network_name = <None>
10665
10666#
10667# URL to the iPXE boot menu.
10668#
10669# An iPXE ISO is a specially crafted ISO which supports iPXE booting.
10670# This feature gives a means to roll your own image.
10671#
10672# By default this option is not set. Enable this option to
10673# boot an iPXE ISO.
10674#
10675# Related Options:
10676#
10677# * `ipxe_network_name`
10678# * `ipxe_mkisofs_cmd`
10679# (string value)
10680#ipxe_boot_menu_url = <None>
10681
10682#
10683# Name and optionally path of the tool used for ISO image creation.
10684#
10685# An iPXE ISO is a specially crafted ISO which supports iPXE booting.
10686# This feature gives a means to roll your own image.
10687#
10688# Note: By default `mkisofs` is not present in the Dom0, so the
10689# package can either be manually added to Dom0 or include the
10690# `mkisofs` binary in the image itself.
10691#
10692# Related Options:
10693#
10694# * `ipxe_network_name`
10695# * `ipxe_boot_menu_url`
10696# (string value)
10697#ipxe_mkisofs_cmd = mkisofs
10698
10699#
10700# URL for connection to XenServer/Xen Cloud Platform. A special value
10701# of unix://local can be used to connect to the local unix socket.
10702#
10703# Possible values:
10704#
10705# * Any string that represents a URL. The connection_url is
10706# generally the management network IP address of the XenServer.
10707# * This option must be set if you chose the XenServer driver.
10708# (string value)
10709#connection_url = <None>
10710
10711# Username for connection to XenServer/Xen Cloud Platform (string
10712# value)
10713#connection_username = root
10714
10715# Password for connection to XenServer/Xen Cloud Platform (string
10716# value)
10717#connection_password = <None>
10718
10719#
10720# The interval used for polling of coalescing vhds.
10721#
10722# This is the interval after which the task of coalesce VHD is
10723# performed, until it reaches the max attempts that is set by
10724# vhd_coalesce_max_attempts.
10725#
10726# Related options:
10727#
10728# * `vhd_coalesce_max_attempts`
10729# (floating point value)
10730# Minimum value: 0
10731#vhd_coalesce_poll_interval = 5.0
10732
10733#
10734# Ensure compute service is running on host XenAPI connects to.
10735# This option must be set to false if the 'independent_compute'
10736# option is set to true.
10737#
10738# Possible values:
10739#
10740# * Setting this option to true will make sure that compute service
10741# is running on the same host that is specified by connection_url.
10742# * Setting this option to false, doesn't perform the check.
10743#
10744# Related options:
10745#
10746# * `independent_compute`
10747# (boolean value)
10748#check_host = true
10749
10750#
10751# Max number of times to poll for VHD to coalesce.
10752#
10753# This option determines the maximum number of attempts that can be
10754# made for coalescing the VHD before giving up.
10755#
10756# Related opitons:
10757#
10758# * `vhd_coalesce_poll_interval`
10759# (integer value)
10760# Minimum value: 0
10761#vhd_coalesce_max_attempts = 20
10762
10763# Base path to the storage repository on the XenServer host. (string
10764# value)
10765#sr_base_path = /var/run/sr-mount
10766
10767#
10768# The iSCSI Target Host.
10769#
10770# This option represents the hostname or ip of the iSCSI Target.
10771# If the target host is not present in the connection information from
10772# the volume provider then the value from this option is taken.
10773#
10774# Possible values:
10775#
10776# * Any string that represents hostname/ip of Target.
10777# (unknown value)
10778#target_host = <None>
10779
10780#
10781# The iSCSI Target Port.
10782#
10783# This option represents the port of the iSCSI Target. If the
10784# target port is not present in the connection information from the
10785# volume provider then the value from this option is taken.
10786# (port value)
10787# Minimum value: 0
10788# Maximum value: 65535
10789#target_port = 3260
10790
10791#
10792# Used to prevent attempts to attach VBDs locally, so Nova can
10793# be run in a VM on a different host.
10794#
10795# Related options:
10796#
10797# * ``CONF.flat_injected`` (Must be False)
10798# * ``CONF.xenserver.check_host`` (Must be False)
10799# * ``CONF.default_ephemeral_format`` (Must be unset or 'ext3')
10800# * Joining host aggregates (will error if attempted)
10801# * Swap disks for Windows VMs (will error if attempted)
10802# * Nova-based auto_configure_disk (will error if attempted)
10803# (boolean value)
10804#independent_compute = false
10805
10806#
10807# Wait time for instances to go to running state.
10808#
10809# Provide an integer value representing time in seconds to set the
10810# wait time for an instance to go to running state.
10811#
10812# When a request to create an instance is received by nova-api and
10813# communicated to nova-compute, the creation of the instance occurs
10814# through interaction with Xen via XenAPI in the compute node. Once
10815# the node on which the instance(s) are to be launched is decided by
10816# nova-schedule and the launch is triggered, a certain amount of wait
10817# time is involved until the instance(s) can become available and
10818# 'running'. This wait time is defined by running_timeout. If the
10819# instances do not go to running state within this specified wait
10820# time, the launch expires and the instance(s) are set to 'error'
10821# state.
10822# (integer value)
10823# Minimum value: 0
10824#running_timeout = 60
10825
10826# DEPRECATED:
10827# The XenAPI VIF driver using XenServer Network APIs.
10828#
10829# Provide a string value representing the VIF XenAPI vif driver to use
10830# for
10831# plugging virtual network interfaces.
10832#
10833# Xen configuration uses bridging within the backend domain to allow
10834# all VMs to appear on the network as individual hosts. Bridge
10835# interfaces are used to create a XenServer VLAN network in which
10836# the VIFs for the VM instances are plugged. If no VIF bridge driver
10837# is plugged, the bridge is not made available. This configuration
10838# option takes in a value for the VIF driver.
10839#
10840# Possible values:
10841#
10842# * nova.virt.xenapi.vif.XenAPIOpenVswitchDriver (default)
10843# * nova.virt.xenapi.vif.XenAPIBridgeDriver (deprecated)
10844#
10845# Related options:
10846#
10847# * ``vlan_interface``
10848# * ``ovs_integration_bridge``
10849# (string value)
10850# This option is deprecated for removal since 15.0.0.
10851# Its value may be silently ignored in the future.
10852# Reason:
10853# There are only two in-tree vif drivers for XenServer.
10854# XenAPIBridgeDriver is for
10855# nova-network which is deprecated and XenAPIOpenVswitchDriver is for
10856# Neutron
10857# which is the default configuration for Nova since the 15.0.0 Ocata
10858# release. In
10859# the future the "use_neutron" configuration option will be used to
10860# determine
10861# which vif driver to use.
10862#vif_driver = nova.virt.xenapi.vif.XenAPIOpenVswitchDriver
10863
10864#
10865# Dom0 plugin driver used to handle image uploads.
10866#
10867# Provide a string value representing a plugin driver required to
10868# handle the image uploading to GlanceStore.
10869#
10870# Images, and snapshots from XenServer need to be uploaded to the data
10871# store for use. image_upload_handler takes in a value for the Dom0
10872# plugin driver. This driver is then called to uplaod images to the
10873# GlanceStore.
10874# (string value)
10875#image_upload_handler = nova.virt.xenapi.image.glance.GlanceStore
10876
10877#
10878# Number of seconds to wait for SR to settle if the VDI
10879# does not exist when first introduced.
10880#
10881# Some SRs, particularly iSCSI connections are slow to see the VDIs
10882# right after they got introduced. Setting this option to a
10883# time interval will make the SR to wait for that time period
10884# before raising VDI not found exception.
10885# (integer value)
10886# Minimum value: 0
10887#introduce_vdi_retry_wait = 20
10888
10889#
10890# The name of the integration Bridge that is used with xenapi
10891# when connecting with Open vSwitch.
10892#
10893# Note: The value of this config option is dependent on the
10894# environment, therefore this configuration value must be set
10895# accordingly if you are using XenAPI.
10896#
10897# Possible values:
10898#
10899# * Any string that represents a bridge name.
10900# (string value)
10901#ovs_integration_bridge = <None>
10902
10903#
10904# When adding new host to a pool, this will append a --force flag to
10905# the
10906# command, forcing hosts to join a pool, even if they have different
10907# CPUs.
10908#
10909# Since XenServer version 5.6 it is possible to create a pool of hosts
10910# that have
10911# different CPU capabilities. To accommodate CPU differences,
10912# XenServer limited
10913# features it uses to determine CPU compatibility to only the ones
10914# that are
10915# exposed by CPU and support for CPU masking was added.
10916# Despite this effort to level differences between CPUs, it is still
10917# possible
10918# that adding new host will fail, thus option to force join was
10919# introduced.
10920# (boolean value)
10921#use_join_force = true
10922
10923#
10924# Publicly visible name for this console host.
10925#
10926# Possible values:
10927#
10928# * Current hostname (default) or any string representing hostname.
10929# (string value)
10930#console_public_hostname = <current_hostname>
10931
10932
10933[xvp]
10934#
10935# Configuration options for XVP.
10936#
10937# xvp (Xen VNC Proxy) is a proxy server providing password-protected
10938# VNC-based
10939# access to the consoles of virtual machines hosted on Citrix
10940# XenServer.
10941
10942#
10943# From nova.conf
10944#
10945
10946# XVP conf template (string value)
10947#console_xvp_conf_template = $pybasedir/nova/console/xvp.conf.template
10948
10949# Generated XVP conf file (string value)
10950#console_xvp_conf = /etc/xvp.conf
10951
10952# XVP master process pid file (string value)
10953#console_xvp_pid = /var/run/xvp.pid
10954
10955# XVP log file (string value)
10956#console_xvp_log = /var/log/xvp.log
10957
10958# Port for XVP to multiplex VNC connections on (port value)
10959# Minimum value: 0
10960# Maximum value: 65535
10961#console_xvp_multiplex_port = 5900
10962
10963[matchmaker_redis]
10964{#- include "oslo_templates/oslo/_matchmaker_redis.conf" #}
10965
10966[oslo_messaging_notifications]
10967{%- set _data = controller.notification %}
10968{%- include "oslo_templates/files/queens/oslo/messaging/_notifications.conf" %}
10969
10970{%- if controller.message_queue is defined %}
10971{%- set _data = controller.message_queue %}
10972{%- if _data.engine == 'rabbitmq' %}
10973 {%- set messaging_engine = 'rabbit' %}
10974{%- else %}
10975 {%- set messaging_engine = _data.engine %}
10976{%- endif %}
10977[oslo_messaging_{{ messaging_engine }}]
10978{%- include "oslo_templates/files/queens/oslo/messaging/_" + messaging_engine + ".conf" %}
10979{%- endif %}
10980
10981[oslo_policy]
10982{%- if controller.policy is defined %}
10983{%- set _data = controller.policy %}
10984{%- include "oslo_templates/files/queens/oslo/_policy.conf" %}
10985{%- endif %}
10986
10987[database]
10988{%- set _data = controller.database %}
10989{%- if _data.ssl is defined and 'cacert_file' not in _data.get('ssl', {}).keys() %}{% do _data['ssl'].update({'cacert_file': controller.cacert_file}) %}{% endif %}
10990{%- include "oslo_templates/files/queens/oslo/_database.conf" %}
10991
10992[oslo_middleware]
10993{%- set _data = controller %}
10994{%- include "oslo_templates/files/queens/oslo/_middleware.conf" %}
10995
10996[keystone_authtoken]
10997{%- set _data = controller.identity %}
10998{%- set auth_type = _data.get('auth_type', 'password') %}
10999{%- include "oslo_templates/files/queens/keystonemiddleware/_auth_token.conf" %}
11000{%- include "oslo_templates/files/queens/keystoneauth/_type_" + auth_type + ".conf" %}
11001