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