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