blob: ee7bcc3a634b0d7c6f7f4ecb7c78629cd7c999a0 [file] [log] [blame]
Kirill Bespalov64617172017-07-11 14:43:14 +03001{%- from "nova/map.jinja" import controller, system_cacerts_file with context %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02002[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
Kirill Bespalov64617172017-07-11 14:43:14 +03003038{%- set rabbit_port = controller.message_queue.get('port', 5671 if controller.message_queue.get('ssl',{}).get('enabled', False) else 5672) %}
3039
Jakub Pavlik02a01c72017-04-11 16:04:51 +02003040{%- if controller.message_queue.members is defined %}
3041transport_url = rabbit://{% for member in controller.message_queue.members -%}
Kirill Bespalov64617172017-07-11 14:43:14 +03003042 {{ controller.message_queue.user }}:{{ controller.message_queue.password }}@{{ member.host }}:{{ member.get('port', rabbit_port) }}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02003043 {%- if not loop.last -%},{%- endif -%}
3044 {%- endfor -%}
3045 /{{ controller.message_queue.virtual_host }}
3046{%- else %}
Kirill Bespalov64617172017-07-11 14:43:14 +03003047transport_url = rabbit://{{ controller.message_queue.user }}:{{ controller.message_queue.password }}@{{ controller.message_queue.host }}:{{ rabbit_port}}/{{ controller.message_queue.virtual_host }}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02003048{%- endif %}
3049
Kirill Bespalov64617172017-07-11 14:43:14 +03003050
Jakub Pavlik02a01c72017-04-11 16:04:51 +02003051# DEPRECATED: The messaging driver to use, defaults to rabbit. Other drivers
3052# include amqp and zmq. (string value)
3053# This option is deprecated for removal.
3054# Its value may be silently ignored in the future.
3055# Reason: Replaced by [DEFAULT]/transport_url
3056#rpc_backend=rabbit
3057rpc_backend=rabbit
3058
3059# The default exchange under which topics are scoped. May be overridden by an
3060# exchange name specified in the transport_url option. (string value)
3061#control_exchange=openstack
3062
3063#
3064# From oslo.service.periodic_task
3065#
3066
3067# Some periodic tasks can be run in a separate process. Should we run them here?
3068# (boolean value)
3069#run_external_periodic_tasks=true
3070
3071#
3072# From oslo.service.service
3073#
3074
3075# Enable eventlet backdoor. Acceptable values are 0, <port>, and <start>:<end>,
3076# where 0 results in listening on a random tcp port number; <port> results in
3077# listening on the specified port number (and not enabling backdoor if that port
3078# is in use); and <start>:<end> results in listening on the smallest unused port
3079# number within the specified range of port numbers. The chosen port is
3080# displayed in the service's log file. (string value)
3081#backdoor_port=<None>
3082
3083# Enable eventlet backdoor, using the provided path as a unix socket that can
3084# receive connections. This option is mutually exclusive with 'backdoor_port' in
3085# that only one should be provided. If both are provided then the existence of
3086# this option overrides the usage of that option. (string value)
3087#backdoor_socket=<None>
3088
3089# Enables or disables logging values of all registered options when starting a
3090# service (at DEBUG level). (boolean value)
3091#log_options=true
3092
3093# Specify a timeout after which a gracefully shutdown server will exit. Zero
3094# value means endless wait. (integer value)
3095#graceful_shutdown_timeout=60
3096
3097
3098[api]
3099#
3100# Options under this group are used to define Nova API.
3101
3102#
3103# From nova.conf
3104#
3105
3106#
3107# This determines the strategy to use for authentication: keystone or noauth2.
3108# 'noauth2' is designed for testing only, as it does no actual credential
3109# checking. 'noauth2' provides administrative credentials only if 'admin' is
3110# specified as the username.
3111# (string value)
3112# Allowed values: keystone, noauth2
3113# Deprecated group/name - [DEFAULT]/auth_strategy
3114#auth_strategy=keystone
3115auth_strategy=keystone
3116
3117#
3118# When True, the 'X-Forwarded-For' header is treated as the canonical remote
3119# address. When False (the default), the 'remote_address' header is used.
3120#
3121# You should only enable this if you have an HTML sanitizing proxy.
3122# (boolean value)
3123# Deprecated group/name - [DEFAULT]/use_forwarded_for
3124#use_forwarded_for=false
3125use_forwarded_for=false
3126
3127#
3128# When gathering the existing metadata for a config drive, the EC2-style
3129# metadata is returned for all versions that don't appear in this option.
3130# As of the Liberty release, the available versions are:
3131#
3132# * 1.0
3133# * 2007-01-19
3134# * 2007-03-01
3135# * 2007-08-29
3136# * 2007-10-10
3137# * 2007-12-15
3138# * 2008-02-01
3139# * 2008-09-01
3140# * 2009-04-04
3141#
3142# The option is in the format of a single string, with each version separated
3143# by a space.
3144#
3145# Possible values:
3146#
3147# * Any string that represents zero or more versions, separated by spaces.
3148# (string value)
3149# Deprecated group/name - [DEFAULT]/config_drive_skip_versions
3150#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
3151
3152#
3153# A list of vendordata providers.
3154#
3155# vendordata providers are how deployers can provide metadata via configdrive
3156# and metadata that is specific to their deployment. There are currently two
3157# supported providers: StaticJSON and DynamicJSON.
3158#
3159# StaticJSON reads a JSON file configured by the flag vendordata_jsonfile_path
3160# and places the JSON from that file into vendor_data.json and
3161# vendor_data2.json.
3162#
3163# DynamicJSON is configured via the vendordata_dynamic_targets flag, which is
3164# documented separately. For each of the endpoints specified in that flag, a
3165# section is added to the vendor_data2.json.
3166#
3167# For more information on the requirements for implementing a vendordata
3168# dynamic endpoint, please see the vendordata.rst file in the nova developer
3169# reference.
3170#
3171# Possible values:
3172#
3173# * A list of vendordata providers, with StaticJSON and DynamicJSON being
3174# current options.
3175#
3176# Related options:
3177#
3178# * vendordata_dynamic_targets
3179# * vendordata_dynamic_ssl_certfile
3180# * vendordata_dynamic_connect_timeout
3181# * vendordata_dynamic_read_timeout
3182# * vendordata_dynamic_failure_fatal
3183# (list value)
3184# Deprecated group/name - [DEFAULT]/vendordata_providers
3185#vendordata_providers =
3186
3187#
3188# A list of targets for the dynamic vendordata provider. These targets are of
3189# the form <name>@<url>.
3190#
3191# The dynamic vendordata provider collects metadata by contacting external REST
3192# services and querying them for information about the instance. This behaviour
3193# is documented in the vendordata.rst file in the nova developer reference.
3194# (list value)
3195# Deprecated group/name - [DEFAULT]/vendordata_dynamic_targets
3196#vendordata_dynamic_targets =
3197
3198#
3199# Path to an optional certificate file or CA bundle to verify dynamic
3200# vendordata REST services ssl certificates against.
3201#
3202# Possible values:
3203#
3204# * An empty string, or a path to a valid certificate file
3205#
3206# Related options:
3207#
3208# * vendordata_providers
3209# * vendordata_dynamic_targets
3210# * vendordata_dynamic_connect_timeout
3211# * vendordata_dynamic_read_timeout
3212# * vendordata_dynamic_failure_fatal
3213# (string value)
3214# Deprecated group/name - [DEFAULT]/vendordata_dynamic_ssl_certfile
3215#vendordata_dynamic_ssl_certfile =
3216
3217#
3218# Maximum wait time for an external REST service to connect.
3219#
3220# Possible values:
3221#
3222# * Any integer with a value greater than three (the TCP packet retransmission
3223# timeout). Note that instance start may be blocked during this wait time,
3224# so this value should be kept small.
3225#
3226# Related options:
3227#
3228# * vendordata_providers
3229# * vendordata_dynamic_targets
3230# * vendordata_dynamic_ssl_certfile
3231# * vendordata_dynamic_read_timeout
3232# * vendordata_dynamic_failure_fatal
3233# (integer value)
3234# Minimum value: 3
3235# Deprecated group/name - [DEFAULT]/vendordata_dynamic_connect_timeout
3236#vendordata_dynamic_connect_timeout=5
3237
3238#
3239# Maximum wait time for an external REST service to return data once connected.
3240#
3241# Possible values:
3242#
3243# * Any integer. Note that instance start is blocked during this wait time,
3244# so this value should be kept small.
3245#
3246# Related options:
3247#
3248# * vendordata_providers
3249# * vendordata_dynamic_targets
3250# * vendordata_dynamic_ssl_certfile
3251# * vendordata_dynamic_connect_timeout
3252# * vendordata_dynamic_failure_fatal
3253# (integer value)
3254# Minimum value: 0
3255# Deprecated group/name - [DEFAULT]/vendordata_dynamic_read_timeout
3256#vendordata_dynamic_read_timeout=5
3257
3258#
3259# Should failures to fetch dynamic vendordata be fatal to instance boot?
3260#
3261# Related options:
3262#
3263# * vendordata_providers
3264# * vendordata_dynamic_targets
3265# * vendordata_dynamic_ssl_certfile
3266# * vendordata_dynamic_connect_timeout
3267# * vendordata_dynamic_read_timeout
3268# (boolean value)
3269#vendordata_dynamic_failure_fatal=false
3270
3271#
3272# This option is the time (in seconds) to cache metadata. When set to 0,
3273# metadata caching is disabled entirely; this is generally not recommended for
3274# performance reasons. Increasing this setting should improve response times
3275# of the metadata API when under heavy load. Higher values may increase memory
3276# usage, and result in longer times for host metadata changes to take effect.
3277# (integer value)
3278# Minimum value: 0
3279# Deprecated group/name - [DEFAULT]/metadata_cache_expiration
3280#metadata_cache_expiration=15
3281
3282#
3283# Cloud providers may store custom data in vendor data file that will then be
3284# available to the instances via the metadata service, and to the rendering of
3285# config-drive. The default class for this, JsonFileVendorData, loads this
3286# information from a JSON file, whose path is configured by this option. If
3287# there is no path set by this option, the class returns an empty dictionary.
3288#
3289# Possible values:
3290#
3291# * Any string representing the path to the data file, or an empty string
3292# (default).
3293# (string value)
3294# Deprecated group/name - [DEFAULT]/vendordata_jsonfile_path
3295#vendordata_jsonfile_path=<None>
3296
3297#
3298# As a query can potentially return many thousands of items, you can limit the
3299# maximum number of items in a single response by setting this option.
3300# (integer value)
3301# Minimum value: 0
3302# Deprecated group/name - [DEFAULT]/osapi_max_limit
3303#max_limit=1000
3304max_limit={{ controller.osapi_max_limit|default('1000') }}
3305
3306#
3307# This string is prepended to the normal URL that is returned in links to the
3308# OpenStack Compute API. If it is empty (the default), the URLs are returned
3309# unchanged.
3310#
3311# Possible values:
3312#
3313# * Any string, including an empty string (the default).
3314# (string value)
3315# Deprecated group/name - [DEFAULT]/osapi_compute_link_prefix
3316#compute_link_prefix=<None>
3317
3318#
3319# This string is prepended to the normal URL that is returned in links to
3320# Glance resources. If it is empty (the default), the URLs are returned
3321# unchanged.
3322#
3323# Possible values:
3324#
3325# * Any string, including an empty string (the default).
3326# (string value)
3327# Deprecated group/name - [DEFAULT]/osapi_glance_link_prefix
3328#glance_link_prefix=<None>
3329
3330#
3331# Operators can turn off the ability for a user to take snapshots of their
3332# instances by setting this option to False. When disabled, any attempt to
3333# take a snapshot will result in a HTTP 400 response ("Bad Request").
3334# (boolean value)
3335# Deprecated group/name - [DEFAULT]/allow_instance_snapshots
3336#allow_instance_snapshots=true
3337
3338#
3339# This option is a list of all instance states for which network address
3340# information should not be returned from the API.
3341#
3342# Possible values:
3343#
3344# A list of strings, where each string is a valid VM state, as defined in
3345# nova/compute/vm_states.py. As of the Newton release, they are:
3346#
3347# * "active"
3348# * "building"
3349# * "paused"
3350# * "suspended"
3351# * "stopped"
3352# * "rescued"
3353# * "resized"
3354# * "soft-delete"
3355# * "deleted"
3356# * "error"
3357# * "shelved"
3358# * "shelved_offloaded"
3359# (list value)
3360# Deprecated group/name - [DEFAULT]/osapi_hide_server_address_states
3361#hide_server_address_states=building
3362
3363# The full path to the fping binary. (string value)
3364# Deprecated group/name - [DEFAULT]/fping_path
3365#fping_path=/usr/sbin/fping
3366fping_path=/usr/sbin/fping
3367
3368#
3369# When True, the TenantNetworkController will query the Neutron API to get the
3370# default networks to use.
3371#
3372# Related options:
3373#
3374# * neutron_default_tenant_id
3375# (boolean value)
3376# Deprecated group/name - [DEFAULT]/use_neutron_default_nets
3377#use_neutron_default_nets=false
3378
3379#
3380# Tenant ID for getting the default network from Neutron API (also referred in
3381# some places as the 'project ID') to use.
3382#
3383# Related options:
3384#
3385# * use_neutron_default_nets
3386# (string value)
3387# Deprecated group/name - [DEFAULT]/neutron_default_tenant_id
3388#neutron_default_tenant_id=default
3389
3390#
3391# Enables returning of the instance password by the relevant server API calls
3392# such as create, rebuild, evacuate, or rescue. If the hypervisor does not
3393# support password injection, then the password returned will not be correct,
3394# so if your hypervisor does not support password injection, set this to False.
3395# (boolean value)
3396# Deprecated group/name - [DEFAULT]/enable_instance_password
3397#enable_instance_password=true
3398
3399
3400[api_database]
3401#
3402# The *Nova API Database* is a separate database which is used for information
3403# which is used across *cells*. This database is mandatory since the Mitaka
3404# release (13.0.0).
3405
3406#
3407# From nova.conf
3408#
3409idle_timeout = 180
3410min_pool_size = 100
3411max_pool_size = 700
3412max_overflow = 100
3413retry_interval = 5
3414max_retries = -1
3415db_max_retries = 3
3416db_retry_interval = 1
3417connection_debug = 10
3418pool_timeout = 120
Kirill Bespalov4952ed32017-08-25 13:31:55 +03003419connection = {{ controller.database.engine }}+pymysql://{{ controller.database.user }}:{{ controller.database.password }}@{{ controller.database.host }}/{{ controller.database.name }}_api?charset=utf8{%- if controller.database.get('ssl',{}).get('enabled',False) %}&ssl_ca={{ controller.database.ssl.get('cacert_file', system_cacerts_file) }}{% endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02003420
3421# The SQLAlchemy connection string to use to connect to the database. (string
3422# value)
3423#connection=sqlite:////var/lib/nova/nova.sqlite
3424
3425# If True, SQLite uses synchronous mode. (boolean value)
3426#sqlite_synchronous=true
3427
3428# The SQLAlchemy connection string to use to connect to the slave database.
3429# (string value)
3430#slave_connection=<None>
3431
3432# The SQL mode to be used for MySQL sessions. This option, including the
3433# default, overrides any server-set SQL mode. To use whatever SQL mode is set by
3434# the server configuration, set this to no value. Example: mysql_sql_mode=
3435# (string value)
3436#mysql_sql_mode=TRADITIONAL
3437
3438# Timeout before idle SQL connections are reaped. (integer value)
3439#idle_timeout=3600
3440
3441# Maximum number of SQL connections to keep open in a pool. Setting a value of 0
3442# indicates no limit. (integer value)
3443#max_pool_size=<None>
3444
3445# Maximum number of database connection retries during startup. Set to -1 to
3446# specify an infinite retry count. (integer value)
3447#max_retries=10
3448
3449# Interval between retries of opening a SQL connection. (integer value)
3450#retry_interval=10
3451
3452# If set, use this value for max_overflow with SQLAlchemy. (integer value)
3453#max_overflow=<None>
3454
3455# Verbosity of SQL debugging information: 0=None, 100=Everything. (integer
3456# value)
3457#connection_debug=0
3458
3459# Add Python stack traces to SQL as comment strings. (boolean value)
3460#connection_trace=false
3461
3462# If set, use this value for pool_timeout with SQLAlchemy. (integer value)
3463#pool_timeout=<None>
3464
3465
3466[barbican]
3467
3468#
3469# From nova.conf
3470#
3471
3472# Use this endpoint to connect to Barbican, for example:
3473# "http://localhost:9311/" (string value)
3474#barbican_endpoint=<None>
3475
3476# Version of the Barbican API, for example: "v1" (string value)
3477#barbican_api_version=<None>
3478
3479# Use this endpoint to connect to Keystone (string value)
3480#auth_endpoint=http://localhost:5000/v3
3481
3482# Number of seconds to wait before retrying poll for key creation completion
3483# (integer value)
3484#retry_delay=1
3485
3486# Number of times to retry poll for key creation completion (integer value)
3487#number_of_retries=60
3488
3489
3490[cache]
3491
3492#
3493# From nova.conf
3494#
3495{%- if controller.cache is defined %}
3496enabled = true
3497backend = oslo_cache.memcache_pool
3498memcache_servers={%- for member in controller.cache.members %}{{ member.host }}:11211{% if not loop.last %},{% endif %}{%- endfor %}
3499{%- endif %}
3500# Prefix for building the configuration dictionary for the cache region. This
3501# should not need to be changed unless there is another dogpile.cache region
3502# with the same configuration name. (string value)
3503#config_prefix=cache.oslo
3504
3505# Default TTL, in seconds, for any cached item in the dogpile.cache region. This
3506# applies to any cached method that doesn't have an explicit cache expiration
3507# time defined for it. (integer value)
3508#expiration_time=600
3509
3510# Dogpile.cache backend module. It is recommended that Memcache or Redis
3511# (dogpile.cache.redis) be used in production deployments. For eventlet-based or
3512# highly threaded servers, Memcache with pooling (oslo_cache.memcache_pool) is
3513# recommended. For low thread servers, dogpile.cache.memcached is recommended.
3514# Test environments with a single instance of the server can use the
3515# dogpile.cache.memory backend. (string value)
3516#backend=dogpile.cache.null
3517
3518# Arguments supplied to the backend module. Specify this option once per
3519# argument to be passed to the dogpile.cache backend. Example format:
3520# "<argname>:<value>". (multi valued)
3521#backend_argument =
3522
3523# Proxy classes to import that will affect the way the dogpile.cache backend
3524# functions. See the dogpile.cache documentation on changing-backend-behavior.
3525# (list value)
3526#proxies =
3527
3528# Global toggle for caching. (boolean value)
3529#enabled=false
3530
3531# Extra debugging from the cache backend (cache keys, get/set/delete/etc calls).
3532# This is only really useful if you need to see the specific cache-backend
3533# get/set/delete calls with the keys/values. Typically this should be left set
3534# to false. (boolean value)
3535#debug_cache_backend=false
3536
3537# Memcache servers in the format of "host:port". (dogpile.cache.memcache and
3538# oslo_cache.memcache_pool backends only). (list value)
3539#memcache_servers=localhost:11211
3540
3541# Number of seconds memcached server is considered dead before it is tried
3542# again. (dogpile.cache.memcache and oslo_cache.memcache_pool backends only).
3543# (integer value)
3544#memcache_dead_retry=300
3545
3546# Timeout in seconds for every call to a server. (dogpile.cache.memcache and
3547# oslo_cache.memcache_pool backends only). (integer value)
3548#memcache_socket_timeout=3
3549
3550# Max total number of open connections to every memcached server.
3551# (oslo_cache.memcache_pool backend only). (integer value)
3552#memcache_pool_maxsize=10
3553
3554# Number of seconds a connection to memcached is held unused in the pool before
3555# it is closed. (oslo_cache.memcache_pool backend only). (integer value)
3556#memcache_pool_unused_timeout=60
3557
3558# Number of seconds that an operation will wait to get a memcache client
3559# connection. (integer value)
3560#memcache_pool_connection_get_timeout=10
3561
3562
3563[cells]
3564#
3565# Cells options allow you to use cells functionality in openstack
3566# deployment.
3567#
3568# Note that the options in this group are only for cells v1 functionality, which
3569# is considered experimental and not recommended for new deployments. Cells v1
3570# is being replaced with cells v2, which starting in the 15.0.0 Ocata release is
3571# required and all Nova deployments will be at least a cells v2 cell of one.
3572#
3573
3574#
3575# From nova.conf
3576#
3577
3578# DEPRECATED:
3579# Topic.
3580#
3581# This is the message queue topic that cells nodes listen on. It is
3582# used when the cells service is started up to configure the queue,
3583# and whenever an RPC call to the scheduler is made.
3584#
3585# Possible values:
3586#
3587# * cells: This is the recommended and the default value.
3588# (string value)
3589# This option is deprecated for removal since 15.0.0.
3590# Its value may be silently ignored in the future.
3591# Reason:
3592# Configurable RPC topics provide little value and can result in a wide variety
3593# of errors. They should not be used.
3594#topic=cells
3595
3596#
3597# Enable cell v1 functionality.
3598#
3599# Note that cells v1 is considered experimental and not recommended for new
3600# Nova deployments. Cells v1 is being replaced by cells v2 which starting in
3601# the 15.0.0 Ocata release, all Nova deployments are at least a cells v2 cell
3602# of one. Setting this option, or any other options in the [cells] group, is
3603# not required for cells v2.
3604#
3605# When this functionality is enabled, it lets you to scale an OpenStack
3606# Compute cloud in a more distributed fashion without having to use
3607# complicated technologies like database and message queue clustering.
3608# Cells are configured as a tree. The top-level cell should have a host
3609# that runs a nova-api service, but no nova-compute services. Each
3610# child cell should run all of the typical nova-* services in a regular
3611# Compute cloud except for nova-api. You can think of cells as a normal
3612# Compute deployment in that each cell has its own database server and
3613# message queue broker.
3614#
3615# Related options:
3616#
3617# * name: A unique cell name must be given when this functionality
3618# is enabled.
3619# * cell_type: Cell type should be defined for all cells.
3620# (boolean value)
3621enable=False
3622
3623#
3624# Name of the current cell.
3625#
3626# This value must be unique for each cell. Name of a cell is used as
3627# its id, leaving this option unset or setting the same name for
3628# two or more cells may cause unexpected behaviour.
3629#
3630# Related options:
3631#
3632# * enabled: This option is meaningful only when cells service
3633# is enabled
3634# (string value)
3635#name=nova
3636
3637#
3638# Cell capabilities.
3639#
3640# List of arbitrary key=value pairs defining capabilities of the
3641# current cell to be sent to the parent cells. These capabilities
3642# are intended to be used in cells scheduler filters/weighers.
3643#
3644# Possible values:
3645#
3646# * key=value pairs list for example;
3647# ``hypervisor=xenserver;kvm,os=linux;windows``
3648# (list value)
3649#capabilities=hypervisor=xenserver;kvm,os=linux;windows
3650
3651#
3652# Call timeout.
3653#
3654# Cell messaging module waits for response(s) to be put into the
3655# eventlet queue. This option defines the seconds waited for
3656# response from a call to a cell.
3657#
3658# Possible values:
3659#
3660# * An integer, corresponding to the interval time in seconds.
3661# (integer value)
3662# Minimum value: 0
3663#call_timeout=60
3664
3665#
3666# Reserve percentage
3667#
3668# Percentage of cell capacity to hold in reserve, so the minimum
3669# amount of free resource is considered to be;
3670#
3671# min_free = total * (reserve_percent / 100.0)
3672#
3673# This option affects both memory and disk utilization.
3674#
3675# The primary purpose of this reserve is to ensure some space is
3676# available for users who want to resize their instance to be larger.
3677# Note that currently once the capacity expands into this reserve
3678# space this option is ignored.
3679#
3680# Possible values:
3681#
3682# * An integer or float, corresponding to the percentage of cell capacity to
3683# be held in reserve.
3684# (floating point value)
3685#reserve_percent=10.0
3686
3687#
3688# Type of cell.
3689#
3690# When cells feature is enabled the hosts in the OpenStack Compute
3691# cloud are partitioned into groups. Cells are configured as a tree.
3692# The top-level cell's cell_type must be set to ``api``. All other
3693# cells are defined as a ``compute cell`` by default.
3694#
3695# Related option:
3696#
3697# * quota_driver: Disable quota checking for the child cells.
3698# (nova.quota.NoopQuotaDriver)
3699# (string value)
3700# Allowed values: api, compute
3701#cell_type=compute
3702
3703#
3704# Mute child interval.
3705#
3706# Number of seconds after which a lack of capability and capacity
3707# update the child cell is to be treated as a mute cell. Then the
3708# child cell will be weighed as recommend highly that it be skipped.
3709#
3710# Possible values:
3711#
3712# * An integer, corresponding to the interval time in seconds.
3713# (integer value)
3714#mute_child_interval=300
3715
3716#
3717# Bandwidth update interval.
3718#
3719# Seconds between bandwidth usage cache updates for cells.
3720#
3721# Possible values:
3722#
3723# * An integer, corresponding to the interval time in seconds.
3724# (integer value)
3725#bandwidth_update_interval=600
3726
3727#
3728# Instance update sync database limit.
3729#
3730# Number of instances to pull from the database at one time for
3731# a sync. If there are more instances to update the results will
3732# be paged through.
3733#
3734# Possible values:
3735#
3736# * An integer, corresponding to a number of instances.
3737# (integer value)
3738#instance_update_sync_database_limit=100
3739
3740#
3741# Mute weight multiplier.
3742#
3743# Multiplier used to weigh mute children. Mute children cells are
3744# recommended to be skipped so their weight is multiplied by this
3745# negative value.
3746#
3747# Possible values:
3748#
3749# * Negative numeric number
3750# (floating point value)
3751#mute_weight_multiplier=-10000.0
3752
3753#
3754# Ram weight multiplier.
3755#
3756# Multiplier used for weighing ram. Negative numbers indicate that
3757# Compute should stack VMs on one host instead of spreading out new
3758# VMs to more hosts in the cell.
3759#
3760# Possible values:
3761#
3762# * Numeric multiplier
3763# (floating point value)
3764#ram_weight_multiplier=10.0
3765
3766#
3767# Offset weight multiplier
3768#
3769# Multiplier used to weigh offset weigher. Cells with higher
3770# weight_offsets in the DB will be preferred. The weight_offset
3771# is a property of a cell stored in the database. It can be used
3772# by a deployer to have scheduling decisions favor or disfavor
3773# cells based on the setting.
3774#
3775# Possible values:
3776#
3777# * Numeric multiplier
3778# (floating point value)
3779#offset_weight_multiplier=1.0
3780
3781#
3782# Instance updated at threshold
3783#
3784# Number of seconds after an instance was updated or deleted to
3785# continue to update cells. This option lets cells manager to only
3786# attempt to sync instances that have been updated recently.
3787# i.e., a threshold of 3600 means to only update instances that
3788# have modified in the last hour.
3789#
3790# Possible values:
3791#
3792# * Threshold in seconds
3793#
3794# Related options:
3795#
3796# * This value is used with the ``instance_update_num_instances``
3797# value in a periodic task run.
3798# (integer value)
3799#instance_updated_at_threshold=3600
3800
3801#
3802# Instance update num instances
3803#
3804# On every run of the periodic task, nova cells manager will attempt to
3805# sync instance_updated_at_threshold number of instances. When the
3806# manager gets the list of instances, it shuffles them so that multiple
3807# nova-cells services do not attempt to sync the same instances in
3808# lockstep.
3809#
3810# Possible values:
3811#
3812# * Positive integer number
3813#
3814# Related options:
3815#
3816# * This value is used with the ``instance_updated_at_threshold``
3817# value in a periodic task run.
3818# (integer value)
3819#instance_update_num_instances=1
3820
3821#
3822# Maximum hop count
3823#
3824# When processing a targeted message, if the local cell is not the
3825# target, a route is defined between neighbouring cells. And the
3826# message is processed across the whole routing path. This option
3827# defines the maximum hop counts until reaching the target.
3828#
3829# Possible values:
3830#
3831# * Positive integer value
3832# (integer value)
3833#max_hop_count=10
3834
3835#
3836# Cells scheduler.
3837#
3838# The class of the driver used by the cells scheduler. This should be
3839# the full Python path to the class to be used. If nothing is specified
3840# in this option, the CellsScheduler is used.
3841# (string value)
3842#scheduler=nova.cells.scheduler.CellsScheduler
3843
3844#
3845# RPC driver queue base.
3846#
3847# When sending a message to another cell by JSON-ifying the message
3848# and making an RPC cast to 'process_message', a base queue is used.
3849# This option defines the base queue name to be used when communicating
3850# between cells. Various topics by message type will be appended to this.
3851#
3852# Possible values:
3853#
3854# * The base queue name to be used when communicating between cells.
3855# (string value)
3856#rpc_driver_queue_base=cells.intercell
3857
3858#
3859# Scheduler filter classes.
3860#
3861# Filter classes the cells scheduler should use. An entry of
3862# "nova.cells.filters.all_filters" maps to all cells filters
3863# included with nova. As of the Mitaka release the following
3864# filter classes are available:
3865#
3866# Different cell filter: A scheduler hint of 'different_cell'
3867# with a value of a full cell name may be specified to route
3868# a build away from a particular cell.
3869#
3870# Image properties filter: Image metadata named
3871# 'hypervisor_version_requires' with a version specification
3872# may be specified to ensure the build goes to a cell which
3873# has hypervisors of the required version. If either the version
3874# requirement on the image or the hypervisor capability of the
3875# cell is not present, this filter returns without filtering out
3876# the cells.
3877#
3878# Target cell filter: A scheduler hint of 'target_cell' with a
3879# value of a full cell name may be specified to route a build to
3880# a particular cell. No error handling is done as there's no way
3881# to know whether the full path is a valid.
3882#
3883# As an admin user, you can also add a filter that directs builds
3884# to a particular cell.
3885#
3886# (list value)
3887#scheduler_filter_classes=nova.cells.filters.all_filters
3888
3889#
3890# Scheduler weight classes.
3891#
3892# Weigher classes the cells scheduler should use. An entry of
3893# "nova.cells.weights.all_weighers" maps to all cell weighers
3894# included with nova. As of the Mitaka release the following
3895# weight classes are available:
3896#
3897# mute_child: Downgrades the likelihood of child cells being
3898# chosen for scheduling requests, which haven't sent capacity
3899# or capability updates in a while. Options include
3900# mute_weight_multiplier (multiplier for mute children; value
3901# should be negative).
3902#
3903# ram_by_instance_type: Select cells with the most RAM capacity
3904# for the instance type being requested. Because higher weights
3905# win, Compute returns the number of available units for the
3906# instance type requested. The ram_weight_multiplier option defaults
3907# to 10.0 that adds to the weight by a factor of 10. Use a negative
3908# number to stack VMs on one host instead of spreading out new VMs
3909# to more hosts in the cell.
3910#
3911# weight_offset: Allows modifying the database to weight a particular
3912# cell. The highest weight will be the first cell to be scheduled for
3913# launching an instance. When the weight_offset of a cell is set to 0,
3914# it is unlikely to be picked but it could be picked if other cells
3915# have a lower weight, like if they're full. And when the weight_offset
3916# is set to a very high value (for example, '999999999999999'), it is
3917# likely to be picked if another cell do not have a higher weight.
3918# (list value)
3919#scheduler_weight_classes=nova.cells.weights.all_weighers
3920
3921#
3922# Scheduler retries.
3923#
3924# How many retries when no cells are available. Specifies how many
3925# times the scheduler tries to launch a new instance when no cells
3926# are available.
3927#
3928# Possible values:
3929#
3930# * Positive integer value
3931#
3932# Related options:
3933#
3934# * This value is used with the ``scheduler_retry_delay`` value
3935# while retrying to find a suitable cell.
3936# (integer value)
3937#scheduler_retries=10
3938
3939#
3940# Scheduler retry delay.
3941#
3942# Specifies the delay (in seconds) between scheduling retries when no
3943# cell can be found to place the new instance on. When the instance
3944# could not be scheduled to a cell after ``scheduler_retries`` in
3945# combination with ``scheduler_retry_delay``, then the scheduling
3946# of the instance failed.
3947#
3948# Possible values:
3949#
3950# * Time in seconds.
3951#
3952# Related options:
3953#
3954# * This value is used with the ``scheduler_retries`` value
3955# while retrying to find a suitable cell.
3956# (integer value)
3957#scheduler_retry_delay=2
3958
3959#
3960# DB check interval.
3961#
3962# Cell state manager updates cell status for all cells from the DB
3963# only after this particular interval time is passed. Otherwise cached
3964# status are used. If this value is 0 or negative all cell status are
3965# updated from the DB whenever a state is needed.
3966#
3967# Possible values:
3968#
3969# * Interval time, in seconds.
3970#
3971# (integer value)
3972#db_check_interval=60
3973
3974#
3975# Optional cells configuration.
3976#
3977# Configuration file from which to read cells configuration. If given,
3978# overrides reading cells from the database.
3979#
3980# Cells store all inter-cell communication data, including user names
3981# and passwords, in the database. Because the cells data is not updated
3982# very frequently, use this option to specify a JSON file to store
3983# cells data. With this configuration, the database is no longer
3984# consulted when reloading the cells data. The file must have columns
3985# present in the Cell model (excluding common database fields and the
3986# id column). You must specify the queue connection information through
3987# a transport_url field, instead of username, password, and so on.
3988#
3989# The transport_url has the following form:
3990# rabbit://USERNAME:PASSWORD@HOSTNAME:PORT/VIRTUAL_HOST
3991#
3992# Possible values:
3993#
3994# The scheme can be either qpid or rabbit, the following sample shows
3995# this optional configuration:
3996#
3997# {
3998# "parent": {
3999# "name": "parent",
4000# "api_url": "http://api.example.com:8774",
4001# "transport_url": "rabbit://rabbit.example.com",
4002# "weight_offset": 0.0,
4003# "weight_scale": 1.0,
4004# "is_parent": true
4005# },
4006# "cell1": {
4007# "name": "cell1",
4008# "api_url": "http://api.example.com:8774",
4009# "transport_url": "rabbit://rabbit1.example.com",
4010# "weight_offset": 0.0,
4011# "weight_scale": 1.0,
4012# "is_parent": false
4013# },
4014# "cell2": {
4015# "name": "cell2",
4016# "api_url": "http://api.example.com:8774",
4017# "transport_url": "rabbit://rabbit2.example.com",
4018# "weight_offset": 0.0,
4019# "weight_scale": 1.0,
4020# "is_parent": false
4021# }
4022# }
4023#
4024# (string value)
4025#cells_config=<None>
4026
4027
4028[cinder]
4029
4030#
4031# From nova.conf
4032#
4033
4034#
4035# Info to match when looking for cinder in the service catalog.
4036#
4037# Possible values:
4038#
4039# * Format is separated values of the form:
4040# <service_type>:<service_name>:<endpoint_type>
4041#
4042# Note: Nova does not support the Cinder v1 API since the Nova 15.0.0 Ocata
4043# release.
4044#
4045# Related options:
4046#
4047# * endpoint_template - Setting this option will override catalog_info
4048# (string value)
4049#catalog_info=volumev2:cinderv2:publicURL
4050catalog_info=volumev2:cinderv2:internalURL
4051
4052#
4053# If this option is set then it will override service catalog lookup with
4054# this template for cinder endpoint
4055#
4056# Possible values:
4057#
4058# * URL for cinder endpoint API
4059# e.g. http://localhost:8776/v2/%(project_id)s
4060#
4061# Note: Nova does not support the Cinder v1 API since the Nova 15.0.0 Ocata
4062# release.
4063#
4064# Related options:
4065#
4066# * catalog_info - If endpoint_template is not set, catalog_info will be used.
4067# (string value)
4068#endpoint_template=<None>
4069
4070#
4071# Region name of this node. This is used when picking the URL in the service
4072# catalog.
4073#
4074# Possible values:
4075#
4076# * Any string representing region name
4077# (string value)
4078#os_region_name=<None>
4079os_region_name = {{ controller.identity.region }}
4080
4081#
4082# Number of times cinderclient should retry on any failed http call.
4083# 0 means connection is attempted only once. Setting it to any positive integer
4084# means that on failure connection is retried that many times e.g. setting it
4085# to 3 means total attempts to connect will be 4.
4086#
4087# Possible values:
4088#
4089# * Any integer value. 0 means connection is attempted only once
4090# (integer value)
4091# Minimum value: 0
4092#http_retries=3
4093
4094#
4095# Allow attach between instance and volume in different availability zones.
4096#
4097# If False, volumes attached to an instance must be in the same availability
4098# zone in Cinder as the instance availability zone in Nova.
4099# This also means care should be taken when booting an instance from a volume
4100# where source is not "volume" because Nova will attempt to create a volume
4101# using
4102# the same availability zone as what is assigned to the instance.
4103# If that AZ is not in Cinder (or allow_availability_zone_fallback=False in
4104# cinder.conf), the volume create request will fail and the instance will fail
4105# the build request.
4106# By default there is no availability zone restriction on volume attach.
4107# (boolean value)
4108#cross_az_attach=true
Dmitry Stremkovskiy2bcba8d2017-07-30 21:43:59 +03004109{%- if controller.cross_az_attach is defined %}
4110cross_az_attach={{ controller.cross_az_attach }}
4111{%- endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02004112
4113[cloudpipe]
4114
4115#
4116# From nova.conf
4117#
4118
4119#
4120# Image ID used when starting up a cloudpipe VPN client.
4121#
4122# An empty instance is created and configured with OpenVPN using
4123# boot_script_template. This instance would be snapshotted and stored
4124# in glance. ID of the stored image is used in 'vpn_image_id' to
4125# create cloudpipe VPN client.
4126#
4127# Possible values:
4128#
4129# * Any valid ID of a VPN image
4130# (string value)
4131# Deprecated group/name - [DEFAULT]/vpn_image_id
4132#vpn_image_id=0
4133
4134#
4135# Flavor for VPN instances.
4136#
4137# Possible values:
4138#
4139# * Any valid flavor name
4140# (string value)
4141# Deprecated group/name - [DEFAULT]/vpn_flavor
4142#vpn_flavor=m1.tiny
4143
4144#
4145# Template for cloudpipe instance boot script.
4146#
4147# Possible values:
4148#
4149# * Any valid path to a cloudpipe instance boot script template
4150#
4151# Related options:
4152#
4153# The following options are required to configure cloudpipe-managed
4154# OpenVPN server.
4155#
4156# * dmz_net
4157# * dmz_mask
4158# * cnt_vpn_clients
4159# (string value)
4160# Deprecated group/name - [DEFAULT]/boot_script_template
4161#boot_script_template=$pybasedir/nova/cloudpipe/bootscript.template
4162
4163#
4164# Network to push into OpenVPN config.
4165#
4166# Note: Above mentioned OpenVPN config can be found at
4167# /etc/openvpn/server.conf.
4168#
4169# Possible values:
4170#
4171# * Any valid IPv4/IPV6 address
4172#
4173# Related options:
4174#
4175# * boot_script_template - dmz_net is pushed into bootscript.template
4176# to configure cloudpipe-managed OpenVPN server
4177# (IP address value)
4178# Deprecated group/name - [DEFAULT]/dmz_net
4179#dmz_net=10.0.0.0
4180
4181#
4182# Netmask to push into OpenVPN config.
4183#
4184# Possible values:
4185#
4186# * Any valid IPv4/IPV6 netmask
4187#
4188# Related options:
4189#
4190# * dmz_net - dmz_net and dmz_mask is pushed into bootscript.template
4191# to configure cloudpipe-managed OpenVPN server
4192# * boot_script_template
4193# (IP address value)
4194# Deprecated group/name - [DEFAULT]/dmz_mask
4195#dmz_mask=255.255.255.0
4196
4197#
4198# Suffix to add to project name for VPN key and secgroups
4199#
4200# Possible values:
4201#
4202# * Any string value representing the VPN key suffix
4203# (string value)
4204# Deprecated group/name - [DEFAULT]/vpn_key_suffix
4205#vpn_key_suffix=-vpn
4206
4207
4208[conductor]
4209#
4210# Options under this group are used to define Conductor's communication,
4211# which manager should be act as a proxy between computes and database,
4212# and finally, how many worker processes will be used.
4213
4214#
4215# From nova.conf
4216#
4217
4218# DEPRECATED:
4219# Topic exchange name on which conductor nodes listen.
4220# (string value)
4221# This option is deprecated for removal since 15.0.0.
4222# Its value may be silently ignored in the future.
4223# Reason:
4224# There is no need to let users choose the RPC topic for all services - there
4225# is little gain from this. Furthermore, it makes it really easy to break Nova
4226# by using this option.
4227#topic=conductor
4228
4229#
4230# Number of workers for OpenStack Conductor service. The default will be the
4231# number of CPUs available.
4232# (integer value)
4233#workers=<None>
4234workers = {{ controller.workers }}
4235
4236[console]
4237#
4238# Options under this group allow to tune the configuration of the console proxy
4239# service.
4240#
4241# Note: in configuration of every compute is a ``console_host`` option,
4242# which allows to select the console proxy service to connect to.
4243
4244#
4245# From nova.conf
4246#
4247
4248#
4249# Adds list of allowed origins to the console websocket proxy to allow
4250# connections from other origin hostnames.
4251# Websocket proxy matches the host header with the origin header to
4252# prevent cross-site requests. This list specifies if any there are
4253# values other than host are allowed in the origin header.
4254#
4255# Possible values:
4256#
4257# * A list where each element is an allowed origin hostnames, else an empty list
4258# (list value)
4259# Deprecated group/name - [DEFAULT]/console_allowed_origins
4260#allowed_origins =
4261
4262
4263[consoleauth]
4264
4265#
4266# From nova.conf
4267#
4268
4269#
4270# The lifetime of a console auth token.
4271#
4272# A console auth token is used in authorizing console access for a user.
4273# Once the auth token time to live count has elapsed, the token is
4274# considered expired. Expired tokens are then deleted.
4275# (integer value)
4276# Minimum value: 0
4277# Deprecated group/name - [DEFAULT]/console_token_ttl
4278#token_ttl=600
4279
4280
4281[cors]
4282
4283#
4284# From oslo.middleware
4285#
4286
4287# Indicate whether this resource may be shared with the domain received in the
4288# requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing
4289# slash. Example: https://horizon.example.com (list value)
4290#allowed_origin=<None>
Ondrej Smola25b53cb2017-04-28 10:56:19 +02004291{% if controller.cors.allowed_origin is defined %}
4292allowed_origin = {{ controller.cors.allowed_origin }}
4293{% endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02004294
4295# Indicate that the actual request can include user credentials (boolean value)
4296#allow_credentials=true
Ondrej Smola25b53cb2017-04-28 10:56:19 +02004297{% if controller.cors.allow_credentials is defined %}
4298allow_credentials = {{ controller.cors.allow_credentials }}
4299{% endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02004300
4301# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
4302# Headers. (list value)
4303#expose_headers=X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token,X-Service-Token
Ondrej Smola25b53cb2017-04-28 10:56:19 +02004304{% if controller.cors.expose_headers is defined %}
4305expose_headers = {{ controller.cors.expose_headers }}
4306{% endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02004307
4308# Maximum cache age of CORS preflight requests. (integer value)
4309#max_age=3600
Ondrej Smola25b53cb2017-04-28 10:56:19 +02004310{% if controller.cors.max_age is defined %}
4311max_age = {{ controller.cors.max_age }}
4312{% endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02004313
4314# Indicate which methods can be used during the actual request. (list value)
4315#allow_methods=GET,PUT,POST,DELETE,PATCH
Ondrej Smola25b53cb2017-04-28 10:56:19 +02004316{% if controller.cors.allow_methods is defined %}
4317allow_methods = {{ controller.cors.allow_methods }}
4318{% endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02004319
4320# Indicate which header field names may be used during the actual request. (list
4321# value)
4322#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 +02004323{% if controller.cors.allow_headers is defined %}
4324allow_headers = {{ controller.cors.allow_headers }}
4325{% endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02004326
4327[cors.subdomain]
4328
4329#
4330# From oslo.middleware
4331#
4332
4333# Indicate whether this resource may be shared with the domain received in the
4334# requests "origin" header. Format: "<protocol>://<host>[:<port>]", no trailing
4335# slash. Example: https://horizon.example.com (list value)
4336#allowed_origin=<None>
4337
4338# Indicate that the actual request can include user credentials (boolean value)
4339#allow_credentials=true
4340
4341# Indicate which headers are safe to expose to the API. Defaults to HTTP Simple
4342# Headers. (list value)
4343#expose_headers=X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token,X-Service-Token
4344
4345# Maximum cache age of CORS preflight requests. (integer value)
4346#max_age=3600
4347
4348# Indicate which methods can be used during the actual request. (list value)
4349#allow_methods=GET,PUT,POST,DELETE,PATCH
4350
4351# Indicate which header field names may be used during the actual request. (list
4352# value)
4353#allow_headers=X-Auth-Token,X-Openstack-Request-Id,X-Identity-Status,X-Roles,X-Service-Catalog,X-User-Id,X-Tenant-Id
4354
4355
4356[crypto]
4357
4358#
4359# From nova.conf
4360#
4361
4362#
4363# Filename of root CA (Certificate Authority). This is a container format
4364# and includes root certificates.
4365#
4366# Possible values:
4367#
4368# * Any file name containing root CA, cacert.pem is default
4369#
4370# Related options:
4371#
4372# * ca_path
4373# (string value)
4374# Deprecated group/name - [DEFAULT]/ca_file
4375#ca_file=cacert.pem
4376
4377#
4378# Filename of a private key.
4379#
4380# Related options:
4381#
4382# * keys_path
4383# (string value)
4384# Deprecated group/name - [DEFAULT]/key_file
4385#key_file=private/cakey.pem
4386
4387#
4388# Filename of root Certificate Revocation List (CRL). This is a list of
4389# certificates that have been revoked, and therefore, entities presenting
4390# those (revoked) certificates should no longer be trusted.
4391#
4392# Related options:
4393#
4394# * ca_path
4395# (string value)
4396# Deprecated group/name - [DEFAULT]/crl_file
4397#crl_file=crl.pem
4398
4399#
4400# Directory path where keys are located.
4401#
4402# Related options:
4403#
4404# * key_file
4405# (string value)
4406# Deprecated group/name - [DEFAULT]/keys_path
4407#keys_path=$state_path/keys
4408
4409#
4410# Directory path where root CA is located.
4411#
4412# Related options:
4413#
4414# * ca_file
4415# (string value)
4416# Deprecated group/name - [DEFAULT]/ca_path
4417#ca_path=$state_path/CA
4418
4419# Option to enable/disable use of CA for each project. (boolean value)
4420# Deprecated group/name - [DEFAULT]/use_project_ca
4421#use_project_ca=false
4422
4423#
4424# Subject for certificate for users, %s for
4425# project, user, timestamp
4426# (string value)
4427# Deprecated group/name - [DEFAULT]/user_cert_subject
4428#user_cert_subject=/C=US/ST=California/O=OpenStack/OU=NovaDev/CN=%.16s-%.16s-%s
4429
4430#
4431# Subject for certificate for projects, %s for
4432# project, timestamp
4433# (string value)
4434# Deprecated group/name - [DEFAULT]/project_cert_subject
4435#project_cert_subject=/C=US/ST=California/O=OpenStack/OU=NovaDev/CN=project-ca-%.16s-%s
4436
4437
4438[database]
4439
4440#
4441# From oslo.db
4442#
4443
4444# DEPRECATED: The file name to use with SQLite. (string value)
4445# Deprecated group/name - [DEFAULT]/sqlite_db
4446# This option is deprecated for removal.
4447# Its value may be silently ignored in the future.
4448# Reason: Should use config option connection or slave_connection to connect the
4449# database.
4450#sqlite_db=oslo.sqlite
4451idle_timeout = 180
4452min_pool_size = 100
4453max_pool_size = 700
4454max_overflow = 100
4455retry_interval = 5
4456max_retries = -1
4457db_max_retries = 3
4458db_retry_interval = 1
4459connection_debug = 10
4460pool_timeout = 120
Kirill Bespalov4952ed32017-08-25 13:31:55 +03004461connection = {{ controller.database.engine }}+pymysql://{{ controller.database.user }}:{{ controller.database.password }}@{{ controller.database.host }}/{{ controller.database.name }}?charset=utf8{%- if controller.database.get('ssl',{}).get('enabled',False) %}&ssl_ca={{ controller.database.ssl.get('cacert_file', system_cacerts_file) }}{% endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02004462
4463# If True, SQLite uses synchronous mode. (boolean value)
4464# Deprecated group/name - [DEFAULT]/sqlite_synchronous
4465#sqlite_synchronous=true
4466
4467# The back end to use for the database. (string value)
4468# Deprecated group/name - [DEFAULT]/db_backend
4469#backend=sqlalchemy
4470
4471# The SQLAlchemy connection string to use to connect to the database. (string
4472# value)
4473# Deprecated group/name - [DEFAULT]/sql_connection
4474# Deprecated group/name - [DATABASE]/sql_connection
4475# Deprecated group/name - [sql]/connection
4476#connection=<None>
4477
4478# The SQLAlchemy connection string to use to connect to the slave database.
4479# (string value)
4480#slave_connection=<None>
4481
4482# The SQL mode to be used for MySQL sessions. This option, including the
4483# default, overrides any server-set SQL mode. To use whatever SQL mode is set by
4484# the server configuration, set this to no value. Example: mysql_sql_mode=
4485# (string value)
4486#mysql_sql_mode=TRADITIONAL
4487
4488# Timeout before idle SQL connections are reaped. (integer value)
4489# Deprecated group/name - [DEFAULT]/sql_idle_timeout
4490# Deprecated group/name - [DATABASE]/sql_idle_timeout
4491# Deprecated group/name - [sql]/idle_timeout
4492#idle_timeout=3600
4493
4494# Minimum number of SQL connections to keep open in a pool. (integer value)
4495# Deprecated group/name - [DEFAULT]/sql_min_pool_size
4496# Deprecated group/name - [DATABASE]/sql_min_pool_size
4497#min_pool_size=1
4498
4499# Maximum number of SQL connections to keep open in a pool. Setting a value of 0
4500# indicates no limit. (integer value)
4501# Deprecated group/name - [DEFAULT]/sql_max_pool_size
4502# Deprecated group/name - [DATABASE]/sql_max_pool_size
4503#max_pool_size=5
4504
4505# Maximum number of database connection retries during startup. Set to -1 to
4506# specify an infinite retry count. (integer value)
4507# Deprecated group/name - [DEFAULT]/sql_max_retries
4508# Deprecated group/name - [DATABASE]/sql_max_retries
4509#max_retries=10
4510
4511# Interval between retries of opening a SQL connection. (integer value)
4512# Deprecated group/name - [DEFAULT]/sql_retry_interval
4513# Deprecated group/name - [DATABASE]/reconnect_interval
4514#retry_interval=10
4515
4516# If set, use this value for max_overflow with SQLAlchemy. (integer value)
4517# Deprecated group/name - [DEFAULT]/sql_max_overflow
4518# Deprecated group/name - [DATABASE]/sqlalchemy_max_overflow
4519#max_overflow=50
4520
4521# Verbosity of SQL debugging information: 0=None, 100=Everything. (integer
4522# value)
4523# Minimum value: 0
4524# Maximum value: 100
4525# Deprecated group/name - [DEFAULT]/sql_connection_debug
4526#connection_debug=0
4527
4528# Add Python stack traces to SQL as comment strings. (boolean value)
4529# Deprecated group/name - [DEFAULT]/sql_connection_trace
4530#connection_trace=false
4531
4532# If set, use this value for pool_timeout with SQLAlchemy. (integer value)
4533# Deprecated group/name - [DATABASE]/sqlalchemy_pool_timeout
4534#pool_timeout=<None>
4535
4536# Enable the experimental use of database reconnect on connection lost. (boolean
4537# value)
4538#use_db_reconnect=false
4539
4540# Seconds between retries of a database transaction. (integer value)
4541#db_retry_interval=1
4542
4543# If True, increases the interval between retries of a database operation up to
4544# db_max_retry_interval. (boolean value)
4545#db_inc_retry_interval=true
4546
4547# If db_inc_retry_interval is set, the maximum seconds between retries of a
4548# database operation. (integer value)
4549#db_max_retry_interval=10
4550
4551# Maximum retries in case of connection error or deadlock error before error is
4552# raised. Set to -1 to specify an infinite retry count. (integer value)
4553#db_max_retries=20
4554
4555#
4556# From oslo.db.concurrency
4557#
4558
4559# Enable the experimental use of thread pooling for all DB API calls (boolean
4560# value)
4561# Deprecated group/name - [DEFAULT]/dbapi_use_tpool
4562#use_tpool=false
4563
4564
4565[ephemeral_storage_encryption]
4566
4567#
4568# From nova.conf
4569#
4570
4571#
4572# Enables/disables LVM ephemeral storage encryption.
4573# (boolean value)
4574#enabled=false
4575
4576#
4577# Cipher-mode string to be used.
4578#
4579# The cipher and mode to be used to encrypt ephemeral storage. The set of
4580# cipher-mode combinations available depends on kernel support.
4581#
4582# Possible values:
4583#
4584# * Any crypto option listed in ``/proc/crypto``.
4585# (string value)
4586#cipher=aes-xts-plain64
4587
4588#
4589# Encryption key length in bits.
4590#
4591# The bit length of the encryption key to be used to encrypt ephemeral storage.
4592# In XTS mode only half of the bits are used for encryption key.
4593# (integer value)
4594# Minimum value: 1
4595#key_size=512
4596
4597
4598[filter_scheduler]
4599
4600#
4601# From nova.conf
4602#
4603
4604#
4605# Size of subset of best hosts selected by scheduler.
4606#
4607# New instances will be scheduled on a host chosen randomly from a subset of the
4608# N best hosts, where N is the value set by this option.
4609#
4610# Setting this to a value greater than 1 will reduce the chance that multiple
4611# scheduler processes handling similar requests will select the same host,
4612# creating a potential race condition. By selecting a host randomly from the N
4613# hosts that best fit the request, the chance of a conflict is reduced. However,
4614# the higher you set this value, the less optimal the chosen host may be for a
4615# given request.
4616#
4617# This option is only used by the FilterScheduler and its subclasses; if you use
4618# a different scheduler, this option has no effect.
4619#
4620# Possible values:
4621#
4622# * An integer, where the integer corresponds to the size of a host subset. Any
4623# integer is valid, although any value less than 1 will be treated as 1
4624# (integer value)
4625# Minimum value: 1
4626# Deprecated group/name - [DEFAULT]/scheduler_host_subset_size
4627#host_subset_size=1
4628host_subset_size=30
4629
4630#
4631# The number of instances that can be actively performing IO on a host.
4632#
4633# Instances performing IO includes those in the following states: build, resize,
4634# snapshot, migrate, rescue, unshelve.
4635#
4636# This option is only used by the FilterScheduler and its subclasses; if you use
4637# a different scheduler, this option has no effect. Also note that this setting
4638# only affects scheduling if the 'io_ops_filter' filter is enabled.
4639#
4640# Possible values:
4641#
4642# * An integer, where the integer corresponds to the max number of instances
4643# that can be actively performing IO on any given host.
4644# (integer value)
4645# Deprecated group/name - [DEFAULT]/max_io_ops_per_host
4646#max_io_ops_per_host=8
4647max_io_ops_per_host=8
4648
4649#
4650# Maximum number of instances that be active on a host.
4651#
4652# If you need to limit the number of instances on any given host, set this
4653# option
4654# to the maximum number of instances you want to allow. The num_instances_filter
4655# will reject any host that has at least as many instances as this option's
4656# value.
4657#
4658# This option is only used by the FilterScheduler and its subclasses; if you use
4659# a different scheduler, this option has no effect. Also note that this setting
4660# only affects scheduling if the 'num_instances_filter' filter is enabled.
4661#
4662# Possible values:
4663#
4664# * An integer, where the integer corresponds to the max instances that can be
4665# scheduled on a host.
4666# (integer value)
4667# Deprecated group/name - [DEFAULT]/max_instances_per_host
4668#max_instances_per_host=50
4669max_instances_per_host=50
4670
4671#
4672# Enable querying of individual hosts for instance information.
4673#
4674# The scheduler may need information about the instances on a host in order to
4675# evaluate its filters and weighers. The most common need for this information
4676# is
4677# for the (anti-)affinity filters, which need to choose a host based on the
4678# instances already running on a host.
4679#
4680# If the configured filters and weighers do not need this information, disabling
4681# this option will improve performance. It may also be disabled when the
4682# tracking
4683# overhead proves too heavy, although this will cause classes requiring host
4684# usage data to query the database on each request instead.
4685#
4686# This option is only used by the FilterScheduler and its subclasses; if you use
4687# a different scheduler, this option has no effect.
4688# (boolean value)
4689# Deprecated group/name - [DEFAULT]/scheduler_tracks_instance_changes
4690#track_instance_changes=true
4691
4692#
4693# Filters that the scheduler can use.
4694#
4695# An unordered list of the filter classes the nova scheduler may apply. Only
4696# the
4697# filters specified in the 'scheduler_enabled_filters' option will be used, but
4698# any filter appearing in that option must also be included in this list.
4699#
4700# By default, this is set to all filters that are included with nova.
4701#
4702# This option is only used by the FilterScheduler and its subclasses; if you use
4703# a different scheduler, this option has no effect.
4704#
4705# Possible values:
4706#
4707# * A list of zero or more strings, where each string corresponds to the name of
4708# a filter that may be used for selecting a host
4709#
4710# Related options:
4711#
4712# * scheduler_enabled_filters
4713# (multi valued)
4714# Deprecated group/name - [DEFAULT]/scheduler_available_filters
4715#available_filters=nova.scheduler.filters.all_filters
4716available_filters=nova.scheduler.filters.all_filters
4717available_filters=nova.scheduler.filters.pci_passthrough_filter.PciPassthroughFilter
Michel Nederlofedcf25b2017-04-18 11:12:58 +02004718{% for filter in controller.get('scheduler_custom_filters', []) %}
4719scheduler_available_filters = {{ filter }}
Michel Nederlof8f2c6542017-04-18 14:24:22 +02004720{% endfor %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02004721
4722#
4723# Filters that the scheduler will use.
4724#
4725# An ordered list of filter class names that will be used for filtering
4726# hosts. Ignore the word 'default' in the name of this option: these filters
4727# will
4728# *always* be applied, and they will be applied in the order they are listed so
4729# place your most restrictive filters first to make the filtering process more
4730# efficient.
4731#
4732# This option is only used by the FilterScheduler and its subclasses; if you use
4733# a different scheduler, this option has no effect.
4734#
4735# Possible values:
4736#
4737# * A list of zero or more strings, where each string corresponds to the name of
4738# a filter to be used for selecting a host
4739#
4740# Related options:
4741#
4742# * All of the filters in this option *must* be present in the
4743# 'scheduler_available_filters' option, or a SchedulerHostFilterNotFound
4744# exception will be raised.
4745# (list value)
4746# Deprecated group/name - [DEFAULT]/scheduler_default_filters
4747#enabled_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter
4748enabled_filters={{ controller.scheduler_default_filters }}
4749
4750#
4751# Filters used for filtering baremetal hosts.
4752#
4753# Filters are applied in order, so place your most restrictive filters first to
4754# make the filtering process more efficient.
4755#
4756# This option is only used by the FilterScheduler and its subclasses; if you use
4757# a different scheduler, this option has no effect.
4758#
4759# Possible values:
4760#
4761# * A list of zero or more strings, where each string corresponds to the name of
4762# a filter to be used for selecting a baremetal host
4763#
4764# Related options:
4765#
4766# * If the 'scheduler_use_baremetal_filters' option is False, this option has
4767# no effect.
4768# (list value)
4769# Deprecated group/name - [DEFAULT]/baremetal_scheduler_default_filters
4770#baremetal_enabled_filters=RetryFilter,AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ExactRamFilter,ExactDiskFilter,ExactCoreFilter
4771
4772#
4773# Enable baremetal filters.
4774#
4775# Set this to True to tell the nova scheduler that it should use the filters
4776# specified in the 'baremetal_scheduler_enabled_filters' option. If you are not
4777# scheduling baremetal nodes, leave this at the default setting of False.
4778#
4779# This option is only used by the FilterScheduler and its subclasses; if you use
4780# a different scheduler, this option has no effect.
4781#
4782# Related options:
4783#
4784# * If this option is set to True, then the filters specified in the
4785# 'baremetal_scheduler_enabled_filters' are used instead of the filters
4786# specified in 'scheduler_enabled_filters'.
4787# (boolean value)
4788# Deprecated group/name - [DEFAULT]/scheduler_use_baremetal_filters
4789#use_baremetal_filters=false
4790use_baremetal_filters=false
4791
4792#
4793# Weighers that the scheduler will use.
4794#
4795# Only hosts which pass the filters are weighed. The weight for any host starts
4796# at 0, and the weighers order these hosts by adding to or subtracting from the
4797# weight assigned by the previous weigher. Weights may become negative. An
4798# instance will be scheduled to one of the N most-weighted hosts, where N is
4799# 'scheduler_host_subset_size'.
4800#
4801# By default, this is set to all weighers that are included with Nova.
4802#
4803# This option is only used by the FilterScheduler and its subclasses; if you use
4804# a different scheduler, this option has no effect.
4805#
4806# Possible values:
4807#
4808# * A list of zero or more strings, where each string corresponds to the name of
4809# a weigher that will be used for selecting a host
4810# (list value)
4811# Deprecated group/name - [DEFAULT]/scheduler_weight_classes
4812#weight_classes=nova.scheduler.weights.all_weighers
4813
4814#
4815# Ram weight multipler ratio.
4816#
4817# This option determines how hosts with more or less available RAM are weighed.
4818# A
4819# positive value will result in the scheduler preferring hosts with more
4820# available RAM, and a negative number will result in the scheduler preferring
4821# hosts with less available RAM. Another way to look at it is that positive
4822# values for this option will tend to spread instances across many hosts, while
4823# negative values will tend to fill up (stack) hosts as much as possible before
4824# scheduling to a less-used host. The absolute value, whether positive or
4825# negative, controls how strong the RAM weigher is relative to other weighers.
4826#
4827# This option is only used by the FilterScheduler and its subclasses; if you use
4828# a different scheduler, this option has no effect. Also note that this setting
4829# only affects scheduling if the 'ram' weigher is enabled.
4830#
4831# Possible values:
4832#
4833# * An integer or float value, where the value corresponds to the multipler
4834# ratio for this weigher.
4835# (floating point value)
4836# Deprecated group/name - [DEFAULT]/ram_weight_multiplier
4837#ram_weight_multiplier=1.0
4838
4839#
4840# Disk weight multipler ratio.
4841#
4842# Multiplier used for weighing free disk space. Negative numbers mean to
4843# stack vs spread.
4844#
4845# This option is only used by the FilterScheduler and its subclasses; if you use
4846# a different scheduler, this option has no effect. Also note that this setting
4847# only affects scheduling if the 'ram' weigher is enabled.
4848#
4849# Possible values:
4850#
4851# * An integer or float value, where the value corresponds to the multipler
4852# ratio for this weigher.
4853# (floating point value)
4854# Deprecated group/name - [DEFAULT]/disk_weight_multiplier
4855#disk_weight_multiplier=1.0
4856
4857#
4858# IO operations weight multipler ratio.
4859#
4860# This option determines how hosts with differing workloads are weighed.
4861# Negative
4862# values, such as the default, will result in the scheduler preferring hosts
4863# with
4864# lighter workloads whereas positive values will prefer hosts with heavier
4865# workloads. Another way to look at it is that positive values for this option
4866# will tend to schedule instances onto hosts that are already busy, while
4867# negative values will tend to distribute the workload across more hosts. The
4868# absolute value, whether positive or negative, controls how strong the io_ops
4869# weigher is relative to other weighers.
4870#
4871# This option is only used by the FilterScheduler and its subclasses; if you use
4872# a different scheduler, this option has no effect. Also note that this setting
4873# only affects scheduling if the 'io_ops' weigher is enabled.
4874#
4875# Possible values:
4876#
4877# * An integer or float value, where the value corresponds to the multipler
4878# ratio for this weigher.
4879# (floating point value)
4880# Deprecated group/name - [DEFAULT]/io_ops_weight_multiplier
4881#io_ops_weight_multiplier=-1.0
4882
4883#
4884# Multiplier used for weighing hosts for group soft-affinity.
4885#
4886# Possible values:
4887#
4888# * An integer or float value, where the value corresponds to weight multiplier
4889# for hosts with group soft affinity. Only a positive value are meaningful, as
4890# negative values would make this behave as a soft anti-affinity weigher.
4891# (floating point value)
4892# Deprecated group/name - [DEFAULT]/soft_affinity_weight_multiplier
4893#soft_affinity_weight_multiplier=1.0
4894
4895#
4896# Multiplier used for weighing hosts for group soft-anti-affinity.
4897#
4898# Possible values:
4899#
4900# * An integer or float value, where the value corresponds to weight multiplier
4901# for hosts with group soft anti-affinity. Only a positive value are
4902# meaningful, as negative values would make this behave as a soft affinity
4903# weigher.
4904# (floating point value)
4905# Deprecated group/name - [DEFAULT]/soft_anti_affinity_weight_multiplier
4906#soft_anti_affinity_weight_multiplier=1.0
4907
4908#
4909# List of UUIDs for images that can only be run on certain hosts.
4910#
4911# If there is a need to restrict some images to only run on certain designated
4912# hosts, list those image UUIDs here.
4913#
4914# This option is only used by the FilterScheduler and its subclasses; if you use
4915# a different scheduler, this option has no effect. Also note that this setting
4916# only affects scheduling if the 'IsolatedHostsFilter' filter is enabled.
4917#
4918# Possible values:
4919#
4920# * A list of UUID strings, where each string corresponds to the UUID of an
4921# image
4922#
4923# Related options:
4924#
4925# * scheduler/isolated_hosts
4926# * scheduler/restrict_isolated_hosts_to_isolated_images
4927# (list value)
4928# Deprecated group/name - [DEFAULT]/isolated_images
4929#isolated_images =
4930
4931#
4932# List of hosts that can only run certain images.
4933#
4934# If there is a need to restrict some images to only run on certain designated
4935# hosts, list those host names here.
4936#
4937# This option is only used by the FilterScheduler and its subclasses; if you use
4938# a different scheduler, this option has no effect. Also note that this setting
4939# only affects scheduling if the 'IsolatedHostsFilter' filter is enabled.
4940#
4941# Possible values:
4942#
4943# * A list of strings, where each string corresponds to the name of a host
4944#
4945# Related options:
4946#
4947# * scheduler/isolated_images
4948# * scheduler/restrict_isolated_hosts_to_isolated_images
4949# (list value)
4950# Deprecated group/name - [DEFAULT]/isolated_hosts
4951#isolated_hosts =
4952
4953#
4954# Prevent non-isolated images from being built on isolated hosts.
4955#
4956# This option is only used by the FilterScheduler and its subclasses; if you use
4957# a different scheduler, this option has no effect. Also note that this setting
4958# only affects scheduling if the 'IsolatedHostsFilter' filter is enabled. Even
4959# then, this option doesn't affect the behavior of requests for isolated images,
4960# which will *always* be restricted to isolated hosts.
4961#
4962# Related options:
4963#
4964# * scheduler/isolated_images
4965# * scheduler/isolated_hosts
4966# (boolean value)
4967# Deprecated group/name - [DEFAULT]/restrict_isolated_hosts_to_isolated_images
4968#restrict_isolated_hosts_to_isolated_images=true
4969
4970#
4971# Image property namespace for use in the host aggregate.
4972#
4973# Images and hosts can be configured so that certain images can only be
4974# scheduled
4975# to hosts in a particular aggregate. This is done with metadata values set on
4976# the host aggregate that are identified by beginning with the value of this
4977# option. If the host is part of an aggregate with such a metadata key, the
4978# image
4979# in the request spec must have the value of that metadata in its properties in
4980# order for the scheduler to consider the host as acceptable.
4981#
4982# This option is only used by the FilterScheduler and its subclasses; if you use
4983# a different scheduler, this option has no effect. Also note that this setting
4984# only affects scheduling if the 'aggregate_image_properties_isolation' filter
4985# is
4986# enabled.
4987#
4988# Possible values:
4989#
4990# * A string, where the string corresponds to an image property namespace
4991#
4992# Related options:
4993#
4994# * aggregate_image_properties_isolation_separator
4995# (string value)
4996# Deprecated group/name - [DEFAULT]/aggregate_image_properties_isolation_namespace
4997#aggregate_image_properties_isolation_namespace=<None>
4998
4999#
5000# Separator character(s) for image property namespace and name.
5001#
5002# When using the aggregate_image_properties_isolation filter, the relevant
5003# metadata keys are prefixed with the namespace defined in the
5004# aggregate_image_properties_isolation_namespace configuration option plus a
5005# separator. This option defines the separator to be used.
5006#
5007# This option is only used by the FilterScheduler and its subclasses; if you use
5008# a different scheduler, this option has no effect. Also note that this setting
5009# only affects scheduling if the 'aggregate_image_properties_isolation' filter
5010# is enabled.
5011#
5012# Possible values:
5013#
5014# * A string, where the string corresponds to an image property namespace
5015# separator character
5016#
5017# Related options:
5018#
5019# * aggregate_image_properties_isolation_namespace
5020# (string value)
5021# Deprecated group/name - [DEFAULT]/aggregate_image_properties_isolation_separator
5022#aggregate_image_properties_isolation_separator=.
5023
5024
5025[glance]
5026# Configuration options for the Image service
5027
5028#
5029# From nova.conf
5030#
5031
5032#
5033# List of glance api servers endpoints available to nova.
5034#
5035# https is used for ssl-based glance api servers.
5036#
5037# Possible values:
5038#
5039# * A list of any fully qualified url of the form
5040# "scheme://hostname:port[/path]"
5041# (i.e. "http://10.0.1.0:9292" or "https://my.glance.server/image").
5042# (list value)
5043#api_servers=<None>
5044api_servers = {{ controller.glance.host }}:9292
5045
5046#
5047# Enable insecure SSL (https) requests to glance.
5048#
5049# This setting can be used to turn off verification of the glance server
5050# certificate against the certificate authorities.
5051# (boolean value)
5052#api_insecure=false
5053
5054#
5055# Enable glance operation retries.
5056#
5057# Specifies the number of retries when uploading / downloading
5058# an image to / from glance. 0 means no retries.
5059# (integer value)
5060# Minimum value: 0
5061#num_retries=0
5062
5063#
5064# List of url schemes that can be directly accessed.
5065#
5066# This option specifies a list of url schemes that can be downloaded
5067# directly via the direct_url. This direct_URL can be fetched from
5068# Image metadata which can be used by nova to get the
5069# image more efficiently. nova-compute could benefit from this by
5070# invoking a copy when it has access to the same file system as glance.
5071#
5072# Possible values:
5073#
5074# * [file], Empty list (default)
5075# (list value)
5076#allowed_direct_url_schemes =
5077
5078#
5079# Enable image signature verification.
5080#
5081# nova uses the image signature metadata from glance and verifies the signature
5082# of a signed image while downloading that image. If the image signature cannot
5083# be verified or if the image signature metadata is either incomplete or
5084# unavailable, then nova will not boot the image and instead will place the
5085# instance into an error state. This provides end users with stronger assurances
5086# of the integrity of the image data they are using to create servers.
5087#
5088# Related options:
5089#
5090# * The options in the `key_manager` group, as the key_manager is used
5091# for the signature validation.
5092# (boolean value)
5093#verify_glance_signatures=false
5094
5095# Enable or disable debug logging with glanceclient. (boolean value)
5096#debug=false
5097
5098
5099[guestfs]
5100#
5101# libguestfs is a set of tools for accessing and modifying virtual
5102# machine (VM) disk images. You can use this for viewing and editing
5103# files inside guests, scripting changes to VMs, monitoring disk
5104# used/free statistics, creating guests, P2V, V2V, performing backups,
5105# cloning VMs, building VMs, formatting disks and resizing disks.
5106
5107#
5108# From nova.conf
5109#
5110
5111#
5112# Enable/disables guestfs logging.
5113#
5114# This configures guestfs to debug messages and push them to Openstack
5115# logging system. When set to True, it traces libguestfs API calls and
5116# enable verbose debug messages. In order to use the above feature,
5117# "libguestfs" package must be installed.
5118#
5119# Related options:
5120# Since libguestfs access and modifies VM's managed by libvirt, below options
5121# should be set to give access to those VM's.
5122# * libvirt.inject_key
5123# * libvirt.inject_partition
5124# * libvirt.inject_password
5125# (boolean value)
5126#debug=false
5127
5128
5129[healthcheck]
5130
5131#
5132# From oslo.middleware
5133#
5134
5135# DEPRECATED: The path to respond to healtcheck requests on. (string value)
5136# This option is deprecated for removal.
5137# Its value may be silently ignored in the future.
5138#path=/healthcheck
5139
5140# Show more detailed information as part of the response (boolean value)
5141#detailed=false
5142
5143# Additional backends that can perform health checks and report that information
5144# back as part of a request. (list value)
5145#backends =
5146
5147# Check the presence of a file to determine if an application is running on a
5148# port. Used by DisableByFileHealthcheck plugin. (string value)
5149#disable_by_file_path=<None>
5150
5151# Check the presence of a file based on a port to determine if an application is
5152# running on a port. Expects a "port:path" list of strings. Used by
5153# DisableByFilesPortsHealthcheck plugin. (list value)
5154#disable_by_file_paths =
5155
5156
5157[hyperv]
5158#
5159# The hyperv feature allows you to configure the Hyper-V hypervisor
5160# driver to be used within an OpenStack deployment.
5161
5162#
5163# From nova.conf
5164#
5165
5166#
5167# Dynamic memory ratio
5168#
5169# Enables dynamic memory allocation (ballooning) when set to a value
5170# greater than 1. The value expresses the ratio between the total RAM
5171# assigned to an instance and its startup RAM amount. For example a
5172# ratio of 2.0 for an instance with 1024MB of RAM implies 512MB of
5173# RAM allocated at startup.
5174#
5175# Possible values:
5176#
5177# * 1.0: Disables dynamic memory allocation (Default).
5178# * Float values greater than 1.0: Enables allocation of total implied
5179# RAM divided by this value for startup.
5180# (floating point value)
5181#dynamic_memory_ratio=1.0
5182
5183#
5184# Enable instance metrics collection
5185#
5186# Enables metrics collections for an instance by using Hyper-V's
5187# metric APIs. Collected data can by retrieved by other apps and
5188# services, e.g.: Ceilometer.
5189# (boolean value)
5190#enable_instance_metrics_collection=false
5191
5192#
5193# Instances path share
5194#
5195# The name of a Windows share mapped to the "instances_path" dir
5196# and used by the resize feature to copy files to the target host.
5197# If left blank, an administrative share (hidden network share) will
5198# be used, looking for the same "instances_path" used locally.
5199#
5200# Possible values:
5201#
5202# * "": An administrative share will be used (Default).
5203# * Name of a Windows share.
5204#
5205# Related options:
5206#
5207# * "instances_path": The directory which will be used if this option
5208# here is left blank.
5209# (string value)
5210#instances_path_share =
5211
5212#
5213# Limit CPU features
5214#
5215# This flag is needed to support live migration to hosts with
5216# different CPU features and checked during instance creation
5217# in order to limit the CPU features used by the instance.
5218# (boolean value)
5219#limit_cpu_features=false
5220
5221#
5222# Mounted disk query retry count
5223#
5224# The number of times to retry checking for a mounted disk.
5225# The query runs until the device can be found or the retry
5226# count is reached.
5227#
5228# Possible values:
5229#
5230# * Positive integer values. Values greater than 1 is recommended
5231# (Default: 10).
5232#
5233# Related options:
5234#
5235# * Time interval between disk mount retries is declared with
5236# "mounted_disk_query_retry_interval" option.
5237# (integer value)
5238# Minimum value: 0
5239#mounted_disk_query_retry_count=10
5240
5241#
5242# Mounted disk query retry interval
5243#
5244# Interval between checks for a mounted disk, in seconds.
5245#
5246# Possible values:
5247#
5248# * Time in seconds (Default: 5).
5249#
5250# Related options:
5251#
5252# * This option is meaningful when the mounted_disk_query_retry_count
5253# is greater than 1.
5254# * The retry loop runs with mounted_disk_query_retry_count and
5255# mounted_disk_query_retry_interval configuration options.
5256# (integer value)
5257# Minimum value: 0
5258#mounted_disk_query_retry_interval=5
5259
5260#
5261# Power state check timeframe
5262#
5263# The timeframe to be checked for instance power state changes.
5264# This option is used to fetch the state of the instance from Hyper-V
5265# through the WMI interface, within the specified timeframe.
5266#
5267# Possible values:
5268#
5269# * Timeframe in seconds (Default: 60).
5270# (integer value)
5271# Minimum value: 0
5272#power_state_check_timeframe=60
5273
5274#
5275# Power state event polling interval
5276#
5277# Instance power state change event polling frequency. Sets the
5278# listener interval for power state events to the given value.
5279# This option enhances the internal lifecycle notifications of
5280# instances that reboot themselves. It is unlikely that an operator
5281# has to change this value.
5282#
5283# Possible values:
5284#
5285# * Time in seconds (Default: 2).
5286# (integer value)
5287# Minimum value: 0
5288#power_state_event_polling_interval=2
5289
5290#
5291# qemu-img command
5292#
5293# qemu-img is required for some of the image related operations
5294# like converting between different image types. You can get it
5295# from here: (http://qemu.weilnetz.de/) or you can install the
5296# Cloudbase OpenStack Hyper-V Compute Driver
5297# (https://cloudbase.it/openstack-hyperv-driver/) which automatically
5298# sets the proper path for this config option. You can either give the
5299# full path of qemu-img.exe or set its path in the PATH environment
5300# variable and leave this option to the default value.
5301#
5302# Possible values:
5303#
5304# * Name of the qemu-img executable, in case it is in the same
5305# directory as the nova-compute service or its path is in the
5306# PATH environment variable (Default).
5307# * Path of qemu-img command (DRIVELETTER:\PATH\TO\QEMU-IMG\COMMAND).
5308#
5309# Related options:
5310#
5311# * If the config_drive_cdrom option is False, qemu-img will be used to
5312# convert the ISO to a VHD, otherwise the configuration drive will
5313# remain an ISO. To use configuration drive with Hyper-V, you must
5314# set the mkisofs_cmd value to the full path to an mkisofs.exe
5315# installation.
5316# (string value)
5317#qemu_img_cmd=qemu-img.exe
5318
5319#
5320# External virtual switch name
5321#
5322# The Hyper-V Virtual Switch is a software-based layer-2 Ethernet
5323# network switch that is available with the installation of the
5324# Hyper-V server role. The switch includes programmatically managed
5325# and extensible capabilities to connect virtual machines to both
5326# virtual networks and the physical network. In addition, Hyper-V
5327# Virtual Switch provides policy enforcement for security, isolation,
5328# and service levels. The vSwitch represented by this config option
5329# must be an external one (not internal or private).
5330#
5331# Possible values:
5332#
5333# * If not provided, the first of a list of available vswitches
5334# is used. This list is queried using WQL.
5335# * Virtual switch name.
5336# (string value)
5337#vswitch_name=<None>
5338
5339#
5340# Wait soft reboot seconds
5341#
5342# Number of seconds to wait for instance to shut down after soft
5343# reboot request is made. We fall back to hard reboot if instance
5344# does not shutdown within this window.
5345#
5346# Possible values:
5347#
5348# * Time in seconds (Default: 60).
5349# (integer value)
5350# Minimum value: 0
5351#wait_soft_reboot_seconds=60
5352
5353#
5354# Configuration drive cdrom
5355#
5356# OpenStack can be configured to write instance metadata to
5357# a configuration drive, which is then attached to the
5358# instance before it boots. The configuration drive can be
5359# attached as a disk drive (default) or as a CD drive.
5360#
5361# Possible values:
5362#
5363# * True: Attach the configuration drive image as a CD drive.
5364# * False: Attach the configuration drive image as a disk drive (Default).
5365#
5366# Related options:
5367#
5368# * This option is meaningful with force_config_drive option set to 'True'
5369# or when the REST API call to create an instance will have
5370# '--config-drive=True' flag.
5371# * config_drive_format option must be set to 'iso9660' in order to use
5372# CD drive as the configuration drive image.
5373# * To use configuration drive with Hyper-V, you must set the
5374# mkisofs_cmd value to the full path to an mkisofs.exe installation.
5375# Additionally, you must set the qemu_img_cmd value to the full path
5376# to an qemu-img command installation.
5377# * You can configure the Compute service to always create a configuration
5378# drive by setting the force_config_drive option to 'True'.
5379# (boolean value)
5380#config_drive_cdrom=false
5381
5382#
5383# Configuration drive inject password
5384#
5385# Enables setting the admin password in the configuration drive image.
5386#
5387# Related options:
5388#
5389# * This option is meaningful when used with other options that enable
5390# configuration drive usage with Hyper-V, such as force_config_drive.
5391# * Currently, the only accepted config_drive_format is 'iso9660'.
5392# (boolean value)
5393#config_drive_inject_password=false
5394
5395#
5396# Volume attach retry count
5397#
5398# The number of times to retry attaching a volume. Volume attachment
5399# is retried until success or the given retry count is reached.
5400#
5401# Possible values:
5402#
5403# * Positive integer values (Default: 10).
5404#
5405# Related options:
5406#
5407# * Time interval between attachment attempts is declared with
5408# volume_attach_retry_interval option.
5409# (integer value)
5410# Minimum value: 0
5411#volume_attach_retry_count=10
5412
5413#
5414# Volume attach retry interval
5415#
5416# Interval between volume attachment attempts, in seconds.
5417#
5418# Possible values:
5419#
5420# * Time in seconds (Default: 5).
5421#
5422# Related options:
5423#
5424# * This options is meaningful when volume_attach_retry_count
5425# is greater than 1.
5426# * The retry loop runs with volume_attach_retry_count and
5427# volume_attach_retry_interval configuration options.
5428# (integer value)
5429# Minimum value: 0
5430#volume_attach_retry_interval=5
5431
5432#
5433# Enable RemoteFX feature
5434#
5435# This requires at least one DirectX 11 capable graphics adapter for
5436# Windows / Hyper-V Server 2012 R2 or newer and RDS-Virtualization
5437# feature has to be enabled.
5438#
5439# Instances with RemoteFX can be requested with the following flavor
5440# extra specs:
5441#
5442# **os:resolution**. Guest VM screen resolution size. Acceptable values::
5443#
5444# 1024x768, 1280x1024, 1600x1200, 1920x1200, 2560x1600, 3840x2160
5445#
5446# ``3840x2160`` is only available on Windows / Hyper-V Server 2016.
5447#
5448# **os:monitors**. Guest VM number of monitors. Acceptable values::
5449#
5450# [1, 4] - Windows / Hyper-V Server 2012 R2
5451# [1, 8] - Windows / Hyper-V Server 2016
5452#
5453# **os:vram**. Guest VM VRAM amount. Only available on
5454# Windows / Hyper-V Server 2016. Acceptable values::
5455#
5456# 64, 128, 256, 512, 1024
5457# (boolean value)
5458#enable_remotefx=false
5459
5460#
5461# Use multipath connections when attaching iSCSI or FC disks.
5462#
5463# This requires the Multipath IO Windows feature to be enabled. MPIO must be
5464# configured to claim such devices.
5465# (boolean value)
5466#use_multipath_io=false
5467
5468#
5469# List of iSCSI initiators that will be used for estabilishing iSCSI sessions.
5470#
5471# If none are specified, the Microsoft iSCSI initiator service will choose the
5472# initiator.
5473# (list value)
5474#iscsi_initiator_list =
5475
5476
5477[image_file_url]
5478
5479#
5480# From nova.conf
5481#
5482
5483# DEPRECATED:
5484# List of file systems that are configured in this file in the
5485# image_file_url:<list entry name> sections
5486# (list value)
5487# This option is deprecated for removal since 14.0.0.
5488# Its value may be silently ignored in the future.
5489# Reason:
5490# The feature to download images from glance via filesystem is not used and will
5491# be removed in the future.
5492#filesystems =
5493
5494
5495[ironic]
5496#
5497# Configuration options for Ironic driver (Bare Metal).
5498# If using the Ironic driver following options must be set:
5499# * auth_type
5500# * auth_url
5501# * project_name
5502# * username
5503# * password
5504# * project_domain_id or project_domain_name
5505# * user_domain_id or user_domain_name
5506
5507#
5508# From nova.conf
5509#
5510
5511# URL override for the Ironic API endpoint. (string value)
5512#api_endpoint=http://ironic.example.org:6385/
5513
5514#
5515# The number of times to retry when a request conflicts.
5516# If set to 0, only try once, no retries.
5517#
5518# Related options:
5519#
5520# * api_retry_interval
5521# (integer value)
5522# Minimum value: 0
5523#api_max_retries=60
5524
5525#
5526# The number of seconds to wait before retrying the request.
5527#
5528# Related options:
5529#
5530# * api_max_retries
5531# (integer value)
5532# Minimum value: 0
5533#api_retry_interval=2
5534
5535# Timeout (seconds) to wait for node serial console state changed. Set to 0 to
5536# disable timeout. (integer value)
5537# Minimum value: 0
5538#serial_console_state_timeout=10
5539
5540# PEM encoded Certificate Authority to use when verifying HTTPs connections.
5541# (string value)
5542#cafile=<None>
5543
5544# PEM encoded client certificate cert file (string value)
5545#certfile=<None>
5546
5547# PEM encoded client certificate key file (string value)
5548#keyfile=<None>
5549
5550# Verify HTTPS connections. (boolean value)
5551#insecure=false
5552
5553# Timeout value for http requests (integer value)
5554#timeout=<None>
5555
5556# Authentication type to load (string value)
5557# Deprecated group/name - [ironic]/auth_plugin
5558#auth_type=<None>
5559
5560# Config Section from which to load plugin specific options (string value)
5561#auth_section=<None>
5562
5563# Authentication URL (string value)
5564#auth_url=<None>
5565
5566# Domain ID to scope to (string value)
5567#domain_id=<None>
5568
5569# Domain name to scope to (string value)
5570#domain_name=<None>
5571
5572# Project ID to scope to (string value)
5573#project_id=<None>
5574
5575# Project name to scope to (string value)
5576#project_name=<None>
5577
5578# Domain ID containing project (string value)
5579#project_domain_id=<None>
5580
5581# Domain name containing project (string value)
5582#project_domain_name=<None>
5583
5584# Trust ID (string value)
5585#trust_id=<None>
5586
5587# User ID (string value)
5588#user_id=<None>
5589
5590# Username (string value)
5591# Deprecated group/name - [ironic]/user-name
5592#username=<None>
5593
5594# User's domain id (string value)
5595#user_domain_id=<None>
5596
5597# User's domain name (string value)
5598#user_domain_name=<None>
5599
5600# User's password (string value)
5601#password=<None>
5602
5603
5604[key_manager]
5605
5606#
5607# From nova.conf
5608#
5609
5610#
5611# Fixed key returned by key manager, specified in hex.
5612#
5613# Possible values:
5614#
5615# * Empty string or a key in hex value
5616# (string value)
5617# Deprecated group/name - [keymgr]/fixed_key
5618#fixed_key=<None>
5619
5620# The full class name of the key manager API class (string value)
5621#api_class=castellan.key_manager.barbican_key_manager.BarbicanKeyManager
5622
5623# The type of authentication credential to create. Possible values are 'token',
5624# 'password', 'keystone_token', and 'keystone_password'. Required if no context
5625# is passed to the credential factory. (string value)
5626#auth_type=<None>
5627
5628# Token for authentication. Required for 'token' and 'keystone_token' auth_type
5629# if no context is passed to the credential factory. (string value)
5630#token=<None>
5631
5632# Username for authentication. Required for 'password' auth_type. Optional for
5633# the 'keystone_password' auth_type. (string value)
5634#username=<None>
5635
5636# Password for authentication. Required for 'password' and 'keystone_password'
5637# auth_type. (string value)
5638#password=<None>
5639
5640# User ID for authentication. Optional for 'keystone_token' and
5641# 'keystone_password' auth_type. (string value)
5642#user_id=<None>
5643
5644# User's domain ID for authentication. Optional for 'keystone_token' and
5645# 'keystone_password' auth_type. (string value)
5646#user_domain_id=<None>
5647
5648# User's domain name for authentication. Optional for 'keystone_token' and
5649# 'keystone_password' auth_type. (string value)
5650#user_domain_name=<None>
5651
5652# Trust ID for trust scoping. Optional for 'keystone_token' and
5653# 'keystone_password' auth_type. (string value)
5654#trust_id=<None>
5655
5656# Domain ID for domain scoping. Optional for 'keystone_token' and
5657# 'keystone_password' auth_type. (string value)
5658#domain_id=<None>
5659
5660# Domain name for domain scoping. Optional for 'keystone_token' and
5661# 'keystone_password' auth_type. (string value)
5662#domain_name=<None>
5663
5664# Project ID for project scoping. Optional for 'keystone_token' and
5665# 'keystone_password' auth_type. (string value)
5666#project_id=<None>
5667
5668# Project name for project scoping. Optional for 'keystone_token' and
5669# 'keystone_password' auth_type. (string value)
5670#project_name=<None>
5671
5672# Project's domain ID for project. Optional for 'keystone_token' and
5673# 'keystone_password' auth_type. (string value)
5674#project_domain_id=<None>
5675
5676# Project's domain name for project. Optional for 'keystone_token' and
5677# 'keystone_password' auth_type. (string value)
5678#project_domain_name=<None>
5679
5680# Allow fetching a new token if the current one is going to expire. Optional for
5681# 'keystone_token' and 'keystone_password' auth_type. (boolean value)
5682#reauthenticate=true
5683
5684
5685[keystone_authtoken]
5686
5687#
5688# From keystonemiddleware.auth_token
5689#
5690revocation_cache_time = 10
5691signing_dir=/tmp/keystone-signing-nova
5692auth_type = password
5693user_domain_id = {{ controller.identity.get('domain', 'default') }}
5694project_domain_id = {{ controller.identity.get('domain', 'default') }}
5695project_name = {{ controller.identity.tenant }}
5696username = {{ controller.identity.user }}
5697password = {{ controller.identity.password }}
5698auth_uri=http://{{ controller.identity.host }}:5000
5699auth_url=http://{{ controller.identity.host }}:35357
5700{%- if controller.cache is defined %}
5701memcached_servers={%- for member in controller.cache.members %}{{ member.host }}:11211{% if not loop.last %},{% endif %}{%- endfor %}
5702{%- endif %}
5703# Complete "public" Identity API endpoint. This endpoint should not be an
5704# "admin" endpoint, as it should be accessible by all end users. Unauthenticated
5705# clients are redirected to this endpoint to authenticate. Although this
5706# endpoint should ideally be unversioned, client support in the wild varies.
5707# If you're using a versioned v2 endpoint here, then this should *not* be the
5708# same endpoint the service user utilizes for validating tokens, because normal
5709# end users may not be able to reach that endpoint. (string value)
5710#auth_uri=<None>
5711
5712# API version of the admin Identity API endpoint. (string value)
5713#auth_version=<None>
5714
5715# Do not handle authorization requests within the middleware, but delegate the
5716# authorization decision to downstream WSGI components. (boolean value)
5717#delay_auth_decision=false
5718
5719# Request timeout value for communicating with Identity API server. (integer
5720# value)
5721#http_connect_timeout=<None>
5722
5723# How many times are we trying to reconnect when communicating with Identity API
5724# Server. (integer value)
5725#http_request_max_retries=3
5726
5727# Request environment key where the Swift cache object is stored. When
5728# auth_token middleware is deployed with a Swift cache, use this option to have
5729# the middleware share a caching backend with swift. Otherwise, use the
5730# ``memcached_servers`` option instead. (string value)
5731#cache=<None>
5732
5733# Required if identity server requires client certificate (string value)
5734#certfile=<None>
5735
5736# Required if identity server requires client certificate (string value)
5737#keyfile=<None>
5738
5739# A PEM encoded Certificate Authority to use when verifying HTTPs connections.
5740# Defaults to system CAs. (string value)
5741#cafile=<None>
5742
5743# Verify HTTPS connections. (boolean value)
5744#insecure=false
5745
5746# The region in which the identity server can be found. (string value)
5747#region_name=<None>
5748
5749# DEPRECATED: Directory used to cache files related to PKI tokens. This option
5750# has been deprecated in the Ocata release and will be removed in the P release.
5751# (string value)
5752# This option is deprecated for removal since Ocata.
5753# Its value may be silently ignored in the future.
5754# Reason: PKI token format is no longer supported.
5755#signing_dir=<None>
5756
5757# Optionally specify a list of memcached server(s) to use for caching. If left
5758# undefined, tokens will instead be cached in-process. (list value)
5759# Deprecated group/name - [keystone_authtoken]/memcache_servers
5760#memcached_servers=<None>
5761
5762# In order to prevent excessive effort spent validating tokens, the middleware
5763# caches previously-seen tokens for a configurable duration (in seconds). Set to
5764# -1 to disable caching completely. (integer value)
5765#token_cache_time=300
5766
5767# DEPRECATED: Determines the frequency at which the list of revoked tokens is
5768# retrieved from the Identity service (in seconds). A high number of revocation
5769# events combined with a low cache duration may significantly reduce
5770# performance. Only valid for PKI tokens. This option has been deprecated in the
5771# Ocata release and will be removed in the P release. (integer value)
5772# This option is deprecated for removal since Ocata.
5773# Its value may be silently ignored in the future.
5774# Reason: PKI token format is no longer supported.
5775#revocation_cache_time=10
5776
5777# (Optional) If defined, indicate whether token data should be authenticated or
5778# authenticated and encrypted. If MAC, token data is authenticated (with HMAC)
5779# in the cache. If ENCRYPT, token data is encrypted and authenticated in the
5780# cache. If the value is not one of these options or empty, auth_token will
5781# raise an exception on initialization. (string value)
5782# Allowed values: None, MAC, ENCRYPT
5783#memcache_security_strategy=None
5784
5785# (Optional, mandatory if memcache_security_strategy is defined) This string is
5786# used for key derivation. (string value)
5787#memcache_secret_key=<None>
5788
5789# (Optional) Number of seconds memcached server is considered dead before it is
5790# tried again. (integer value)
5791#memcache_pool_dead_retry=300
5792
5793# (Optional) Maximum total number of open connections to every memcached server.
5794# (integer value)
5795#memcache_pool_maxsize=10
5796
5797# (Optional) Socket timeout in seconds for communicating with a memcached
5798# server. (integer value)
5799#memcache_pool_socket_timeout=3
5800
5801# (Optional) Number of seconds a connection to memcached is held unused in the
5802# pool before it is closed. (integer value)
5803#memcache_pool_unused_timeout=60
5804
5805# (Optional) Number of seconds that an operation will wait to get a memcached
5806# client connection from the pool. (integer value)
5807#memcache_pool_conn_get_timeout=10
5808
5809# (Optional) Use the advanced (eventlet safe) memcached client pool. The
5810# advanced pool will only work under python 2.x. (boolean value)
5811#memcache_use_advanced_pool=false
5812
5813# (Optional) Indicate whether to set the X-Service-Catalog header. If False,
5814# middleware will not ask for service catalog on token validation and will not
5815# set the X-Service-Catalog header. (boolean value)
5816#include_service_catalog=true
5817
5818# Used to control the use and type of token binding. Can be set to: "disabled"
5819# to not check token binding. "permissive" (default) to validate binding
5820# information if the bind type is of a form known to the server and ignore it if
5821# not. "strict" like "permissive" but if the bind type is unknown the token will
5822# be rejected. "required" any form of token binding is needed to be allowed.
5823# Finally the name of a binding method that must be present in tokens. (string
5824# value)
5825#enforce_token_bind=permissive
5826
5827# DEPRECATED: If true, the revocation list will be checked for cached tokens.
5828# This requires that PKI tokens are configured on the identity server. (boolean
5829# value)
5830# This option is deprecated for removal since Ocata.
5831# Its value may be silently ignored in the future.
5832# Reason: PKI token format is no longer supported.
5833#check_revocations_for_cached=false
5834
5835# DEPRECATED: Hash algorithms to use for hashing PKI tokens. This may be a
5836# single algorithm or multiple. The algorithms are those supported by Python
5837# standard hashlib.new(). The hashes will be tried in the order given, so put
5838# the preferred one first for performance. The result of the first hash will be
5839# stored in the cache. This will typically be set to multiple values only while
5840# migrating from a less secure algorithm to a more secure one. Once all the old
5841# tokens are expired this option should be set to a single value for better
5842# performance. (list value)
5843# This option is deprecated for removal since Ocata.
5844# Its value may be silently ignored in the future.
5845# Reason: PKI token format is no longer supported.
5846#hash_algorithms=md5
5847
5848# A choice of roles that must be present in a service token. Service tokens are
5849# allowed to request that an expired token can be used and so this check should
5850# tightly control that only actual services should be sending this token. Roles
5851# here are applied as an ANY check so any role in this list must be present. For
5852# backwards compatibility reasons this currently only affects the allow_expired
5853# check. (list value)
5854#service_token_roles=service
5855
5856# For backwards compatibility reasons we must let valid service tokens pass that
5857# don't pass the service_token_roles check as valid. Setting this true will
5858# become the default in a future release and should be enabled if possible.
5859# (boolean value)
5860#service_token_roles_required=false
5861
5862# Prefix to prepend at the beginning of the path. Deprecated, use identity_uri.
5863# (string value)
5864#auth_admin_prefix =
5865
5866# Host providing the admin Identity API endpoint. Deprecated, use identity_uri.
5867# (string value)
5868#auth_host=127.0.0.1
5869
5870# Port of the admin Identity API endpoint. Deprecated, use identity_uri.
5871# (integer value)
5872#auth_port=35357
5873
5874# Protocol of the admin Identity API endpoint. Deprecated, use identity_uri.
5875# (string value)
5876# Allowed values: http, https
5877#auth_protocol=https
5878
5879# Complete admin Identity API endpoint. This should specify the unversioned root
5880# endpoint e.g. https://localhost:35357/ (string value)
5881#identity_uri=<None>
5882
5883# This option is deprecated and may be removed in a future release. Single
5884# shared secret with the Keystone configuration used for bootstrapping a
5885# Keystone installation, or otherwise bypassing the normal authentication
5886# process. This option should not be used, use `admin_user` and `admin_password`
5887# instead. (string value)
5888#admin_token=<None>
5889
5890# Service username. (string value)
5891#admin_user=<None>
5892
5893# Service user password. (string value)
5894#admin_password=<None>
5895
5896# Service tenant name. (string value)
5897#admin_tenant_name=admin
5898
5899# Authentication type to load (string value)
5900# Deprecated group/name - [keystone_authtoken]/auth_plugin
5901#auth_type=<None>
5902
5903# Config Section from which to load plugin specific options (string value)
5904#auth_section=<None>
5905
5906
5907[libvirt]
5908#
5909# Libvirt options allows cloud administrator to configure related
5910# libvirt hypervisor driver to be used within an OpenStack deployment.
5911#
5912# Almost all of the libvirt config options are influence by ``virt_type`` config
5913# which describes the virtualization type (or so called domain type) libvirt
5914# should use for specific features such as live migration, snapshot.
5915
5916#
5917# From nova.conf
5918#
5919
5920#
5921# The ID of the image to boot from to rescue data from a corrupted instance.
5922#
5923# If the rescue REST API operation doesn't provide an ID of an image to
5924# use, the image which is referenced by this ID is used. If this
5925# option is not set, the image from the instance is used.
5926#
5927# Possible values:
5928#
5929# * An ID of an image or nothing. If it points to an *Amazon Machine
5930# Image* (AMI), consider to set the config options ``rescue_kernel_id``
5931# and ``rescue_ramdisk_id`` too. If nothing is set, the image of the instance
5932# is used.
5933#
5934# Related options:
5935#
5936# * ``rescue_kernel_id``: If the chosen rescue image allows the separate
5937# definition of its kernel disk, the value of this option is used,
5938# if specified. This is the case when *Amazon*'s AMI/AKI/ARI image
5939# format is used for the rescue image.
5940# * ``rescue_ramdisk_id``: If the chosen rescue image allows the separate
5941# definition of its RAM disk, the value of this option is used if,
5942# specified. This is the case when *Amazon*'s AMI/AKI/ARI image
5943# format is used for the rescue image.
5944# (string value)
5945#rescue_image_id=<None>
5946
5947#
5948# The ID of the kernel (AKI) image to use with the rescue image.
5949#
5950# If the chosen rescue image allows the separate definition of its kernel
5951# disk, the value of this option is used, if specified. This is the case
5952# when *Amazon*'s AMI/AKI/ARI image format is used for the rescue image.
5953#
5954# Possible values:
5955#
5956# * An ID of an kernel image or nothing. If nothing is specified, the kernel
5957# disk from the instance is used if it was launched with one.
5958#
5959# Related options:
5960#
5961# * ``rescue_image_id``: If that option points to an image in *Amazon*'s
5962# AMI/AKI/ARI image format, it's useful to use ``rescue_kernel_id`` too.
5963# (string value)
5964#rescue_kernel_id=<None>
5965
5966#
5967# The ID of the RAM disk (ARI) image to use with the rescue image.
5968#
5969# If the chosen rescue image allows the separate definition of its RAM
5970# disk, the value of this option is used, if specified. This is the case
5971# when *Amazon*'s AMI/AKI/ARI image format is used for the rescue image.
5972#
5973# Possible values:
5974#
5975# * An ID of a RAM disk image or nothing. If nothing is specified, the RAM
5976# disk from the instance is used if it was launched with one.
5977#
5978# Related options:
5979#
5980# * ``rescue_image_id``: If that option points to an image in *Amazon*'s
5981# AMI/AKI/ARI image format, it's useful to use ``rescue_ramdisk_id`` too.
5982# (string value)
5983#rescue_ramdisk_id=<None>
5984
5985#
5986# Describes the virtualization type (or so called domain type) libvirt should
5987# use.
5988#
5989# The choice of this type must match the underlying virtualization strategy
5990# you have chosen for this host.
5991#
5992# Possible values:
5993#
5994# * See the predefined set of case-sensitive values.
5995#
5996# Related options:
5997#
5998# * ``connection_uri``: depends on this
5999# * ``disk_prefix``: depends on this
6000# * ``cpu_mode``: depends on this
6001# * ``cpu_model``: depends on this
6002# (string value)
6003# Allowed values: kvm, lxc, qemu, uml, xen, parallels
6004#virt_type=kvm
6005virt_type=kvm
6006
6007#
6008# Overrides the default libvirt URI of the chosen virtualization type.
6009#
6010# If set, Nova will use this URI to connect to libvirt.
6011#
6012# Possible values:
6013#
6014# * An URI like ``qemu:///system`` or ``xen+ssh://oirase/`` for example.
6015# This is only necessary if the URI differs to the commonly known URIs
6016# for the chosen virtualization type.
6017#
6018# Related options:
6019#
6020# * ``virt_type``: Influences what is used as default value here.
6021# (string value)
6022#connection_uri =
6023
6024#
6025# Allow the injection of an admin password for instance only at ``create`` and
6026# ``rebuild`` process.
6027#
6028# There is no agent needed within the image to do this. If *libguestfs* is
6029# available on the host, it will be used. Otherwise *nbd* is used. The file
6030# system of the image will be mounted and the admin password, which is provided
6031# in the REST API call will be injected as password for the root user. If no
6032# root user is available, the instance won't be launched and an error is thrown.
6033# Be aware that the injection is *not* possible when the instance gets launched
6034# from a volume.
6035#
6036# Possible values:
6037#
6038# * True: Allows the injection.
6039# * False (default): Disallows the injection. Any via the REST API provided
6040# admin password will be silently ignored.
6041#
6042# Related options:
6043#
6044# * ``inject_partition``: That option will decide about the discovery and usage
6045# of the file system. It also can disable the injection at all.
6046# (boolean value)
6047#inject_password=false
6048
6049#
6050# Allow the injection of an SSH key at boot time.
6051#
6052# There is no agent needed within the image to do this. If *libguestfs* is
6053# available on the host, it will be used. Otherwise *nbd* is used. The file
6054# system of the image will be mounted and the SSH key, which is provided
6055# in the REST API call will be injected as SSH key for the root user and
6056# appended to the ``authorized_keys`` of that user. The SELinux context will
6057# be set if necessary. Be aware that the injection is *not* possible when the
6058# instance gets launched from a volume.
6059#
6060# This config option will enable directly modifying the instance disk and does
6061# not affect what cloud-init may do using data from config_drive option or the
6062# metadata service.
6063#
6064# Related options:
6065#
6066# * ``inject_partition``: That option will decide about the discovery and usage
6067# of the file system. It also can disable the injection at all.
6068# (boolean value)
6069#inject_key=false
6070
6071#
6072# Determines the way how the file system is chosen to inject data into it.
6073#
6074# *libguestfs* will be used a first solution to inject data. If that's not
6075# available on the host, the image will be locally mounted on the host as a
6076# fallback solution. If libguestfs is not able to determine the root partition
6077# (because there are more or less than one root partition) or cannot mount the
6078# file system it will result in an error and the instance won't be boot.
6079#
6080# Possible values:
6081#
6082# * -2 => disable the injection of data.
6083# * -1 => find the root partition with the file system to mount with libguestfs
6084# * 0 => The image is not partitioned
6085# * >0 => The number of the partition to use for the injection
6086#
6087# Related options:
6088#
6089# * ``inject_key``: If this option allows the injection of a SSH key it depends
6090# on value greater or equal to -1 for ``inject_partition``.
6091# * ``inject_password``: If this option allows the injection of an admin
6092# password
6093# it depends on value greater or equal to -1 for ``inject_partition``.
6094# * ``guestfs`` You can enable the debug log level of libguestfs with this
6095# config option. A more verbose output will help in debugging issues.
6096# * ``virt_type``: If you use ``lxc`` as virt_type it will be treated as a
6097# single partition image
6098# (integer value)
6099# Minimum value: -2
6100#inject_partition=-2
6101inject_partition = -1
6102
6103# DEPRECATED:
6104# Enable a mouse cursor within a graphical VNC or SPICE sessions.
6105#
6106# This will only be taken into account if the VM is fully virtualized and VNC
6107# and/or SPICE is enabled. If the node doesn't support a graphical framebuffer,
6108# then it is valid to set this to False.
6109#
6110# Related options:
6111# * ``[vnc]enabled``: If VNC is enabled, ``use_usb_tablet`` will have an effect.
6112# * ``[spice]enabled`` + ``[spice].agent_enabled``: If SPICE is enabled and the
6113# spice agent is disabled, the config value of ``use_usb_tablet`` will have
6114# an effect.
6115# (boolean value)
6116# This option is deprecated for removal since 14.0.0.
6117# Its value may be silently ignored in the future.
6118# Reason: This option is being replaced by the 'pointer_model' option.
6119#use_usb_tablet=true
6120use_usb_tablet=true
6121
6122#
6123# The IP address or hostname to be used as the target for live migration
6124# traffic.
6125#
6126# If this option is set to None, the hostname of the migration target compute
6127# node will be used.
6128#
6129# This option is useful in environments where the live-migration traffic can
6130# impact the network plane significantly. A separate network for live-migration
6131# traffic can then use this config option and avoids the impact on the
6132# management network.
6133#
6134# Possible values:
6135#
6136# * A valid IP address or hostname, else None.
6137# (string value)
6138#live_migration_inbound_addr=<None>
6139
6140# DEPRECATED:
6141# Live migration target URI to use.
6142#
6143# Override the default libvirt live migration target URI (which is dependent
6144# on virt_type). Any included "%s" is replaced with the migration target
6145# hostname.
6146#
6147# If this option is set to None (which is the default), Nova will automatically
6148# generate the `live_migration_uri` value based on only 3 supported `virt_type`
6149# in following list:
6150# * 'kvm': 'qemu+tcp://%s/system'
6151# * 'qemu': 'qemu+tcp://%s/system'
6152# * 'xen': 'xenmigr://%s/system'
6153#
6154# Related options:
6155# * ``live_migration_inbound_addr``: If ``live_migration_inbound_addr`` value
6156# is not None, the ip/hostname address of target compute node is used instead
6157# of ``live_migration_uri`` as the uri for live migration.
6158# * ``live_migration_scheme``: If ``live_migration_uri`` is not set, the scheme
6159# used for live migration is taken from ``live_migration_scheme`` instead.
6160# (string value)
6161# This option is deprecated for removal since 15.0.0.
6162# Its value may be silently ignored in the future.
6163# Reason:
6164# live_migration_uri is deprecated for removal in favor of two other options
6165# that
6166# allow to change live migration scheme and target URI:
6167# ``live_migration_scheme``
6168# and ``live_migration_inbound_addr`` respectively.
6169#live_migration_uri=<None>
6170
6171#
6172# Schema used for live migration.
6173#
6174# Override the default libvirt live migration scheme (which is dependant on
6175# virt_type). If this option is set to None, nova will automatically choose a
6176# sensible default based on the hypervisor. It is not recommended that you
6177# change
6178# this unless you are very sure that hypervisor supports a particular scheme.
6179#
6180# Related options:
6181# * ``virt_type``: This option is meaningful only when ``virt_type`` is set to
6182# `kvm` or `qemu`.
6183# * ``live_migration_uri``: If ``live_migration_uri`` value is not None, the
6184# scheme used for live migration is taken from ``live_migration_uri`` instead.
6185# (string value)
6186#live_migration_scheme=<None>
6187
6188#
6189# Enable tunnelled migration.
6190#
6191# This option enables the tunnelled migration feature, where migration data is
6192# transported over the libvirtd connection. If enabled, we use the
6193# VIR_MIGRATE_TUNNELLED migration flag, avoiding the need to configure
6194# the network to allow direct hypervisor to hypervisor communication.
6195# If False, use the native transport. If not set, Nova will choose a
6196# sensible default based on, for example the availability of native
6197# encryption support in the hypervisor. Enable this option will definitely
6198# impact performance massively.
6199#
6200# Note that this option is NOT compatible with use of block migration.
6201#
6202# Possible values:
6203#
6204# * Supersedes and (if set) overrides the deprecated 'live_migration_flag' and
6205# 'block_migration_flag' to enable tunneled migration.
6206# (boolean value)
6207#live_migration_tunnelled=false
6208
6209#
6210# Maximum bandwidth(in MiB/s) to be used during migration.
6211#
6212# If set to 0, the hypervisor will choose a suitable default. Some hypervisors
6213# do not support this feature and will return an error if bandwidth is not 0.
6214# Please refer to the libvirt documentation for further details.
6215# (integer value)
6216#live_migration_bandwidth=0
6217
6218#
6219# Maximum permitted downtime, in milliseconds, for live migration
6220# switchover.
6221#
6222# Will be rounded up to a minimum of 100ms. You can increase this value
6223# if you want to allow live-migrations to complete faster, or avoid
6224# live-migration timeout errors by allowing the guest to be paused for
6225# longer during the live-migration switch over.
6226#
6227# Related options:
6228#
6229# * live_migration_completion_timeout
6230# (integer value)
6231#live_migration_downtime=500
6232
6233#
6234# Number of incremental steps to reach max downtime value.
6235#
6236# Will be rounded up to a minimum of 3 steps.
6237# (integer value)
6238#live_migration_downtime_steps=10
6239
6240#
6241# Time to wait, in seconds, between each step increase of the migration
6242# downtime.
6243#
6244# Minimum delay is 10 seconds. Value is per GiB of guest RAM + disk to be
6245# transferred, with lower bound of a minimum of 2 GiB per device.
6246# (integer value)
6247#live_migration_downtime_delay=75
6248
6249#
6250# Time to wait, in seconds, for migration to successfully complete transferring
6251# data before aborting the operation.
6252#
6253# Value is per GiB of guest RAM + disk to be transferred, with lower bound of
6254# a minimum of 2 GiB. Should usually be larger than downtime delay * downtime
6255# steps. Set to 0 to disable timeouts.
6256#
6257# Related options:
6258#
6259# * live_migration_downtime
6260# * live_migration_downtime_steps
6261# * live_migration_downtime_delay
6262# (integer value)
6263# Note: This option can be changed without restarting.
6264#live_migration_completion_timeout=800
6265
6266# DEPRECATED:
6267# Time to wait, in seconds, for migration to make forward progress in
6268# transferring data before aborting the operation.
6269#
6270# Set to 0 to disable timeouts.
6271#
6272# This is deprecated, and now disabled by default because we have found serious
6273# bugs in this feature that caused false live-migration timeout failures. This
6274# feature will be removed or replaced in a future release.
6275# (integer value)
6276# Note: This option can be changed without restarting.
6277# This option is deprecated for removal.
6278# Its value may be silently ignored in the future.
6279# Reason: Serious bugs found in this feature.
6280#live_migration_progress_timeout=0
6281
6282#
6283# This option allows nova to switch an on-going live migration to post-copy
6284# mode, i.e., switch the active VM to the one on the destination node before the
6285# migration is complete, therefore ensuring an upper bound on the memory that
6286# needs to be transferred. Post-copy requires libvirt>=1.3.3 and QEMU>=2.5.0.
6287#
6288# When permitted, post-copy mode will be automatically activated if a
6289# live-migration memory copy iteration does not make percentage increase of at
6290# least 10% over the last iteration.
6291#
6292# The live-migration force complete API also uses post-copy when permitted. If
6293# post-copy mode is not available, force complete falls back to pausing the VM
6294# to ensure the live-migration operation will complete.
6295#
6296# When using post-copy mode, if the source and destination hosts loose network
6297# connectivity, the VM being live-migrated will need to be rebooted. For more
6298# details, please see the Administration guide.
6299#
6300# Related options:
6301#
6302# * live_migration_permit_auto_converge
6303# (boolean value)
6304#live_migration_permit_post_copy=false
6305
6306#
6307# This option allows nova to start live migration with auto converge on.
6308#
6309# Auto converge throttles down CPU if a progress of on-going live migration
6310# is slow. Auto converge will only be used if this flag is set to True and
6311# post copy is not permitted or post copy is unavailable due to the version
6312# of libvirt and QEMU in use. Auto converge requires libvirt>=1.2.3 and
6313# QEMU>=1.6.0.
6314#
6315# Related options:
6316#
6317# * live_migration_permit_post_copy
6318# (boolean value)
6319#live_migration_permit_auto_converge=false
6320
6321#
6322# Determine the snapshot image format when sending to the image service.
6323#
6324# If set, this decides what format is used when sending the snapshot to the
6325# image service.
6326# If not set, defaults to same type as source image.
6327#
6328# Possible values:
6329#
6330# * ``raw``: RAW disk format
6331# * ``qcow2``: KVM default disk format
6332# * ``vmdk``: VMWare default disk format
6333# * ``vdi``: VirtualBox default disk format
6334# * If not set, defaults to same type as source image.
6335# (string value)
6336# Allowed values: raw, qcow2, vmdk, vdi
6337#snapshot_image_format=<None>
6338
6339#
6340# Override the default disk prefix for the devices attached to an instance.
6341#
6342# If set, this is used to identify a free disk device name for a bus.
6343#
6344# Possible values:
6345#
6346# * Any prefix which will result in a valid disk device name like 'sda' or 'hda'
6347# for example. This is only necessary if the device names differ to the
6348# commonly known device name prefixes for a virtualization type such as: sd,
6349# xvd, uvd, vd.
6350#
6351# Related options:
6352#
6353# * ``virt_type``: Influences which device type is used, which determines
6354# the default disk prefix.
6355# (string value)
6356#disk_prefix=<None>
6357
6358# Number of seconds to wait for instance to shut down after soft reboot request
6359# is made. We fall back to hard reboot if instance does not shutdown within this
6360# window. (integer value)
6361#wait_soft_reboot_seconds=120
6362
6363#
6364# Is used to set the CPU mode an instance should have.
6365#
6366# If virt_type="kvm|qemu", it will default to "host-model", otherwise it will
6367# default to "none".
6368#
6369# Possible values:
6370#
6371# * ``host-model``: Clones the host CPU feature flags.
6372# * ``host-passthrough``: Use the host CPU model exactly;
6373# * ``custom``: Use a named CPU model;
6374# * ``none``: Not set any CPU model.
6375#
6376# Related options:
6377#
6378# * ``cpu_model``: If ``custom`` is used for ``cpu_mode``, set this config
6379# option too, otherwise this would result in an error and the instance won't
6380# be launched.
6381# (string value)
6382# Allowed values: host-model, host-passthrough, custom, none
6383#cpu_mode=<None>
6384cpu_mode=host-passthrough
6385
6386#
6387# Set the name of the libvirt CPU model the instance should use.
6388#
6389# Possible values:
6390#
6391# * The names listed in /usr/share/libvirt/cpu_map.xml
6392#
6393# Related options:
6394#
6395# * ``cpu_mode``: Don't set this when ``cpu_mode`` is NOT set to ``custom``.
6396# This would result in an error and the instance won't be launched.
6397# * ``virt_type``: Only the virtualization types ``kvm`` and ``qemu`` use this.
6398# (string value)
6399#cpu_model=<None>
6400
6401# Location where libvirt driver will store snapshots before uploading them to
6402# image service (string value)
6403#snapshots_directory=$instances_path/snapshots
6404
6405# Location where the Xen hvmloader is kept (string value)
6406#xen_hvmloader_path=/usr/lib/xen/boot/hvmloader
6407
6408# Specific cachemodes to use for different disk types e.g:
6409# file=directsync,block=none (list value)
6410#disk_cachemodes =
6411
6412# A path to a device that will be used as source of entropy on the host.
6413# Permitted options are: /dev/random or /dev/hwrng (string value)
6414#rng_dev_path=<None>
6415
6416# For qemu or KVM guests, set this option to specify a default machine type per
6417# host architecture. You can find a list of supported machine types in your
6418# environment by checking the output of the "virsh capabilities"command. The
6419# format of the value for this config option is host-arch=machine-type. For
6420# example: x86_64=machinetype1,armv7l=machinetype2 (list value)
6421#hw_machine_type=<None>
6422
6423# The data source used to the populate the host "serial" UUID exposed to guest
6424# in the virtual BIOS. (string value)
6425# Allowed values: none, os, hardware, auto
6426#sysinfo_serial=auto
6427
6428# A number of seconds to memory usage statistics period. Zero or negative value
6429# mean to disable memory usage statistics. (integer value)
6430#mem_stats_period_seconds=10
6431
6432# List of uid targets and ranges.Syntax is guest-uid:host-uid:countMaximum of 5
6433# allowed. (list value)
6434#uid_maps =
6435
6436# List of guid targets and ranges.Syntax is guest-gid:host-gid:countMaximum of 5
6437# allowed. (list value)
6438#gid_maps =
6439
6440# In a realtime host context vCPUs for guest will run in that scheduling
6441# priority. Priority depends on the host kernel (usually 1-99) (integer value)
6442#realtime_scheduler_priority=1
6443
6444#
6445# This is a performance event list which could be used as monitor. These events
6446# will be passed to libvirt domain xml while creating a new instances.
6447# Then event statistics data can be collected from libvirt. The minimum
6448# libvirt version is 2.0.0. For more information about `Performance monitoring
6449# events`, refer https://libvirt.org/formatdomain.html#elementsPerf .
6450#
6451# Possible values:
6452# * A string list. For example: ``enabled_perf_events = cmt, mbml, mbmt``
6453# The supported events list can be found in
6454# https://libvirt.org/html/libvirt-libvirt-domain.html ,
6455# which you may need to search key words ``VIR_PERF_PARAM_*``
6456# (list value)
6457#enabled_perf_events =
6458
6459#
6460# VM Images format.
6461#
6462# If default is specified, then use_cow_images flag is used instead of this
6463# one.
6464#
6465# Related options:
6466#
6467# * virt.use_cow_images
6468# * images_volume_group
6469# (string value)
6470# Allowed values: raw, flat, qcow2, lvm, rbd, ploop, default
6471#images_type=default
6472
6473#
6474# LVM Volume Group that is used for VM images, when you specify images_type=lvm
6475#
6476# Related options:
6477#
6478# * images_type
6479# (string value)
6480#images_volume_group=<None>
6481
6482#
6483# Create sparse logical volumes (with virtualsize) if this flag is set to True.
6484# (boolean value)
6485#sparse_logical_volumes=false
6486
6487# The RADOS pool in which rbd volumes are stored (string value)
6488#images_rbd_pool=rbd
6489
6490# Path to the ceph configuration file to use (string value)
6491#images_rbd_ceph_conf =
6492
6493#
6494# Discard option for nova managed disks.
6495#
6496# Requires:
6497#
6498# * Libvirt >= 1.0.6
6499# * Qemu >= 1.5 (raw format)
6500# * Qemu >= 1.6 (qcow2 format)
6501# (string value)
6502# Allowed values: ignore, unmap
6503#hw_disk_discard=<None>
6504
6505# DEPRECATED: Allows image information files to be stored in non-standard
6506# locations (string value)
6507# This option is deprecated for removal since 14.0.0.
6508# Its value may be silently ignored in the future.
6509# Reason: Image info files are no longer used by the image cache
6510#image_info_filename_pattern=$instances_path/$image_cache_subdirectory_name/%(image)s.info
6511
6512# Unused resized base images younger than this will not be removed (integer
6513# value)
6514#remove_unused_resized_minimum_age_seconds=3600
6515
6516# DEPRECATED: Write a checksum for files in _base to disk (boolean value)
6517# This option is deprecated for removal since 14.0.0.
6518# Its value may be silently ignored in the future.
6519# Reason: The image cache no longer periodically calculates checksums of stored
6520# images. Data integrity can be checked at the block or filesystem level.
6521#checksum_base_images=false
6522
6523# DEPRECATED: How frequently to checksum base images (integer value)
6524# This option is deprecated for removal since 14.0.0.
6525# Its value may be silently ignored in the future.
6526# Reason: The image cache no longer periodically calculates checksums of stored
6527# images. Data integrity can be checked at the block or filesystem level.
6528#checksum_interval_seconds=3600
6529
6530#
6531# Method used to wipe ephemeral disks when they are deleted. Only takes effect
6532# if LVM is set as backing storage.
6533#
6534# Possible values:
6535#
6536# * none - do not wipe deleted volumes
6537# * zero - overwrite volumes with zeroes
6538# * shred - overwrite volume repeatedly
6539#
6540# Related options:
6541#
6542# * images_type - must be set to ``lvm``
6543# * volume_clear_size
6544# (string value)
6545# Allowed values: none, zero, shred
6546#volume_clear=zero
6547
6548#
6549# Size of area in MiB, counting from the beginning of the allocated volume,
6550# that will be cleared using method set in ``volume_clear`` option.
6551#
6552# Possible values:
6553#
6554# * 0 - clear whole volume
6555# * >0 - clear specified amount of MiB
6556#
6557# Related options:
6558#
6559# * images_type - must be set to ``lvm``
6560# * volume_clear - must be set and the value must be different than ``none``
6561# for this option to have any impact
6562# (integer value)
6563# Minimum value: 0
6564#volume_clear_size=0
6565
6566#
6567# Enable snapshot compression for ``qcow2`` images.
6568#
6569# Note: you can set ``snapshot_image_format`` to ``qcow2`` to force all
6570# snapshots to be in ``qcow2`` format, independently from their original image
6571# type.
6572#
6573# Related options:
6574#
6575# * snapshot_image_format
6576# (boolean value)
6577#snapshot_compression=false
6578
6579# Use virtio for bridge interfaces with KVM/QEMU (boolean value)
6580#use_virtio_for_bridges=true
6581use_virtio_for_bridges=true
6582
6583#
6584# Protocols listed here will be accessed directly from QEMU.
6585#
6586# If gluster is present in qemu_allowed_storage_drivers, glusterfs's backend
6587# will
6588# pass a disk configuration to QEMU. This allows QEMU to access the volume using
6589# libgfapi rather than mounting GlusterFS via fuse.
6590#
6591# Possible values:
6592#
6593# * [gluster]
6594# (list value)
6595#qemu_allowed_storage_drivers =
6596
6597#
6598# Use multipath connection of the iSCSI or FC volume
6599#
6600# Volumes can be connected in the LibVirt as multipath devices. This will
6601# provide high availability and fault tolerance.
6602# (boolean value)
6603# Deprecated group/name - [libvirt]/iscsi_use_multipath
6604#volume_use_multipath=false
6605
6606#
6607# Number of times to rediscover AoE target to find volume.
6608#
6609# Nova provides support for block storage attaching to hosts via AOE (ATA over
6610# Ethernet). This option allows the user to specify the maximum number of retry
6611# attempts that can be made to discover the AoE device.
6612# (integer value)
6613#num_aoe_discover_tries=3
6614
6615#
6616# Absolute path to the directory where the glusterfs volume is mounted on the
6617# compute node.
6618# (string value)
6619#glusterfs_mount_point_base=$state_path/mnt
6620
6621#
6622# Number of times to scan iSCSI target to find volume.
6623# (integer value)
6624#num_iscsi_scan_tries=5
6625
6626#
6627# The iSCSI transport iface to use to connect to target in case offload support
6628# is desired.
6629#
6630# Default format is of the form <transport_name>.<hwaddress> where
6631# <transport_name> is one of (be2iscsi, bnx2i, cxgb3i, cxgb4i, qla4xxx, ocs) and
6632# <hwaddress> is the MAC address of the interface and can be generated via the
6633# iscsiadm -m iface command. Do not confuse the iscsi_iface parameter to be
6634# provided here with the actual transport name.
6635# (string value)
6636# Deprecated group/name - [libvirt]/iscsi_transport
6637#iscsi_iface=<None>
6638
6639#
6640# Number of times to scan iSER target to find volume.
6641#
6642# iSER is a server network protocol that extends iSCSI protocol to use Remote
6643# Direct Memory Access (RDMA). This option allows the user to specify the
6644# maximum
6645# number of scan attempts that can be made to find iSER volume.
6646# (integer value)
6647#num_iser_scan_tries=5
6648
6649#
6650# Use multipath connection of the iSER volume.
6651#
6652# iSER volumes can be connected as multipath devices. This will provide high
6653# availability and fault tolerance.
6654# (boolean value)
6655#iser_use_multipath=false
6656
6657#
6658# The RADOS client name for accessing rbd(RADOS Block Devices) volumes.
6659#
6660# Libvirt will refer to this user when connecting and authenticating with
6661# the Ceph RBD server.
6662# (string value)
6663#rbd_user=<None>
6664
6665#
6666# The libvirt UUID of the secret for the rbd_user volumes.
6667# (string value)
6668#rbd_secret_uuid=<None>
6669
6670#
6671# Directory where the NFS volume is mounted on the compute node.
6672# The default is 'mnt' directory of the location where nova's Python module
6673# is installed.
6674#
6675# NFS provides shared storage for the OpenStack Block Storage service.
6676#
6677# Possible values:
6678#
6679# * A string representing absolute path of mount point.
6680# (string value)
6681#nfs_mount_point_base=$state_path/mnt
6682
6683#
6684# Mount options passed to the NFS client. See section of the nfs man page
6685# for details.
6686#
6687# Mount options controls the way the filesystem is mounted and how the
6688# NFS client behaves when accessing files on this mount point.
6689#
6690# Possible values:
6691#
6692# * Any string representing mount options separated by commas.
6693# * Example string: vers=3,lookupcache=pos
6694# (string value)
6695#nfs_mount_options=<None>
6696
6697#
6698# Directory where the Quobyte volume is mounted on the compute node.
6699#
6700# Nova supports Quobyte volume driver that enables storing Block Storage
6701# service volumes on a Quobyte storage back end. This Option sepcifies the
6702# path of the directory where Quobyte volume is mounted.
6703#
6704# Possible values:
6705#
6706# * A string representing absolute path of mount point.
6707# (string value)
6708#quobyte_mount_point_base=$state_path/mnt
6709
6710# Path to a Quobyte Client configuration file. (string value)
6711#quobyte_client_cfg=<None>
6712
6713#
6714# Path or URL to Scality SOFS(Scale-Out File Server) configuration file.
6715#
6716# The Scality SOFS provides OpenStack users the option of storing their
6717# data on a high capacity, replicated, highly available Scality Ring object
6718# storage cluster.
6719# (string value)
6720#scality_sofs_config=<None>
6721
6722#
6723# Base dir where Scality SOFS shall be mounted.
6724#
6725# The Scality volume driver in Nova mounts SOFS and lets the hypervisor access
6726# the volumes.
6727#
6728# Possible values:
6729#
6730# * $state_path/scality where state_path is a config option that specifies
6731# the top-level directory for maintaining nova's state or Any string
6732# containing the full directory path.
6733# (string value)
6734#scality_sofs_mount_point=$state_path/scality
6735
6736#
6737# Directory where the SMBFS shares are mounted on the compute node.
6738# (string value)
6739#smbfs_mount_point_base=$state_path/mnt
6740
6741#
6742# Mount options passed to the SMBFS client.
6743#
6744# Provide SMBFS options as a single string containing all parameters.
6745# See mount.cifs man page for details. Note that the libvirt-qemu ``uid``
6746# and ``gid`` must be specified.
6747# (string value)
6748#smbfs_mount_options =
6749
6750#
6751# libvirt's transport method for remote file operations.
6752#
6753# Because libvirt cannot use RPC to copy files over network to/from other
6754# compute nodes, other method must be used for:
6755#
6756# * creating directory on remote host
6757# * creating file on remote host
6758# * removing file from remote host
6759# * copying file to remote host
6760# (string value)
6761# Allowed values: ssh, rsync
6762#remote_filesystem_transport=ssh
6763
6764#
6765# Directory where the Virtuozzo Storage clusters are mounted on the compute
6766# node.
6767#
6768# This option defines non-standard mountpoint for Vzstorage cluster.
6769#
6770# Related options:
6771#
6772# * vzstorage_mount_* group of parameters
6773# (string value)
6774#vzstorage_mount_point_base=$state_path/mnt
6775
6776#
6777# Mount owner user name.
6778#
6779# This option defines the owner user of Vzstorage cluster mountpoint.
6780#
6781# Related options:
6782#
6783# * vzstorage_mount_* group of parameters
6784# (string value)
6785#vzstorage_mount_user=stack
6786
6787#
6788# Mount owner group name.
6789#
6790# This option defines the owner group of Vzstorage cluster mountpoint.
6791#
6792# Related options:
6793#
6794# * vzstorage_mount_* group of parameters
6795# (string value)
6796#vzstorage_mount_group=qemu
6797
6798#
6799# Mount access mode.
6800#
6801# This option defines the access bits of Vzstorage cluster mountpoint,
6802# in the format similar to one of chmod(1) utility, like this: 0770.
6803# It consists of one to four digits ranging from 0 to 7, with missing
6804# lead digits assumed to be 0's.
6805#
6806# Related options:
6807#
6808# * vzstorage_mount_* group of parameters
6809# (string value)
6810#vzstorage_mount_perms=0770
6811
6812#
6813# Path to vzstorage client log.
6814#
6815# This option defines the log of cluster operations,
6816# it should include "%(cluster_name)s" template to separate
6817# logs from multiple shares.
6818#
6819# Related options:
6820#
6821# * vzstorage_mount_opts may include more detailed logging options.
6822# (string value)
6823#vzstorage_log_path=/var/log/pstorage/%(cluster_name)s/nova.log.gz
6824
6825#
6826# Path to the SSD cache file.
6827#
6828# You can attach an SSD drive to a client and configure the drive to store
6829# a local cache of frequently accessed data. By having a local cache on a
6830# client's SSD drive, you can increase the overall cluster performance by
6831# up to 10 and more times.
6832# WARNING! There is a lot of SSD models which are not server grade and
6833# may loose arbitrary set of data changes on power loss.
6834# Such SSDs should not be used in Vstorage and are dangerous as may lead
6835# to data corruptions and inconsistencies. Please consult with the manual
6836# on which SSD models are known to be safe or verify it using
6837# vstorage-hwflush-check(1) utility.
6838#
6839# This option defines the path which should include "%(cluster_name)s"
6840# template to separate caches from multiple shares.
6841#
6842# Related options:
6843#
6844# * vzstorage_mount_opts may include more detailed cache options.
6845# (string value)
6846#vzstorage_cache_path=<None>
6847
6848#
6849# Extra mount options for pstorage-mount
6850#
6851# For full description of them, see
6852# https://static.openvz.org/vz-man/man1/pstorage-mount.1.gz.html
6853# Format is a python string representation of arguments list, like:
6854# "['-v', '-R', '500']"
6855# Shouldn't include -c, -l, -C, -u, -g and -m as those have
6856# explicit vzstorage_* options.
6857#
6858# Related options:
6859#
6860# * All other vzstorage_* options
6861# (list value)
6862#vzstorage_mount_opts =
6863
6864
6865[matchmaker_redis]
6866
6867#
6868# From oslo.messaging
6869#
6870
6871# DEPRECATED: Host to locate redis. (string value)
6872# This option is deprecated for removal.
6873# Its value may be silently ignored in the future.
6874# Reason: Replaced by [DEFAULT]/transport_url
6875#host=127.0.0.1
6876
6877# DEPRECATED: Use this port to connect to redis host. (port value)
6878# Minimum value: 0
6879# Maximum value: 65535
6880# This option is deprecated for removal.
6881# Its value may be silently ignored in the future.
6882# Reason: Replaced by [DEFAULT]/transport_url
6883#port=6379
6884
6885# DEPRECATED: Password for Redis server (optional). (string value)
6886# This option is deprecated for removal.
6887# Its value may be silently ignored in the future.
6888# Reason: Replaced by [DEFAULT]/transport_url
6889#password =
6890
6891# DEPRECATED: List of Redis Sentinel hosts (fault tolerance mode), e.g.,
6892# [host:port, host1:port ... ] (list value)
6893# This option is deprecated for removal.
6894# Its value may be silently ignored in the future.
6895# Reason: Replaced by [DEFAULT]/transport_url
6896#sentinel_hosts =
6897
6898# Redis replica set name. (string value)
6899#sentinel_group_name=oslo-messaging-zeromq
6900
6901# Time in ms to wait between connection attempts. (integer value)
6902#wait_timeout=2000
6903
6904# Time in ms to wait before the transaction is killed. (integer value)
6905#check_timeout=20000
6906
6907# Timeout in ms on blocking socket operations. (integer value)
6908#socket_timeout=10000
6909
6910
6911[metrics]
6912#
6913# Configuration options for metrics
6914#
6915# Options under this group allow to adjust how values assigned to metrics are
6916# calculated.
6917
6918#
6919# From nova.conf
6920#
6921
6922#
6923# When using metrics to weight the suitability of a host, you can use this
6924# option
6925# to change how the calculated weight influences the weight assigned to a host
6926# as
6927# follows:
6928#
6929# * >1.0: increases the effect of the metric on overall weight
6930# * 1.0: no change to the calculated weight
6931# * >0.0,<1.0: reduces the effect of the metric on overall weight
6932# * 0.0: the metric value is ignored, and the value of the
6933# 'weight_of_unavailable' option is returned instead
6934# * >-1.0,<0.0: the effect is reduced and reversed
6935# * -1.0: the effect is reversed
6936# * <-1.0: the effect is increased proportionally and reversed
6937#
6938# This option is only used by the FilterScheduler and its subclasses; if you use
6939# a different scheduler, this option has no effect.
6940#
6941# Possible values:
6942#
6943# * An integer or float value, where the value corresponds to the multipler
6944# ratio for this weigher.
6945#
6946# Related options:
6947#
6948# * weight_of_unavailable
6949# (floating point value)
6950#weight_multiplier=1.0
6951
6952#
6953# This setting specifies the metrics to be weighed and the relative ratios for
6954# each metric. This should be a single string value, consisting of a series of
6955# one or more 'name=ratio' pairs, separated by commas, where 'name' is the name
6956# of the metric to be weighed, and 'ratio' is the relative weight for that
6957# metric.
6958#
6959# Note that if the ratio is set to 0, the metric value is ignored, and instead
6960# the weight will be set to the value of the 'weight_of_unavailable' option.
6961#
6962# As an example, let's consider the case where this option is set to:
6963#
6964# ``name1=1.0, name2=-1.3``
6965#
6966# The final weight will be:
6967#
6968# ``(name1.value * 1.0) + (name2.value * -1.3)``
6969#
6970# This option is only used by the FilterScheduler and its subclasses; if you use
6971# a different scheduler, this option has no effect.
6972#
6973# Possible values:
6974#
6975# * A list of zero or more key/value pairs separated by commas, where the key is
6976# a string representing the name of a metric and the value is a numeric weight
6977# for that metric. If any value is set to 0, the value is ignored and the
6978# weight will be set to the value of the 'weight_of_unavailable' option.
6979#
6980# Related options:
6981#
6982# * weight_of_unavailable
6983# (list value)
6984#weight_setting =
6985
6986#
6987# This setting determines how any unavailable metrics are treated. If this
6988# option
6989# is set to True, any hosts for which a metric is unavailable will raise an
6990# exception, so it is recommended to also use the MetricFilter to filter out
6991# those hosts before weighing.
6992#
6993# This option is only used by the FilterScheduler and its subclasses; if you use
6994# a different scheduler, this option has no effect.
6995#
6996# Possible values:
6997#
6998# * True or False, where False ensures any metric being unavailable for a host
6999# will set the host weight to 'weight_of_unavailable'.
7000#
7001# Related options:
7002#
7003# * weight_of_unavailable
7004# (boolean value)
7005#required=true
7006
7007#
7008# When any of the following conditions are met, this value will be used in place
7009# of any actual metric value:
7010#
7011# * One of the metrics named in 'weight_setting' is not available for a host,
7012# and the value of 'required' is False
7013# * The ratio specified for a metric in 'weight_setting' is 0
7014# * The 'weight_multiplier' option is set to 0
7015#
7016# This option is only used by the FilterScheduler and its subclasses; if you use
7017# a different scheduler, this option has no effect.
7018#
7019# Possible values:
7020#
7021# * An integer or float value, where the value corresponds to the multipler
7022# ratio for this weigher.
7023#
7024# Related options:
7025#
7026# * weight_setting
7027# * required
7028# * weight_multiplier
7029# (floating point value)
7030#weight_of_unavailable=-10000.0
7031
7032
7033[mks]
7034#
7035# Nova compute node uses WebMKS, a desktop sharing protocol to provide
7036# instance console access to VM's created by VMware hypervisors.
7037#
7038# Related options:
7039# Following options must be set to provide console access.
7040# * mksproxy_base_url
7041# * enabled
7042
7043#
7044# From nova.conf
7045#
7046
7047#
7048# Location of MKS web console proxy
7049#
7050# The URL in the response points to a WebMKS proxy which
7051# starts proxying between client and corresponding vCenter
7052# server where instance runs. In order to use the web based
7053# console access, WebMKS proxy should be installed and configured
7054#
7055# Possible values:
7056#
7057# * Must be a valid URL of the form:``http://host:port/``
7058# (string value)
7059#mksproxy_base_url=http://127.0.0.1:6090/
7060
7061#
7062# Enables graphical console access for virtual machines.
7063# (boolean value)
7064#enabled=false
7065
7066
7067[neutron]
7068#
7069# Configuration options for neutron (network connectivity as a service).
7070
7071#
7072# From nova.conf
7073#
7074auth_type=v3password
7075project_domain_name = Default
7076user_domain_name = Default
7077auth_url = http://{{ controller.identity.host }}:35357/v3
Michel Nederlof30c45c42017-06-09 14:51:31 +02007078{% if pillar.neutron is defined and pillar.neutron.server is defined %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02007079password={{ pillar.neutron.server.identity.password }}
7080project_name={{ pillar.neutron.server.identity.tenant }}
7081username={{ pillar.neutron.server.identity.user }}
7082region_name= {{ pillar.neutron.server.identity.region }}
7083{%- else %}
7084password={{ controller.network.password }}
7085project_name={{ controller.network.tenant }}
7086username={{ controller.network.user }}
7087region_name= {{ controller.network.region }}
7088{%- endif %}
7089url=http://{{ controller.network.host }}:{{ controller.network.port }}
7090
7091{%- if controller.get('networking', 'default') != "contrail" %}
7092metadata_proxy_shared_secret={{ controller.metadata.password }}
7093{%- endif %}
7094service_metadata_proxy=True
7095#
7096# This option specifies the URL for connecting to Neutron.
7097#
7098# Possible values:
7099#
7100# * Any valid URL that points to the Neutron API service is appropriate here.
7101# This typically matches the URL returned for the 'network' service type
7102# from the Keystone service catalog.
7103# (uri value)
7104#url=http://127.0.0.1:9696
7105
7106#
7107# Region name for connecting to Neutron in admin context.
7108#
7109# This option is used in multi-region setups. If there are two Neutron
7110# servers running in two regions in two different machines, then two
7111# services need to be created in Keystone with two different regions and
7112# associate corresponding endpoints to those services. When requests are made
7113# to Keystone, the Keystone service uses the region_name to determine the
7114# region the request is coming from.
7115# (string value)
7116#region_name=RegionOne
7117
7118#
7119# Specifies the name of an integration bridge interface used by OpenvSwitch.
7120# This option is used only if Neutron does not specify the OVS bridge name.
7121#
7122# Possible values:
7123#
7124# * Any string representing OVS bridge name.
7125# (string value)
7126#ovs_bridge=br-int
7127
7128#
7129# Integer value representing the number of seconds to wait before querying
7130# Neutron for extensions. After this number of seconds the next time Nova
7131# needs to create a resource in Neutron it will requery Neutron for the
7132# extensions that it has loaded. Setting value to 0 will refresh the
7133# extensions with no wait.
7134# (integer value)
7135# Minimum value: 0
7136#extension_sync_interval=600
7137
7138#
7139# When set to True, this option indicates that Neutron will be used to proxy
7140# metadata requests and resolve instance ids. Otherwise, the instance ID must be
7141# passed to the metadata request in the 'X-Instance-ID' header.
7142#
7143# Related options:
7144#
7145# * metadata_proxy_shared_secret
7146# (boolean value)
7147#service_metadata_proxy=false
7148
7149#
7150# This option holds the shared secret string used to validate proxy requests to
7151# Neutron metadata requests. In order to be used, the
7152# 'X-Metadata-Provider-Signature' header must be supplied in the request.
7153#
7154# Related options:
7155#
7156# * service_metadata_proxy
7157# (string value)
7158#metadata_proxy_shared_secret =
7159
7160# PEM encoded Certificate Authority to use when verifying HTTPs connections.
7161# (string value)
7162#cafile=<None>
7163
7164# PEM encoded client certificate cert file (string value)
7165#certfile=<None>
7166
7167# PEM encoded client certificate key file (string value)
7168#keyfile=<None>
7169
7170# Verify HTTPS connections. (boolean value)
7171#insecure=false
7172
7173# Timeout value for http requests (integer value)
7174#timeout=<None>
7175
7176# Authentication type to load (string value)
7177# Deprecated group/name - [neutron]/auth_plugin
7178#auth_type=<None>
7179
7180# Config Section from which to load plugin specific options (string value)
7181#auth_section=<None>
7182
7183# Authentication URL (string value)
7184#auth_url=<None>
7185
7186# Domain ID to scope to (string value)
7187#domain_id=<None>
7188
7189# Domain name to scope to (string value)
7190#domain_name=<None>
7191
7192# Project ID to scope to (string value)
7193#project_id=<None>
7194
7195# Project name to scope to (string value)
7196#project_name=<None>
7197
7198# Domain ID containing project (string value)
7199#project_domain_id=<None>
7200
7201# Domain name containing project (string value)
7202#project_domain_name=<None>
7203
7204# Trust ID (string value)
7205#trust_id=<None>
7206
7207# Optional domain ID to use with v3 and v2 parameters. It will be used for both
7208# the user and project domain in v3 and ignored in v2 authentication. (string
7209# value)
7210#default_domain_id=<None>
7211
7212# Optional domain name to use with v3 API and v2 parameters. It will be used for
7213# both the user and project domain in v3 and ignored in v2 authentication.
7214# (string value)
7215#default_domain_name=<None>
7216
7217# User ID (string value)
7218#user_id=<None>
7219
7220# Username (string value)
7221# Deprecated group/name - [neutron]/user-name
7222#username=<None>
7223
7224# User's domain id (string value)
7225#user_domain_id=<None>
7226
7227# User's domain name (string value)
7228#user_domain_name=<None>
7229
7230# User's password (string value)
7231#password=<None>
7232
7233# Tenant ID (string value)
7234#tenant_id=<None>
7235
7236# Tenant Name (string value)
7237#tenant_name=<None>
7238
7239
7240[notifications]
7241#
7242# Most of the actions in Nova which manipulate the system state generate
7243# notifications which are posted to the messaging component (e.g. RabbitMQ) and
7244# can be consumed by any service outside the Openstack. More technical details
7245# at http://docs.openstack.org/developer/nova/notifications.html
7246
7247#
7248# From nova.conf
7249#
7250
7251#
7252# If set, send compute.instance.update notifications on instance state
7253# changes.
7254#
7255# Please refer to https://wiki.openstack.org/wiki/SystemUsageData for
7256# additional information on notifications.
7257#
7258# Possible values:
7259#
7260# * None - no notifications
7261# * "vm_state" - notifications on VM state changes
7262# * "vm_and_task_state" - notifications on VM and task state changes
7263# (string value)
7264# Allowed values: <None>, vm_state, vm_and_task_state
7265# Deprecated group/name - [DEFAULT]/notify_on_state_change
7266#notify_on_state_change=<None>
7267
7268#
7269# If enabled, send api.fault notifications on caught exceptions in the
7270# API service.
7271# (boolean value)
7272# Deprecated group/name - [DEFAULT]/notify_api_faults
7273#notify_on_api_faults=false
7274notify_on_api_faults=false
7275
7276# Default notification level for outgoing notifications. (string value)
7277# Allowed values: DEBUG, INFO, WARN, ERROR, CRITICAL
7278# Deprecated group/name - [DEFAULT]/default_notification_level
7279#default_level=INFO
7280
7281#
7282# Default publisher_id for outgoing notifications. If you consider routing
7283# notifications using different publisher, change this value accordingly.
7284#
7285# Possible values:
7286#
7287# * Defaults to the IPv4 address of this host, but it can be any valid
7288# oslo.messaging publisher_id
7289#
7290# Related options:
7291#
7292# * my_ip - IP address of this host
7293# (string value)
7294# Deprecated group/name - [DEFAULT]/default_publisher_id
7295#default_publisher_id=$my_ip
7296
7297#
7298# Specifies which notification format shall be used by nova.
7299#
7300# The default value is fine for most deployments and rarely needs to be changed.
7301# This value can be set to 'versioned' once the infrastructure moves closer to
7302# consuming the newer format of notifications. After this occurs, this option
7303# will be removed (possibly in the "P" release).
7304#
7305# Possible values:
7306# * unversioned: Only the legacy unversioned notifications are emitted.
7307# * versioned: Only the new versioned notifications are emitted.
7308# * both: Both the legacy unversioned and the new versioned notifications are
7309# emitted. (Default)
7310#
7311# The list of versioned notifications is visible in
7312# http://docs.openstack.org/developer/nova/notifications.html
7313# (string value)
7314# Allowed values: unversioned, versioned, both
7315# Deprecated group/name - [DEFAULT]/notification_format
7316#notification_format=both
7317
7318
7319[osapi_v21]
7320
7321#
7322# From nova.conf
7323#
7324
7325# DEPRECATED:
7326# This option is a list of all of the v2.1 API extensions to never load.
7327#
7328# Possible values:
7329#
7330# * A list of strings, each being the alias of an extension that you do not
7331# wish to load.
7332#
7333# Related options:
7334#
7335# * enabled
7336# * extensions_whitelist
7337# (list value)
7338# This option is deprecated for removal since 12.0.0.
7339# Its value may be silently ignored in the future.
7340# Reason:
7341# API extensions are now part of the standard API. API extensions should be
7342# disabled using policy, rather than via these configuration options.
7343#extensions_blacklist =
7344
7345# DEPRECATED:
7346# This is a list of extensions. If it is empty, then *all* extensions except
7347# those specified in the extensions_blacklist option will be loaded. If it is
7348# not
7349# empty, then only those extensions in this list will be loaded, provided that
7350# they are also not in the extensions_blacklist option.
7351#
7352# Possible values:
7353#
7354# * A list of strings, each being the alias of an extension that you wish to
7355# load, or an empty list, which indicates that all extensions are to be run.
7356#
7357# Related options:
7358#
7359# * enabled
7360# * extensions_blacklist
7361# (list value)
7362# This option is deprecated for removal since 12.0.0.
7363# Its value may be silently ignored in the future.
7364# Reason:
7365# API extensions are now part of the standard API. API extensions should be
7366# disabled using policy, rather than via these configuration options.
7367#extensions_whitelist =
7368
7369# DEPRECATED:
7370# This option is a string representing a regular expression (regex) that matches
7371# the project_id as contained in URLs. If not set, it will match normal UUIDs
7372# created by keystone.
7373#
7374# Possible values:
7375#
7376# * A string representing any legal regular expression
7377# (string value)
7378# This option is deprecated for removal since 13.0.0.
7379# Its value may be silently ignored in the future.
7380# Reason:
7381# Recent versions of nova constrain project IDs to hexadecimal characters and
7382# dashes. If your installation uses IDs outside of this range, you should use
7383# this option to provide your own regex and give you time to migrate offending
7384# projects to valid IDs before the next release.
7385#project_id_regex=<None>
7386
7387
7388[oslo_concurrency]
7389
7390#
7391# From oslo.concurrency
7392#
7393
7394# Enables or disables inter-process locks. (boolean value)
7395# Deprecated group/name - [DEFAULT]/disable_process_locking
7396#disable_process_locking=false
7397
7398# Directory to use for lock files. For security, the specified directory should
7399# only be writable by the user running the processes that need locking. Defaults
7400# to environment variable OSLO_LOCK_PATH. If OSLO_LOCK_PATH is not set in the
7401# environment, use the Python tempfile.gettempdir function to find a suitable
7402# location. If external locks are used, a lock path must be set. (string value)
7403# Deprecated group/name - [DEFAULT]/lock_path
7404lock_path=/var/lib/nova/tmp
7405
7406
7407[oslo_messaging_amqp]
7408
7409#
7410# From oslo.messaging
7411#
7412
7413# Name for the AMQP container. must be globally unique. Defaults to a generated
7414# UUID (string value)
7415# Deprecated group/name - [amqp1]/container_name
7416#container_name=<None>
7417
7418# Timeout for inactive connections (in seconds) (integer value)
7419# Deprecated group/name - [amqp1]/idle_timeout
7420#idle_timeout=0
7421
7422# Debug: dump AMQP frames to stdout (boolean value)
7423# Deprecated group/name - [amqp1]/trace
7424#trace=false
7425
7426# CA certificate PEM file used to verify the server's certificate (string value)
7427# Deprecated group/name - [amqp1]/ssl_ca_file
7428#ssl_ca_file =
7429
7430# Self-identifying certificate PEM file for client authentication (string value)
7431# Deprecated group/name - [amqp1]/ssl_cert_file
7432#ssl_cert_file =
7433
7434# Private key PEM file used to sign ssl_cert_file certificate (optional) (string
7435# value)
7436# Deprecated group/name - [amqp1]/ssl_key_file
7437#ssl_key_file =
7438
7439# Password for decrypting ssl_key_file (if encrypted) (string value)
7440# Deprecated group/name - [amqp1]/ssl_key_password
7441#ssl_key_password=<None>
7442
7443# DEPRECATED: Accept clients using either SSL or plain TCP (boolean value)
7444# Deprecated group/name - [amqp1]/allow_insecure_clients
7445# This option is deprecated for removal.
7446# Its value may be silently ignored in the future.
7447# Reason: Not applicable - not a SSL server
7448#allow_insecure_clients=false
7449
7450# Space separated list of acceptable SASL mechanisms (string value)
7451# Deprecated group/name - [amqp1]/sasl_mechanisms
7452#sasl_mechanisms =
7453
7454# Path to directory that contains the SASL configuration (string value)
7455# Deprecated group/name - [amqp1]/sasl_config_dir
7456#sasl_config_dir =
7457
7458# Name of configuration file (without .conf suffix) (string value)
7459# Deprecated group/name - [amqp1]/sasl_config_name
7460#sasl_config_name =
7461
7462# User name for message broker authentication (string value)
7463# Deprecated group/name - [amqp1]/username
7464#username =
7465
7466# Password for message broker authentication (string value)
7467# Deprecated group/name - [amqp1]/password
7468#password =
7469
7470# Seconds to pause before attempting to re-connect. (integer value)
7471# Minimum value: 1
7472#connection_retry_interval=1
7473
7474# Increase the connection_retry_interval by this many seconds after each
7475# unsuccessful failover attempt. (integer value)
7476# Minimum value: 0
7477#connection_retry_backoff=2
7478
7479# Maximum limit for connection_retry_interval + connection_retry_backoff
7480# (integer value)
7481# Minimum value: 1
7482#connection_retry_interval_max=30
7483
7484# Time to pause between re-connecting an AMQP 1.0 link that failed due to a
7485# recoverable error. (integer value)
7486# Minimum value: 1
7487#link_retry_delay=10
7488
7489# The maximum number of attempts to re-send a reply message which failed due to
7490# a recoverable error. (integer value)
7491# Minimum value: -1
7492#default_reply_retry=0
7493
7494# The deadline for an rpc reply message delivery. (integer value)
7495# Minimum value: 5
7496#default_reply_timeout=30
7497
7498# The deadline for an rpc cast or call message delivery. Only used when caller
7499# does not provide a timeout expiry. (integer value)
7500# Minimum value: 5
7501#default_send_timeout=30
7502
7503# The deadline for a sent notification message delivery. Only used when caller
7504# does not provide a timeout expiry. (integer value)
7505# Minimum value: 5
7506#default_notify_timeout=30
7507
7508# The duration to schedule a purge of idle sender links. Detach link after
7509# expiry. (integer value)
7510# Minimum value: 1
7511#default_sender_link_timeout=600
7512
7513# Indicates the addressing mode used by the driver.
7514# Permitted values:
7515# 'legacy' - use legacy non-routable addressing
7516# 'routable' - use routable addresses
7517# 'dynamic' - use legacy addresses if the message bus does not support routing
7518# otherwise use routable addressing (string value)
7519#addressing_mode=dynamic
7520
7521# address prefix used when sending to a specific server (string value)
7522# Deprecated group/name - [amqp1]/server_request_prefix
7523#server_request_prefix=exclusive
7524
7525# address prefix used when broadcasting to all servers (string value)
7526# Deprecated group/name - [amqp1]/broadcast_prefix
7527#broadcast_prefix=broadcast
7528
7529# address prefix when sending to any server in group (string value)
7530# Deprecated group/name - [amqp1]/group_request_prefix
7531#group_request_prefix=unicast
7532
7533# Address prefix for all generated RPC addresses (string value)
7534#rpc_address_prefix=openstack.org/om/rpc
7535
7536# Address prefix for all generated Notification addresses (string value)
7537#notify_address_prefix=openstack.org/om/notify
7538
7539# Appended to the address prefix when sending a fanout message. Used by the
7540# message bus to identify fanout messages. (string value)
7541#multicast_address=multicast
7542
7543# Appended to the address prefix when sending to a particular RPC/Notification
7544# server. Used by the message bus to identify messages sent to a single
7545# destination. (string value)
7546#unicast_address=unicast
7547
7548# Appended to the address prefix when sending to a group of consumers. Used by
7549# the message bus to identify messages that should be delivered in a round-robin
7550# fashion across consumers. (string value)
7551#anycast_address=anycast
7552
7553# Exchange name used in notification addresses.
7554# Exchange name resolution precedence:
7555# Target.exchange if set
7556# else default_notification_exchange if set
7557# else control_exchange if set
7558# else 'notify' (string value)
7559#default_notification_exchange=<None>
7560
7561# Exchange name used in RPC addresses.
7562# Exchange name resolution precedence:
7563# Target.exchange if set
7564# else default_rpc_exchange if set
7565# else control_exchange if set
7566# else 'rpc' (string value)
7567#default_rpc_exchange=<None>
7568
7569# Window size for incoming RPC Reply messages. (integer value)
7570# Minimum value: 1
7571#reply_link_credit=200
7572
7573# Window size for incoming RPC Request messages (integer value)
7574# Minimum value: 1
7575#rpc_server_credit=100
7576
7577# Window size for incoming Notification messages (integer value)
7578# Minimum value: 1
7579#notify_server_credit=100
7580
7581# Send messages of this type pre-settled.
7582# Pre-settled messages will not receive acknowledgement
7583# from the peer. Note well: pre-settled messages may be
7584# silently discarded if the delivery fails.
7585# Permitted values:
7586# 'rpc-call' - send RPC Calls pre-settled
7587# 'rpc-reply'- send RPC Replies pre-settled
7588# 'rpc-cast' - Send RPC Casts pre-settled
7589# 'notify' - Send Notifications pre-settled
7590# (multi valued)
7591#pre_settled=rpc-cast
7592#pre_settled=rpc-reply
7593
7594
7595[oslo_messaging_kafka]
7596
7597#
7598# From oslo.messaging
7599#
7600
7601# DEPRECATED: Default Kafka broker Host (string value)
7602# This option is deprecated for removal.
7603# Its value may be silently ignored in the future.
7604# Reason: Replaced by [DEFAULT]/transport_url
7605#kafka_default_host=localhost
7606
7607# DEPRECATED: Default Kafka broker Port (port value)
7608# Minimum value: 0
7609# Maximum value: 65535
7610# This option is deprecated for removal.
7611# Its value may be silently ignored in the future.
7612# Reason: Replaced by [DEFAULT]/transport_url
7613#kafka_default_port=9092
7614
7615# Max fetch bytes of Kafka consumer (integer value)
7616#kafka_max_fetch_bytes=1048576
7617
7618# Default timeout(s) for Kafka consumers (integer value)
7619#kafka_consumer_timeout=1.0
7620
7621# Pool Size for Kafka Consumers (integer value)
7622#pool_size=10
7623
7624# The pool size limit for connections expiration policy (integer value)
7625#conn_pool_min_size=2
7626
7627# The time-to-live in sec of idle connections in the pool (integer value)
7628#conn_pool_ttl=1200
7629
7630# Group id for Kafka consumer. Consumers in one group will coordinate message
7631# consumption (string value)
7632#consumer_group=oslo_messaging_consumer
7633
7634# Upper bound on the delay for KafkaProducer batching in seconds (floating point
7635# value)
7636#producer_batch_timeout=0.0
7637
7638# Size of batch for the producer async send (integer value)
7639#producer_batch_size=16384
7640
7641
7642[oslo_messaging_notifications]
7643
7644#
7645# From oslo.messaging
7646#
7647
7648# The Drivers(s) to handle sending notifications. Possible values are messaging,
7649# messagingv2, routing, log, test, noop (multi valued)
7650# Deprecated group/name - [DEFAULT]/notification_driver
7651#driver =
7652{%- if controller.notification is mapping %}
7653driver = {{ controller.notification.get('driver', 'messagingv2') }}
7654{%- if controller.notification.topics is defined %}
7655topics = {{ controller.notification.topics }}
7656{%- endif %}
7657{%- elif controller.notification %}
7658driver=messagingv2
7659{%- endif %}
7660
7661# A URL representing the messaging driver to use for notifications. If not set,
7662# we fall back to the same configuration used for RPC. (string value)
7663# Deprecated group/name - [DEFAULT]/notification_transport_url
7664#transport_url=<None>
7665
7666# AMQP topic used for OpenStack notifications. (list value)
7667# Deprecated group/name - [rpc_notifier2]/topics
7668# Deprecated group/name - [DEFAULT]/notification_topics
7669#topics=notifications
7670
7671
7672[oslo_messaging_rabbit]
7673
7674#
7675# From oslo.messaging
7676#
7677rabbit_retry_interval = 1
7678rabbit_retry_backoff = 2
7679rpc_conn_pool_size = 300
7680# Use durable queues in AMQP. (boolean value)
7681# Deprecated group/name - [DEFAULT]/amqp_durable_queues
7682# Deprecated group/name - [DEFAULT]/rabbit_durable_queues
7683#amqp_durable_queues=false
7684
7685# Auto-delete queues in AMQP. (boolean value)
7686# Deprecated group/name - [DEFAULT]/amqp_auto_delete
7687#amqp_auto_delete=false
7688
7689# SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and
7690# SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some
7691# distributions. (string value)
7692# Deprecated group/name - [DEFAULT]/kombu_ssl_version
7693#kombu_ssl_version =
7694
7695# SSL key file (valid only if SSL enabled). (string value)
7696# Deprecated group/name - [DEFAULT]/kombu_ssl_keyfile
7697#kombu_ssl_keyfile =
7698
7699# SSL cert file (valid only if SSL enabled). (string value)
7700# Deprecated group/name - [DEFAULT]/kombu_ssl_certfile
7701#kombu_ssl_certfile =
7702
7703# SSL certification authority file (valid only if SSL enabled). (string value)
7704# Deprecated group/name - [DEFAULT]/kombu_ssl_ca_certs
7705#kombu_ssl_ca_certs =
7706
7707# How long to wait before reconnecting in response to an AMQP consumer cancel
7708# notification. (floating point value)
7709# Deprecated group/name - [DEFAULT]/kombu_reconnect_delay
7710#kombu_reconnect_delay=1.0
7711
7712# EXPERIMENTAL: Possible values are: gzip, bz2. If not set compression will not
7713# be used. This option may not be available in future versions. (string value)
7714#kombu_compression=<None>
7715
7716# How long to wait a missing client before abandoning to send it its replies.
7717# This value should not be longer than rpc_response_timeout. (integer value)
7718# Deprecated group/name - [oslo_messaging_rabbit]/kombu_reconnect_timeout
7719#kombu_missing_consumer_retry_timeout=60
7720
7721# Determines how the next RabbitMQ node is chosen in case the one we are
7722# currently connected to becomes unavailable. Takes effect only if more than one
7723# RabbitMQ node is provided in config. (string value)
7724# Allowed values: round-robin, shuffle
7725#kombu_failover_strategy=round-robin
7726
7727# DEPRECATED: The RabbitMQ broker address where a single node is used. (string
7728# value)
7729# Deprecated group/name - [DEFAULT]/rabbit_host
7730# This option is deprecated for removal.
7731# Its value may be silently ignored in the future.
7732# Reason: Replaced by [DEFAULT]/transport_url
7733#rabbit_host=localhost
7734
7735# DEPRECATED: The RabbitMQ broker port where a single node is used. (port value)
7736# Minimum value: 0
7737# Maximum value: 65535
7738# Deprecated group/name - [DEFAULT]/rabbit_port
7739# This option is deprecated for removal.
7740# Its value may be silently ignored in the future.
7741# Reason: Replaced by [DEFAULT]/transport_url
7742#rabbit_port=5672
7743
7744# DEPRECATED: RabbitMQ HA cluster host:port pairs. (list value)
7745# Deprecated group/name - [DEFAULT]/rabbit_hosts
7746# This option is deprecated for removal.
7747# Its value may be silently ignored in the future.
7748# Reason: Replaced by [DEFAULT]/transport_url
7749#rabbit_hosts=$rabbit_host:$rabbit_port
7750
7751# Connect over SSL for RabbitMQ. (boolean value)
7752# Deprecated group/name - [DEFAULT]/rabbit_use_ssl
7753#rabbit_use_ssl=false
7754
7755# DEPRECATED: The RabbitMQ userid. (string value)
7756# Deprecated group/name - [DEFAULT]/rabbit_userid
7757# This option is deprecated for removal.
7758# Its value may be silently ignored in the future.
7759# Reason: Replaced by [DEFAULT]/transport_url
7760#rabbit_userid=guest
7761
7762# DEPRECATED: The RabbitMQ password. (string value)
7763# Deprecated group/name - [DEFAULT]/rabbit_password
7764# This option is deprecated for removal.
7765# Its value may be silently ignored in the future.
7766# Reason: Replaced by [DEFAULT]/transport_url
7767#rabbit_password=guest
7768
7769# The RabbitMQ login method. (string value)
7770# Allowed values: PLAIN, AMQPLAIN, RABBIT-CR-DEMO
7771# Deprecated group/name - [DEFAULT]/rabbit_login_method
7772#rabbit_login_method=AMQPLAIN
7773
7774# DEPRECATED: The RabbitMQ virtual host. (string value)
7775# Deprecated group/name - [DEFAULT]/rabbit_virtual_host
7776# This option is deprecated for removal.
7777# Its value may be silently ignored in the future.
7778# Reason: Replaced by [DEFAULT]/transport_url
7779#rabbit_virtual_host=/
7780
7781# How frequently to retry connecting with RabbitMQ. (integer value)
7782#rabbit_retry_interval=1
7783
7784# How long to backoff for between retries when connecting to RabbitMQ. (integer
7785# value)
7786# Deprecated group/name - [DEFAULT]/rabbit_retry_backoff
7787#rabbit_retry_backoff=2
7788
7789# Maximum interval of RabbitMQ connection retries. Default is 30 seconds.
7790# (integer value)
7791#rabbit_interval_max=30
7792
7793# DEPRECATED: Maximum number of RabbitMQ connection retries. Default is 0
7794# (infinite retry count). (integer value)
7795# Deprecated group/name - [DEFAULT]/rabbit_max_retries
7796# This option is deprecated for removal.
7797# Its value may be silently ignored in the future.
7798#rabbit_max_retries=0
7799
7800# Try to use HA queues in RabbitMQ (x-ha-policy: all). If you change this
7801# option, you must wipe the RabbitMQ database. In RabbitMQ 3.0, queue mirroring
7802# is no longer controlled by the x-ha-policy argument when declaring a queue. If
7803# you just want to make sure that all queues (except those with auto-generated
7804# names) are mirrored across all nodes, run: "rabbitmqctl set_policy HA
7805# '^(?!amq\.).*' '{"ha-mode": "all"}' " (boolean value)
7806# Deprecated group/name - [DEFAULT]/rabbit_ha_queues
7807#rabbit_ha_queues=false
7808
7809# Positive integer representing duration in seconds for queue TTL (x-expires).
7810# Queues which are unused for the duration of the TTL are automatically deleted.
7811# The parameter affects only reply and fanout queues. (integer value)
7812# Minimum value: 1
7813#rabbit_transient_queues_ttl=1800
7814
7815# Specifies the number of messages to prefetch. Setting to zero allows unlimited
7816# messages. (integer value)
7817#rabbit_qos_prefetch_count=0
7818
7819# Number of seconds after which the Rabbit broker is considered down if
7820# heartbeat's keep-alive fails (0 disable the heartbeat). EXPERIMENTAL (integer
7821# value)
7822#heartbeat_timeout_threshold=60
7823
7824# How often times during the heartbeat_timeout_threshold we check the heartbeat.
7825# (integer value)
7826#heartbeat_rate=2
7827
7828# Deprecated, use rpc_backend=kombu+memory or rpc_backend=fake (boolean value)
7829# Deprecated group/name - [DEFAULT]/fake_rabbit
7830#fake_rabbit=false
7831
7832# Maximum number of channels to allow (integer value)
7833#channel_max=<None>
7834
7835# The maximum byte size for an AMQP frame (integer value)
7836#frame_max=<None>
7837
7838# How often to send heartbeats for consumer's connections (integer value)
7839#heartbeat_interval=3
7840
7841# Enable SSL (boolean value)
7842#ssl=<None>
7843
7844# Arguments passed to ssl.wrap_socket (dict value)
7845#ssl_options=<None>
7846
7847# Set socket timeout in seconds for connection's socket (floating point value)
7848#socket_timeout=0.25
7849
7850# Set TCP_USER_TIMEOUT in seconds for connection's socket (floating point value)
7851#tcp_user_timeout=0.25
7852
7853# Set delay for reconnection to some host which has connection error (floating
7854# point value)
7855#host_connection_reconnect_delay=0.25
7856
7857# Connection factory implementation (string value)
7858# Allowed values: new, single, read_write
7859#connection_factory=single
7860
7861# Maximum number of connections to keep queued. (integer value)
7862#pool_max_size=30
7863
7864# Maximum number of connections to create above `pool_max_size`. (integer value)
7865#pool_max_overflow=0
7866
7867# Default number of seconds to wait for a connections to available (integer
7868# value)
7869#pool_timeout=30
7870
7871# Lifetime of a connection (since creation) in seconds or None for no recycling.
7872# Expired connections are closed on acquire. (integer value)
7873#pool_recycle=600
7874
7875# Threshold at which inactive (since release) connections are considered stale
7876# in seconds or None for no staleness. Stale connections are closed on acquire.
7877# (integer value)
7878#pool_stale=60
7879
7880# Default serialization mechanism for serializing/deserializing
7881# outgoing/incoming messages (string value)
7882# Allowed values: json, msgpack
7883#default_serializer_type=json
7884
7885# Persist notification messages. (boolean value)
7886#notification_persistence=false
7887
7888# Exchange name for sending notifications (string value)
7889#default_notification_exchange=${control_exchange}_notification
7890
7891# Max number of not acknowledged message which RabbitMQ can send to notification
7892# listener. (integer value)
7893#notification_listener_prefetch_count=100
7894
7895# Reconnecting retry count in case of connectivity problem during sending
7896# notification, -1 means infinite retry. (integer value)
7897#default_notification_retry_attempts=-1
7898
7899# Reconnecting retry delay in case of connectivity problem during sending
7900# notification message (floating point value)
7901#notification_retry_delay=0.25
7902
7903# Time to live for rpc queues without consumers in seconds. (integer value)
7904#rpc_queue_expiration=60
7905
7906# Exchange name for sending RPC messages (string value)
7907#default_rpc_exchange=${control_exchange}_rpc
7908
7909# Exchange name for receiving RPC replies (string value)
7910#rpc_reply_exchange=${control_exchange}_rpc_reply
7911
7912# Max number of not acknowledged message which RabbitMQ can send to rpc
7913# listener. (integer value)
7914#rpc_listener_prefetch_count=100
7915
7916# Max number of not acknowledged message which RabbitMQ can send to rpc reply
7917# listener. (integer value)
7918#rpc_reply_listener_prefetch_count=100
7919
7920# Reconnecting retry count in case of connectivity problem during sending reply.
7921# -1 means infinite retry during rpc_timeout (integer value)
7922#rpc_reply_retry_attempts=-1
7923
7924# Reconnecting retry delay in case of connectivity problem during sending reply.
7925# (floating point value)
7926#rpc_reply_retry_delay=0.25
7927
7928# Reconnecting retry count in case of connectivity problem during sending RPC
7929# message, -1 means infinite retry. If actual retry attempts in not 0 the rpc
7930# request could be processed more than one time (integer value)
7931#default_rpc_retry_attempts=-1
7932
7933# Reconnecting retry delay in case of connectivity problem during sending RPC
7934# message (floating point value)
7935#rpc_retry_delay=0.25
7936
Kirill Bespalov64617172017-07-11 14:43:14 +03007937{# rabbitmq ssl configuration #}
7938{%- if controller.message_queue.get('ssl',{}).get('enabled', False) %}
7939rabbit_use_ssl=true
7940
7941{%- if controller.message_queue.ssl.version is defined %}
7942kombu_ssl_version = {{ controller.message_queue.ssl.version }}
7943{%- elif salt['grains.get']('pythonversion') > [2,7,8] %}
7944kombu_ssl_version = TLSv1_2
7945{%- endif %}
7946
7947{%- if controller.message_queue.ssl.cacert_file is defined %}
7948kombu_ssl_ca_certs = {{ controller.message_queue.ssl.cacert_file }}
7949{%- else %}
7950kombu_ssl_ca_certs = {{ system_cacerts_file }}
7951{%- endif %}
7952{%- endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02007953
7954[oslo_messaging_zmq]
7955
7956#
7957# From oslo.messaging
7958#
7959
7960# ZeroMQ bind address. Should be a wildcard (*), an ethernet interface, or IP.
7961# The "host" option should point or resolve to this address. (string value)
7962# Deprecated group/name - [DEFAULT]/rpc_zmq_bind_address
7963#rpc_zmq_bind_address=*
7964
7965# MatchMaker driver. (string value)
7966# Allowed values: redis, sentinel, dummy
7967# Deprecated group/name - [DEFAULT]/rpc_zmq_matchmaker
7968#rpc_zmq_matchmaker=redis
7969
7970# Number of ZeroMQ contexts, defaults to 1. (integer value)
7971# Deprecated group/name - [DEFAULT]/rpc_zmq_contexts
7972#rpc_zmq_contexts=1
7973
7974# Maximum number of ingress messages to locally buffer per topic. Default is
7975# unlimited. (integer value)
7976# Deprecated group/name - [DEFAULT]/rpc_zmq_topic_backlog
7977#rpc_zmq_topic_backlog=<None>
7978
7979# Directory for holding IPC sockets. (string value)
7980# Deprecated group/name - [DEFAULT]/rpc_zmq_ipc_dir
7981#rpc_zmq_ipc_dir=/var/run/openstack
7982
7983# Name of this node. Must be a valid hostname, FQDN, or IP address. Must match
7984# "host" option, if running Nova. (string value)
7985# Deprecated group/name - [DEFAULT]/rpc_zmq_host
7986#rpc_zmq_host=localhost
7987
7988# Number of seconds to wait before all pending messages will be sent after
7989# closing a socket. The default value of -1 specifies an infinite linger period.
7990# The value of 0 specifies no linger period. Pending messages shall be discarded
7991# immediately when the socket is closed. Positive values specify an upper bound
7992# for the linger period. (integer value)
7993# Deprecated group/name - [DEFAULT]/rpc_cast_timeout
7994#zmq_linger=-1
7995
7996# The default number of seconds that poll should wait. Poll raises timeout
7997# exception when timeout expired. (integer value)
7998# Deprecated group/name - [DEFAULT]/rpc_poll_timeout
7999#rpc_poll_timeout=1
8000
8001# Expiration timeout in seconds of a name service record about existing target (
8002# < 0 means no timeout). (integer value)
8003# Deprecated group/name - [DEFAULT]/zmq_target_expire
8004#zmq_target_expire=300
8005
8006# Update period in seconds of a name service record about existing target.
8007# (integer value)
8008# Deprecated group/name - [DEFAULT]/zmq_target_update
8009#zmq_target_update=180
8010
8011# Use PUB/SUB pattern for fanout methods. PUB/SUB always uses proxy. (boolean
8012# value)
8013# Deprecated group/name - [DEFAULT]/use_pub_sub
8014#use_pub_sub=false
8015
8016# Use ROUTER remote proxy. (boolean value)
8017# Deprecated group/name - [DEFAULT]/use_router_proxy
8018#use_router_proxy=false
8019
8020# This option makes direct connections dynamic or static. It makes sense only
8021# with use_router_proxy=False which means to use direct connections for direct
8022# message types (ignored otherwise). (boolean value)
8023#use_dynamic_connections=false
8024
8025# How many additional connections to a host will be made for failover reasons.
8026# This option is actual only in dynamic connections mode. (integer value)
8027#zmq_failover_connections=2
8028
8029# Minimal port number for random ports range. (port value)
8030# Minimum value: 0
8031# Maximum value: 65535
8032# Deprecated group/name - [DEFAULT]/rpc_zmq_min_port
8033#rpc_zmq_min_port=49153
8034
8035# Maximal port number for random ports range. (integer value)
8036# Minimum value: 1
8037# Maximum value: 65536
8038# Deprecated group/name - [DEFAULT]/rpc_zmq_max_port
8039#rpc_zmq_max_port=65536
8040
8041# Number of retries to find free port number before fail with ZMQBindError.
8042# (integer value)
8043# Deprecated group/name - [DEFAULT]/rpc_zmq_bind_port_retries
8044#rpc_zmq_bind_port_retries=100
8045
8046# Default serialization mechanism for serializing/deserializing
8047# outgoing/incoming messages (string value)
8048# Allowed values: json, msgpack
8049# Deprecated group/name - [DEFAULT]/rpc_zmq_serialization
8050#rpc_zmq_serialization=json
8051
8052# This option configures round-robin mode in zmq socket. True means not keeping
8053# a queue when server side disconnects. False means to keep queue and messages
8054# even if server is disconnected, when the server appears we send all
8055# accumulated messages to it. (boolean value)
8056#zmq_immediate=true
8057
8058# Enable/disable TCP keepalive (KA) mechanism. The default value of -1 (or any
8059# other negative value) means to skip any overrides and leave it to OS default;
8060# 0 and 1 (or any other positive value) mean to disable and enable the option
8061# respectively. (integer value)
8062#zmq_tcp_keepalive=-1
8063
8064# The duration between two keepalive transmissions in idle condition. The unit
8065# is platform dependent, for example, seconds in Linux, milliseconds in Windows
8066# etc. The default value of -1 (or any other negative value and 0) means to skip
8067# any overrides and leave it to OS default. (integer value)
8068#zmq_tcp_keepalive_idle=-1
8069
8070# The number of retransmissions to be carried out before declaring that remote
8071# end is not available. The default value of -1 (or any other negative value and
8072# 0) means to skip any overrides and leave it to OS default. (integer value)
8073#zmq_tcp_keepalive_cnt=-1
8074
8075# The duration between two successive keepalive retransmissions, if
8076# acknowledgement to the previous keepalive transmission is not received. The
8077# unit is platform dependent, for example, seconds in Linux, milliseconds in
8078# Windows etc. The default value of -1 (or any other negative value and 0) means
8079# to skip any overrides and leave it to OS default. (integer value)
8080#zmq_tcp_keepalive_intvl=-1
8081
8082# Maximum number of (green) threads to work concurrently. (integer value)
8083#rpc_thread_pool_size=100
8084rpc_thread_pool_size=70
8085
8086# Expiration timeout in seconds of a sent/received message after which it is not
8087# tracked anymore by a client/server. (integer value)
8088#rpc_message_ttl=300
8089
8090# Wait for message acknowledgements from receivers. This mechanism works only
8091# via proxy without PUB/SUB. (boolean value)
8092#rpc_use_acks=false
8093
8094# Number of seconds to wait for an ack from a cast/call. After each retry
8095# attempt this timeout is multiplied by some specified multiplier. (integer
8096# value)
8097#rpc_ack_timeout_base=15
8098
8099# Number to multiply base ack timeout by after each retry attempt. (integer
8100# value)
8101#rpc_ack_timeout_multiplier=2
8102
8103# Default number of message sending attempts in case of any problems occurred:
8104# positive value N means at most N retries, 0 means no retries, None or -1 (or
8105# any other negative values) mean to retry forever. This option is used only if
8106# acknowledgments are enabled. (integer value)
8107#rpc_retry_attempts=3
8108
8109# List of publisher hosts SubConsumer can subscribe on. This option has higher
8110# priority then the default publishers list taken from the matchmaker. (list
8111# value)
8112#subscribe_on =
8113
8114
8115[oslo_middleware]
8116
8117#
8118# From oslo.middleware
8119#
8120
8121# The maximum body size for each request, in bytes. (integer value)
8122# Deprecated group/name - [DEFAULT]/osapi_max_request_body_size
8123# Deprecated group/name - [DEFAULT]/max_request_body_size
8124#max_request_body_size=114688
8125
8126# DEPRECATED: The HTTP Header that will be used to determine what the original
8127# request protocol scheme was, even if it was hidden by a SSL termination proxy.
8128# (string value)
8129# This option is deprecated for removal.
8130# Its value may be silently ignored in the future.
8131#secure_proxy_ssl_header=X-Forwarded-Proto
8132
8133# Whether the application is behind a proxy or not. This determines if the
8134# middleware should parse the headers or not. (boolean value)
8135#enable_proxy_headers_parsing=false
8136enable_proxy_headers_parsing=True
8137
8138[oslo_policy]
8139
8140#
8141# From oslo.policy
8142#
8143
8144# The file that defines policies. (string value)
8145# Deprecated group/name - [DEFAULT]/policy_file
8146#policy_file=policy.json
8147
8148# Default rule. Enforced when a requested rule is not found. (string value)
8149# Deprecated group/name - [DEFAULT]/policy_default_rule
8150#policy_default_rule=default
8151
8152# Directories where policy configuration files are stored. They can be relative
8153# to any directory in the search path defined by the config_dir option, or
8154# absolute paths. The file defined by policy_file must exist for these
8155# directories to be searched. Missing or empty directories are ignored. (multi
8156# valued)
8157# Deprecated group/name - [DEFAULT]/policy_dirs
8158#policy_dirs=policy.d
8159
8160
8161[pci]
8162
8163#
8164# From nova.conf
8165#
8166
8167#
8168# An alias for a PCI passthrough device requirement.
8169#
8170# This allows users to specify the alias in the extra_spec for a flavor, without
8171# needing to repeat all the PCI property requirements.
8172#
8173# Possible Values:
8174#
8175# * A list of JSON values which describe the aliases. For example:
8176#
8177# alias = {
8178# "name": "QuickAssist",
8179# "product_id": "0443",
8180# "vendor_id": "8086",
8181# "device_type": "type-PCI"
8182# }
8183#
8184# defines an alias for the Intel QuickAssist card. (multi valued). Valid key
8185# values are :
8186#
8187# * "name": Name of the PCI alias.
8188# * "product_id": Product ID of the device in hexadecimal.
8189# * "vendor_id": Vendor ID of the device in hexadecimal.
8190# * "device_type": Type of PCI device. Valid values are: "type-PCI",
8191# "type-PF" and "type-VF".
8192# (multi valued)
8193# Deprecated group/name - [DEFAULT]/pci_alias
8194#alias =
8195
8196#
8197# White list of PCI devices available to VMs.
8198#
8199# Possible values:
8200#
8201# * A JSON dictionary which describe a whitelisted PCI device. It should take
8202# the following format:
8203#
8204# ["vendor_id": "<id>",] ["product_id": "<id>",]
8205# ["address": "[[[[<domain>]:]<bus>]:][<slot>][.[<function>]]" |
8206# "devname": "<name>",]
8207# {"<tag>": "<tag_value>",}
8208#
8209# Where '[' indicates zero or one occurrences, '{' indicates zero or multiple
8210# occurrences, and '|' mutually exclusive options. Note that any missing
8211# fields are automatically wildcarded.
8212#
8213# Valid key values are :
8214#
8215# * "vendor_id": Vendor ID of the device in hexadecimal.
8216# * "product_id": Product ID of the device in hexadecimal.
8217# * "address": PCI address of the device.
8218# * "devname": Device name of the device (for e.g. interface name). Not all
8219# PCI devices have a name.
8220# * "<tag>": Additional <tag> and <tag_value> used for matching PCI devices.
8221# Supported <tag>: "physical_network".
8222#
8223# The address key supports traditional glob style and regular expression
8224# syntax. Valid examples are:
8225#
8226# passthrough_whitelist = {"devname":"eth0",
8227# "physical_network":"physnet"}
8228# passthrough_whitelist = {"address":"*:0a:00.*"}
8229# passthrough_whitelist = {"address":":0a:00.",
8230# "physical_network":"physnet1"}
8231# passthrough_whitelist = {"vendor_id":"1137",
8232# "product_id":"0071"}
8233# passthrough_whitelist = {"vendor_id":"1137",
8234# "product_id":"0071",
8235# "address": "0000:0a:00.1",
8236# "physical_network":"physnet1"}
8237# passthrough_whitelist = {"address":{"domain": ".*",
8238# "bus": "02", "slot": "01",
8239# "function": "[2-7]"},
8240# "physical_network":"physnet1"}
8241# passthrough_whitelist = {"address":{"domain": ".*",
8242# "bus": "02", "slot": "0[1-2]",
8243# "function": ".*"},
8244# "physical_network":"physnet1"}
8245#
8246# The following are invalid, as they specify mutually exclusive options:
8247#
8248# passthrough_whitelist = {"devname":"eth0",
8249# "physical_network":"physnet",
8250# "address":"*:0a:00.*"}
8251#
8252# * A JSON list of JSON dictionaries corresponding to the above format. For
8253# example:
8254#
8255# passthrough_whitelist = [{"product_id":"0001", "vendor_id":"8086"},
8256# {"product_id":"0002", "vendor_id":"8086"}]
8257# (multi valued)
8258# Deprecated group/name - [DEFAULT]/pci_passthrough_whitelist
8259#passthrough_whitelist =
8260
8261
8262[placement]
8263
8264#
8265# From nova.conf
8266#
8267
8268#
8269# Region name of this node. This is used when picking the URL in the service
8270# catalog.
8271#
8272# Possible values:
8273#
8274# * Any string representing region name
8275# (string value)
8276os_region_name = {{ controller.identity.region }}
8277auth_type = password
8278user_domain_id = {{ controller.identity.get('domain', 'default') }}
8279project_domain_id = {{ controller.identity.get('domain', 'default') }}
8280project_name = {{ controller.identity.tenant }}
8281username = {{ controller.identity.user }}
8282password = {{ controller.identity.password }}
8283auth_url=http://{{ controller.identity.host }}:35357/v3
Jan Cache2900c92017-05-03 15:02:27 +02008284os_interface = internal
Jakub Pavlik02a01c72017-04-11 16:04:51 +02008285
8286#
8287# Endpoint interface for this node. This is used when picking the URL in the
8288# service catalog.
8289# (string value)
8290#os_interface=<None>
8291
8292# PEM encoded Certificate Authority to use when verifying HTTPs connections.
8293# (string value)
8294#cafile=<None>
8295
8296# PEM encoded client certificate cert file (string value)
8297#certfile=<None>
8298
8299# PEM encoded client certificate key file (string value)
8300#keyfile=<None>
8301
8302# Verify HTTPS connections. (boolean value)
8303#insecure=false
8304
8305# Timeout value for http requests (integer value)
8306#timeout=<None>
8307
8308# Authentication type to load (string value)
8309# Deprecated group/name - [placement]/auth_plugin
8310#auth_type=<None>
8311
8312# Config Section from which to load plugin specific options (string value)
8313#auth_section=<None>
8314
8315# Authentication URL (string value)
8316#auth_url=<None>
8317
8318# Domain ID to scope to (string value)
8319#domain_id=<None>
8320
8321# Domain name to scope to (string value)
8322#domain_name=<None>
8323
8324# Project ID to scope to (string value)
8325#project_id=<None>
8326
8327# Project name to scope to (string value)
8328#project_name=<None>
8329
8330# Domain ID containing project (string value)
8331#project_domain_id=<None>
8332
8333# Domain name containing project (string value)
8334#project_domain_name=<None>
8335
8336# Trust ID (string value)
8337#trust_id=<None>
8338
8339# Optional domain ID to use with v3 and v2 parameters. It will be used for both
8340# the user and project domain in v3 and ignored in v2 authentication. (string
8341# value)
8342#default_domain_id=<None>
8343
8344# Optional domain name to use with v3 API and v2 parameters. It will be used for
8345# both the user and project domain in v3 and ignored in v2 authentication.
8346# (string value)
8347#default_domain_name=<None>
8348
8349# User ID (string value)
8350#user_id=<None>
8351
8352# Username (string value)
8353# Deprecated group/name - [placement]/user-name
8354#username=<None>
8355
8356# User's domain id (string value)
8357#user_domain_id=<None>
8358
8359# User's domain name (string value)
8360#user_domain_name=<None>
8361
8362# User's password (string value)
8363#password=<None>
8364
8365# Tenant ID (string value)
8366#tenant_id=<None>
8367
8368# Tenant Name (string value)
8369#tenant_name=<None>
8370
8371
8372[quota]
8373#
8374# Quota options allow to manage quotas in openstack deployment.
8375
8376#
8377# From nova.conf
8378#
8379
8380#
8381# The number of instances allowed per project.
8382#
8383# Possible Values
8384#
8385# * A positive integer or 0.
8386# * -1 to disable the quota.
8387# (integer value)
8388# Minimum value: -1
8389# Deprecated group/name - [DEFAULT]/quota_instances
8390#instances=10
8391
8392#
8393# The number of instance cores or vCPUs allowed per project.
8394#
8395# Possible values:
8396#
8397# * A positive integer or 0.
8398# * -1 to disable the quota.
8399# (integer value)
8400# Minimum value: -1
8401# Deprecated group/name - [DEFAULT]/quota_cores
8402#cores=20
8403
8404#
8405# The number of megabytes of instance RAM allowed per project.
8406#
8407# Possible values:
8408#
8409# * A positive integer or 0.
8410# * -1 to disable the quota.
8411# (integer value)
8412# Minimum value: -1
8413# Deprecated group/name - [DEFAULT]/quota_ram
8414#ram=51200
8415
8416# DEPRECATED:
8417# The number of floating IPs allowed per project.
8418#
8419# Floating IPs are not allocated to instances by default. Users need to select
8420# them from the pool configured by the OpenStack administrator to attach to
8421# their
8422# instances.
8423#
8424# Possible values:
8425#
8426# * A positive integer or 0.
8427# * -1 to disable the quota.
8428# (integer value)
8429# Minimum value: -1
8430# Deprecated group/name - [DEFAULT]/quota_floating_ips
8431# This option is deprecated for removal since 15.0.0.
8432# Its value may be silently ignored in the future.
8433# Reason:
8434# nova-network is deprecated, as are any related configuration options.
8435#floating_ips=10
8436
8437# DEPRECATED:
8438# The number of fixed IPs allowed per project.
8439#
8440# Unlike floating IPs, fixed IPs are allocated dynamically by the network
8441# component when instances boot up. This quota value should be at least the
8442# number of instances allowed
8443#
8444# Possible values:
8445#
8446# * A positive integer or 0.
8447# * -1 to disable the quota.
8448# (integer value)
8449# Minimum value: -1
8450# Deprecated group/name - [DEFAULT]/quota_fixed_ips
8451# This option is deprecated for removal since 15.0.0.
8452# Its value may be silently ignored in the future.
8453# Reason:
8454# nova-network is deprecated, as are any related configuration options.
8455#fixed_ips=-1
8456
8457#
8458# The number of metadata items allowed per instance.
8459#
8460# Users can associate metadata with an instance during instance creation. This
8461# metadata takes the form of key-value pairs.
8462#
8463# Possible values:
8464#
8465# * A positive integer or 0.
8466# * -1 to disable the quota.
8467# (integer value)
8468# Minimum value: -1
8469# Deprecated group/name - [DEFAULT]/quota_metadata_items
8470#metadata_items=128
8471
8472#
8473# The number of injected files allowed.
8474#
8475# File injection allows users to customize the personality of an instance by
8476# injecting data into it upon boot. Only text file injection is permitted:
8477# binary
8478# or ZIP files are not accepted. During file injection, any existing files that
8479# match specified files are renamed to include ``.bak`` extension appended with
8480# a
8481# timestamp.
8482#
8483# Possible values:
8484#
8485# * A positive integer or 0.
8486# * -1 to disable the quota.
8487# (integer value)
8488# Minimum value: -1
8489# Deprecated group/name - [DEFAULT]/quota_injected_files
8490#injected_files=5
8491
8492#
8493# The number of bytes allowed per injected file.
8494#
8495# Possible values:
8496#
8497# * A positive integer or 0.
8498# * -1 to disable the quota.
8499# (integer value)
8500# Minimum value: -1
8501# Deprecated group/name - [DEFAULT]/quota_injected_file_content_bytes
8502#injected_file_content_bytes=10240
8503
8504#
8505# The maximum allowed injected file path length.
8506#
8507# Possible values:
8508#
8509# * A positive integer or 0.
8510# * -1 to disable the quota.
8511# (integer value)
8512# Minimum value: -1
8513# Deprecated group/name - [DEFAULT]/quota_injected_file_path_length
8514#injected_file_path_length=255
8515
8516# DEPRECATED:
8517# The number of security groups per project.
8518#
8519# Possible values:
8520#
8521# * A positive integer or 0.
8522# * -1 to disable the quota.
8523# (integer value)
8524# Minimum value: -1
8525# Deprecated group/name - [DEFAULT]/quota_security_groups
8526# This option is deprecated for removal since 15.0.0.
8527# Its value may be silently ignored in the future.
8528# Reason:
8529# nova-network is deprecated, as are any related configuration options.
8530#security_groups=10
8531
8532# DEPRECATED:
8533# The number of security rules per security group.
8534#
8535# The associated rules in each security group control the traffic to instances
8536# in
8537# the group.
8538#
8539# Possible values:
8540#
8541# * A positive integer or 0.
8542# * -1 to disable the quota.
8543# (integer value)
8544# Minimum value: -1
8545# Deprecated group/name - [DEFAULT]/quota_security_group_rules
8546# This option is deprecated for removal since 15.0.0.
8547# Its value may be silently ignored in the future.
8548# Reason:
8549# nova-network is deprecated, as are any related configuration options.
8550#security_group_rules=20
8551
8552#
8553# The maximum number of key pairs allowed per user.
8554#
8555# Users can create at least one key pair for each project and use the key pair
8556# for multiple instances that belong to that project.
8557#
8558# Possible values:
8559#
8560# * A positive integer or 0.
8561# * -1 to disable the quota.
8562# (integer value)
8563# Minimum value: -1
8564# Deprecated group/name - [DEFAULT]/quota_key_pairs
8565#key_pairs=100
8566
8567#
8568# The maxiumum number of server groups per project.
8569#
8570# Server groups are used to control the affinity and anti-affinity scheduling
8571# policy for a group of servers or instances. Reducing the quota will not affect
8572# any existing group, but new servers will not be allowed into groups that have
8573# become over quota.
8574#
8575# Possible values:
8576#
8577# * A positive integer or 0.
8578# * -1 to disable the quota.
8579# (integer value)
8580# Minimum value: -1
8581# Deprecated group/name - [DEFAULT]/quota_server_groups
8582#server_groups=10
8583
8584#
8585# The maximum number of servers per server group.
8586#
8587# Possible values:
8588#
8589# * A positive integer or 0.
8590# * -1 to disable the quota.
8591# (integer value)
8592# Minimum value: -1
8593# Deprecated group/name - [DEFAULT]/quota_server_group_members
8594#server_group_members=10
8595
8596#
8597# The number of seconds until a reservation expires.
8598#
8599# This quota represents the time period for invalidating quota reservations.
8600# (integer value)
8601# Deprecated group/name - [DEFAULT]/reservation_expire
8602#reservation_expire=86400
8603reservation_expire=86400
8604
8605#
8606# The count of reservations until usage is refreshed.
8607#
8608# This defaults to 0 (off) to avoid additional load but it is useful to turn on
8609# to help keep quota usage up-to-date and reduce the impact of out of sync usage
8610# issues.
8611# (integer value)
8612# Minimum value: 0
8613# Deprecated group/name - [DEFAULT]/until_refresh
8614#until_refresh=0
8615until_refresh=0
8616
8617#
8618# The number of seconds between subsequent usage refreshes.
8619#
8620# This defaults to 0 (off) to avoid additional load but it is useful to turn on
8621# to help keep quota usage up-to-date and reduce the impact of out of sync usage
8622# issues. Note that quotas are not updated on a periodic task, they will update
8623# on a new reservation if max_age has passed since the last reservation.
8624# (integer value)
8625# Minimum value: 0
8626# Deprecated group/name - [DEFAULT]/max_age
8627#max_age=0
8628
8629# DEPRECATED:
8630# The quota enforcer driver.
8631#
8632# Provides abstraction for quota checks. Users can configure a specific
8633# driver to use for quota checks.
8634#
8635# Possible values:
8636#
8637# * nova.quota.DbQuotaDriver (default) or any string representing fully
8638# qualified class name.
8639# (string value)
8640# Deprecated group/name - [DEFAULT]/quota_driver
8641# This option is deprecated for removal since 14.0.0.
8642# Its value may be silently ignored in the future.
8643#driver=nova.quota.DbQuotaDriver
8644
8645
8646[rdp]
8647#
8648# Options under this group enable and configure Remote Desktop Protocol (
8649# RDP) related features.
8650#
8651# This group is only relevant to Hyper-V users.
8652
8653#
8654# From nova.conf
8655#
8656
8657#
8658# Enable Remote Desktop Protocol (RDP) related features.
8659#
8660# Hyper-V, unlike the majority of the hypervisors employed on Nova compute
8661# nodes, uses RDP instead of VNC and SPICE as a desktop sharing protocol to
8662# provide instance console access. This option enables RDP for graphical
8663# console access for virtual machines created by Hyper-V.
8664#
8665# **Note:** RDP should only be enabled on compute nodes that support the Hyper-V
8666# virtualization platform.
8667#
8668# Related options:
8669#
8670# * ``compute_driver``: Must be hyperv.
8671#
8672# (boolean value)
8673#enabled=false
8674
8675#
8676# The URL an end user would use to connect to the RDP HTML5 console proxy.
8677# The console proxy service is called with this token-embedded URL and
8678# establishes the connection to the proper instance.
8679#
8680# An RDP HTML5 console proxy service will need to be configured to listen on the
8681# address configured here. Typically the console proxy service would be run on a
8682# controller node. The localhost address used as default would only work in a
8683# single node environment i.e. devstack.
8684#
8685# An RDP HTML5 proxy allows a user to access via the web the text or graphical
8686# console of any Windows server or workstation using RDP. RDP HTML5 console
8687# proxy services include FreeRDP, wsgate.
8688# See https://github.com/FreeRDP/FreeRDP-WebConnect
8689#
8690# Possible values:
8691#
8692# * <scheme>://<ip-address>:<port-number>/
8693#
8694# The scheme must be identical to the scheme configured for the RDP HTML5
8695# console proxy service.
8696#
8697# The IP address must be identical to the address on which the RDP HTML5
8698# console proxy service is listening.
8699#
8700# The port must be identical to the port on which the RDP HTML5 console proxy
8701# service is listening.
8702#
8703# Related options:
8704#
8705# * ``rdp.enabled``: Must be set to ``True`` for ``html5_proxy_base_url`` to be
8706# effective.
8707# (string value)
8708#html5_proxy_base_url=http://127.0.0.1:6083/
8709
8710
8711[remote_debug]
8712
8713#
8714# From nova.conf
8715#
8716
8717#
8718# Debug host (IP or name) to connect to. This command line parameter is used
8719# when
8720# you want to connect to a nova service via a debugger running on a different
8721# host.
8722#
8723# Note that using the remote debug option changes how Nova uses the eventlet
8724# library to support async IO. This could result in failures that do not occur
8725# under normal operation. Use at your own risk.
8726#
8727# Possible Values:
8728#
8729# * IP address of a remote host as a command line parameter
8730# to a nova service. For Example:
8731#
8732# /usr/local/bin/nova-compute --config-file /etc/nova/nova.conf
8733# --remote_debug-host <IP address where the debugger is running>
8734# (string value)
8735#host=<None>
8736
8737#
8738# Debug port to connect to. This command line parameter allows you to specify
8739# the port you want to use to connect to a nova service via a debugger running
8740# on different host.
8741#
8742# Note that using the remote debug option changes how Nova uses the eventlet
8743# library to support async IO. This could result in failures that do not occur
8744# under normal operation. Use at your own risk.
8745#
8746# Possible Values:
8747#
8748# * Port number you want to use as a command line parameter
8749# to a nova service. For Example:
8750#
8751# /usr/local/bin/nova-compute --config-file /etc/nova/nova.conf
8752# --remote_debug-host <IP address where the debugger is running>
8753# --remote_debug-port <port> it's listening on>.
8754# (port value)
8755# Minimum value: 0
8756# Maximum value: 65535
8757#port=<None>
8758
8759
8760[scheduler]
8761
8762#
8763# From nova.conf
8764#
8765
8766#
8767# The scheduler host manager to use.
8768#
8769# The host manager manages the in-memory picture of the hosts that the scheduler
8770# uses. The options values are chosen from the entry points under the namespace
8771# 'nova.scheduler.host_manager' in 'setup.cfg'.
8772# (string value)
8773# Allowed values: host_manager, ironic_host_manager
8774# Deprecated group/name - [DEFAULT]/scheduler_host_manager
8775#host_manager=host_manager
8776host_manager=host_manager
8777
8778#
8779# The class of the driver used by the scheduler.
8780#
8781# The options are chosen from the entry points under the namespace
8782# 'nova.scheduler.driver' in 'setup.cfg'.
8783#
8784# Possible values:
8785#
8786# * A string, where the string corresponds to the class name of a scheduler
8787# driver. There are a number of options available:
8788# ** 'caching_scheduler', which aggressively caches the system state for better
8789# individual scheduler performance at the risk of more retries when running
8790# multiple schedulers
8791# ** 'chance_scheduler', which simply picks a host at random
8792# ** 'fake_scheduler', which is used for testing
8793# ** A custom scheduler driver. In this case, you will be responsible for
8794# creating and maintaining the entry point in your 'setup.cfg' file
8795# (string value)
8796# Allowed values: filter_scheduler, caching_scheduler, chance_scheduler, fake_scheduler
8797# Deprecated group/name - [DEFAULT]/scheduler_driver
8798#driver=filter_scheduler
8799driver=filter_scheduler
8800
8801#
8802# Periodic task interval.
8803#
8804# This value controls how often (in seconds) to run periodic tasks in the
8805# scheduler. The specific tasks that are run for each period are determined by
8806# the particular scheduler being used.
8807#
8808# If this is larger than the nova-service 'service_down_time' setting, Nova may
8809# report the scheduler service as down. This is because the scheduler driver is
8810# responsible for sending a heartbeat and it will only do that as often as this
8811# option allows. As each scheduler can work a little differently than the
8812# others,
8813# be sure to test this with your selected scheduler.
8814#
8815# Possible values:
8816#
8817# * An integer, where the integer corresponds to periodic task interval in
8818# seconds. 0 uses the default interval (60 seconds). A negative value disables
8819# periodic tasks.
8820#
8821# Related options:
8822#
8823# * ``nova-service service_down_time``
8824# (integer value)
8825# Deprecated group/name - [DEFAULT]/scheduler_driver_task_period
8826#periodic_task_interval=60
8827
8828#
8829# Maximum number of schedule attempts for a chosen host.
8830#
8831# This is the maximum number of attempts that will be made to schedule an
8832# instance before it is assumed that the failures aren't due to normal
8833# occasional
8834# race conflicts, but rather some other problem. When this is reached a
8835# MaxRetriesExceeded exception is raised, and the instance is set to an error
8836# state.
8837#
8838# Possible values:
8839#
8840# * A positive integer, where the integer corresponds to the max number of
8841# attempts that can be made when scheduling an instance.
8842# (integer value)
8843# Minimum value: 1
8844# Deprecated group/name - [DEFAULT]/scheduler_max_attempts
8845#max_attempts=3
8846max_attempts=3
8847
8848#
8849# Periodic task interval.
8850#
8851# This value controls how often (in seconds) the scheduler should attempt
8852# to discover new hosts that have been added to cells. If negative (the
8853# default), no automatic discovery will occur.
8854#
8855# Small deployments may want this periodic task enabled, as surveying the
8856# cells for new hosts is likely to be lightweight enough to not cause undue
8857# burdon to the scheduler. However, larger clouds (and those that are not
8858# adding hosts regularly) will likely want to disable this automatic
8859# behavior and instead use the `nova-manage cell_v2 discover_hosts` command
8860# when hosts have been added to a cell.
8861# (integer value)
8862# Minimum value: -1
8863#discover_hosts_in_cells_interval=-1
8864discover_hosts_in_cells_interval=300
8865
8866
8867[serial_console]
8868#
8869# The serial console feature allows you to connect to a guest in case a
8870# graphical console like VNC, RDP or SPICE is not available. This is only
8871# currently supported for the libvirt, Ironic and hyper-v drivers.
8872
8873#
8874# From nova.conf
8875#
8876
8877#
8878# Enable the serial console feature.
8879#
8880# In order to use this feature, the service ``nova-serialproxy`` needs to run.
8881# This service is typically executed on the controller node.
8882# (boolean value)
8883#enabled=false
8884
8885#
8886# A range of TCP ports a guest can use for its backend.
8887#
8888# Each instance which gets created will use one port out of this range. If the
8889# range is not big enough to provide another port for an new instance, this
8890# instance won't get launched.
8891#
8892# Possible values:
8893#
8894# * Each string which passes the regex ``\d+:\d+`` For example ``10000:20000``.
8895# Be sure that the first port number is lower than the second port number
8896# and that both are in range from 0 to 65535.
8897# (string value)
8898#port_range=10000:20000
8899
8900#
8901# The URL an end user would use to connect to the ``nova-serialproxy`` service.
8902#
8903# The ``nova-serialproxy`` service is called with this token enriched URL
8904# and establishes the connection to the proper instance.
8905#
8906# Related options:
8907#
8908# * The IP address must be identical to the address to which the
8909# ``nova-serialproxy`` service is listening (see option ``serialproxy_host``
8910# in this section).
8911# * The port must be the same as in the option ``serialproxy_port`` of this
8912# section.
8913# * If you choose to use a secured websocket connection, then start this option
8914# with ``wss://`` instead of the unsecured ``ws://``. The options ``cert``
8915# and ``key`` in the ``[DEFAULT]`` section have to be set for that.
8916# (uri value)
8917#base_url=ws://127.0.0.1:6083/
8918
8919#
8920# The IP address to which proxy clients (like ``nova-serialproxy``) should
8921# connect to get the serial console of an instance.
8922#
8923# This is typically the IP address of the host of a ``nova-compute`` service.
8924# (string value)
8925#proxyclient_address=127.0.0.1
8926
8927#
8928# The IP address which is used by the ``nova-serialproxy`` service to listen
8929# for incoming requests.
8930#
8931# The ``nova-serialproxy`` service listens on this IP address for incoming
8932# connection requests to instances which expose serial console.
8933#
8934# Related options:
8935#
8936# * Ensure that this is the same IP address which is defined in the option
8937# ``base_url`` of this section or use ``0.0.0.0`` to listen on all addresses.
8938# (string value)
8939#serialproxy_host=0.0.0.0
8940
8941#
8942# The port number which is used by the ``nova-serialproxy`` service to listen
8943# for incoming requests.
8944#
8945# The ``nova-serialproxy`` service listens on this port number for incoming
8946# connection requests to instances which expose serial console.
8947#
8948# Related options:
8949#
8950# * Ensure that this is the same port number which is defined in the option
8951# ``base_url`` of this section.
8952# (port value)
8953# Minimum value: 0
8954# Maximum value: 65535
8955#serialproxy_port=6083
8956
8957
8958[service_user]
8959#
8960# Configuration options for service to service authentication using a service
8961# token. These options allow to send a service token along with the
8962# user's token when contacting external REST APIs.
8963
8964#
8965# From nova.conf
8966#
8967
8968#
8969# When True, if sending a user token to an REST API, also send a service token.
8970#
8971# Nova often reuses the user token provided to the nova-api to talk to other
8972# REST APIs, such as Cinder and Neutron. It is possible that while the
8973# user token was valid when the request was made to Nova, the token may expire
8974# before it reaches the other service. To avoid any failures, and to
8975# make it clear it is Nova calling the service on the users behalf, we include
8976# a server token along with the user token. Should the user's token have
8977# expired, a valid service token ensures the REST API request will still be
8978# accepted by the keystone middleware.
8979#
8980# This feature is currently experimental, and as such is turned off by default
8981# while full testing and performance tuning of this feature is completed.
8982# (boolean value)
8983#send_service_user_token=false
8984
8985# PEM encoded Certificate Authority to use when verifying HTTPs connections.
8986# (string value)
8987#cafile=<None>
8988
8989# PEM encoded client certificate cert file (string value)
8990#certfile=<None>
8991
8992# PEM encoded client certificate key file (string value)
8993#keyfile=<None>
8994
8995# Verify HTTPS connections. (boolean value)
8996#insecure=false
8997
8998# Timeout value for http requests (integer value)
8999#timeout=<None>
9000
9001# Authentication type to load (string value)
9002# Deprecated group/name - [service_user]/auth_plugin
9003#auth_type=<None>
9004
9005# Config Section from which to load plugin specific options (string value)
9006#auth_section=<None>
9007
9008# Authentication URL (string value)
9009#auth_url=<None>
9010
9011# Domain ID to scope to (string value)
9012#domain_id=<None>
9013
9014# Domain name to scope to (string value)
9015#domain_name=<None>
9016
9017# Project ID to scope to (string value)
9018#project_id=<None>
9019
9020# Project name to scope to (string value)
9021#project_name=<None>
9022
9023# Domain ID containing project (string value)
9024#project_domain_id=<None>
9025
9026# Domain name containing project (string value)
9027#project_domain_name=<None>
9028
9029# Trust ID (string value)
9030#trust_id=<None>
9031
9032# Optional domain ID to use with v3 and v2 parameters. It will be used for both
9033# the user and project domain in v3 and ignored in v2 authentication. (string
9034# value)
9035#default_domain_id=<None>
9036
9037# Optional domain name to use with v3 API and v2 parameters. It will be used for
9038# both the user and project domain in v3 and ignored in v2 authentication.
9039# (string value)
9040#default_domain_name=<None>
9041
9042# User ID (string value)
9043#user_id=<None>
9044
9045# Username (string value)
9046# Deprecated group/name - [service_user]/user-name
9047#username=<None>
9048
9049# User's domain id (string value)
9050#user_domain_id=<None>
9051
9052# User's domain name (string value)
9053#user_domain_name=<None>
9054
9055# User's password (string value)
9056#password=<None>
9057
9058# Tenant ID (string value)
9059#tenant_id=<None>
9060
9061# Tenant Name (string value)
9062#tenant_name=<None>
9063
9064
9065[spice]
9066#
9067# SPICE console feature allows you to connect to a guest virtual machine.
9068# SPICE is a replacement for fairly limited VNC protocol.
9069#
9070# Following requirements must be met in order to use SPICE:
9071#
9072# * Virtualization driver must be libvirt
9073# * spice.enabled set to True
9074# * vnc.enabled set to False
9075# * update html5proxy_base_url
9076# * update server_proxyclient_address
9077enabled = false
9078html5proxy_base_url = {{ controller.vncproxy_url }}/spice_auto.html
9079#
9080# From nova.conf
9081#
9082
9083#
9084# Enable SPICE related features.
9085#
9086# Related options:
9087#
9088# * VNC must be explicitly disabled to get access to the SPICE console. Set the
9089# enabled option to False in the [vnc] section to disable the VNC console.
9090# (boolean value)
9091#enabled=false
9092
9093#
9094# Enable the SPICE guest agent support on the instances.
9095#
9096# The Spice agent works with the Spice protocol to offer a better guest console
9097# experience. However, the Spice console can still be used without the Spice
9098# Agent. With the Spice agent installed the following features are enabled:
9099#
9100# * Copy & Paste of text and images between the guest and client machine
9101# * Automatic adjustment of resolution when the client screen changes - e.g.
9102# if you make the Spice console full screen the guest resolution will adjust
9103# to
9104# match it rather than letterboxing.
9105# * Better mouse integration - The mouse can be captured and released without
9106# needing to click inside the console or press keys to release it. The
9107# performance of mouse movement is also improved.
9108# (boolean value)
9109#agent_enabled=true
9110
9111#
9112# Location of the SPICE HTML5 console proxy.
9113#
9114# End user would use this URL to connect to the `nova-spicehtml5proxy``
9115# service. This service will forward request to the console of an instance.
9116#
9117# In order to use SPICE console, the service ``nova-spicehtml5proxy`` should be
9118# running. This service is typically launched on the controller node.
9119#
9120# Possible values:
9121#
9122# * Must be a valid URL of the form: ``http://host:port/spice_auto.html``
9123# where host is the node running ``nova-spicehtml5proxy`` and the port is
9124# typically 6082. Consider not using default value as it is not well defined
9125# for any real deployment.
9126#
9127# Related options:
9128#
9129# * This option depends on ``html5proxy_host`` and ``html5proxy_port`` options.
9130# The access URL returned by the compute node must have the host
9131# and port where the ``nova-spicehtml5proxy`` service is listening.
9132# (uri value)
9133#html5proxy_base_url=http://127.0.0.1:6082/spice_auto.html
9134
9135#
9136# The address where the SPICE server running on the instances should listen.
9137#
9138# Typically, the ``nova-spicehtml5proxy`` proxy client runs on the controller
9139# node and connects over the private network to this address on the compute
9140# node(s).
9141#
9142# Possible values:
9143#
9144# * IP address to listen on.
9145# (string value)
9146#server_listen=127.0.0.1
9147
9148#
9149# The address used by ``nova-spicehtml5proxy`` client to connect to instance
9150# console.
9151#
9152# Typically, the ``nova-spicehtml5proxy`` proxy client runs on the
9153# controller node and connects over the private network to this address on the
9154# compute node(s).
9155#
9156# Possible values:
9157#
9158# * Any valid IP address on the compute node.
9159#
9160# Related options:
9161#
9162# * This option depends on the ``server_listen`` option.
9163# The proxy client must be able to access the address specified in
9164# ``server_listen`` using the value of this option.
9165# (string value)
9166#server_proxyclient_address=127.0.0.1
9167
9168#
9169# A keyboard layout which is supported by the underlying hypervisor on this
9170# node.
9171#
9172# Possible values:
9173# * This is usually an 'IETF language tag' (default is 'en-us'). If you
9174# use QEMU as hypervisor, you should find the list of supported keyboard
9175# layouts at /usr/share/qemu/keymaps.
9176# (string value)
9177#keymap=en-us
9178
9179#
9180# IP address or a hostname on which the ``nova-spicehtml5proxy`` service
9181# listens for incoming requests.
9182#
9183# Related options:
9184#
9185# * This option depends on the ``html5proxy_base_url`` option.
9186# The ``nova-spicehtml5proxy`` service must be listening on a host that is
9187# accessible from the HTML5 client.
9188# (string value)
9189#html5proxy_host=0.0.0.0
9190
9191#
9192# Port on which the ``nova-spicehtml5proxy`` service listens for incoming
9193# requests.
9194#
9195# Related options:
9196#
9197# * This option depends on the ``html5proxy_base_url`` option.
9198# The ``nova-spicehtml5proxy`` service must be listening on a port that is
9199# accessible from the HTML5 client.
9200# (port value)
9201# Minimum value: 0
9202# Maximum value: 65535
9203#html5proxy_port=6082
9204
9205
9206[ssl]
9207
9208#
9209# From nova.conf
9210#
9211
9212# CA certificate file to use to verify connecting clients. (string value)
9213# Deprecated group/name - [DEFAULT]/ssl_ca_file
9214#ca_file=<None>
9215
9216# Certificate file to use when starting the server securely. (string value)
9217# Deprecated group/name - [DEFAULT]/ssl_cert_file
9218#cert_file=<None>
9219
9220# Private key file to use when starting the server securely. (string value)
9221# Deprecated group/name - [DEFAULT]/ssl_key_file
9222#key_file=<None>
9223
9224# SSL version to use (valid only if SSL enabled). Valid values are TLSv1 and
9225# SSLv23. SSLv2, SSLv3, TLSv1_1, and TLSv1_2 may be available on some
9226# distributions. (string value)
9227#version=<None>
9228
9229# Sets the list of available ciphers. value should be a string in the OpenSSL
9230# cipher list format. (string value)
9231#ciphers=<None>
9232
9233
9234[trusted_computing]
9235#
9236# Configuration options for enabling Trusted Platform Module.
9237
9238#
9239# From nova.conf
9240#
9241
9242#
9243# The host to use as the attestation server.
9244#
9245# Cloud computing pools can involve thousands of compute nodes located at
9246# different geographical locations, making it difficult for cloud providers to
9247# identify a node's trustworthiness. When using the Trusted filter, users can
9248# request that their VMs only be placed on nodes that have been verified by the
9249# attestation server specified in this option.
9250#
9251# This option is only used by the FilterScheduler and its subclasses; if you use
9252# a different scheduler, this option has no effect. Also note that this setting
9253# only affects scheduling if the 'TrustedFilter' filter is enabled.
9254#
9255# Possible values:
9256#
9257# * A string representing the host name or IP address of the attestation server,
9258# or an empty string.
9259#
9260# Related options:
9261#
9262# * attestation_server_ca_file
9263# * attestation_port
9264# * attestation_api_url
9265# * attestation_auth_blob
9266# * attestation_auth_timeout
9267# * attestation_insecure_ssl
9268# (string value)
9269#attestation_server=<None>
9270
9271#
9272# The absolute path to the certificate to use for authentication when connecting
9273# to the attestation server. See the `attestation_server` help text for more
9274# information about host verification.
9275#
9276# This option is only used by the FilterScheduler and its subclasses; if you use
9277# a different scheduler, this option has no effect. Also note that this setting
9278# only affects scheduling if the 'TrustedFilter' filter is enabled.
9279#
9280# Possible values:
9281#
9282# * A string representing the path to the authentication certificate for the
9283# attestation server, or an empty string.
9284#
9285# Related options:
9286#
9287# * attestation_server
9288# * attestation_port
9289# * attestation_api_url
9290# * attestation_auth_blob
9291# * attestation_auth_timeout
9292# * attestation_insecure_ssl
9293# (string value)
9294#attestation_server_ca_file=<None>
9295
9296#
9297# The port to use when connecting to the attestation server. See the
9298# `attestation_server` help text for more information about host verification.
9299#
9300# This option is only used by the FilterScheduler and its subclasses; if you use
9301# a different scheduler, this option has no effect. Also note that this setting
9302# only affects scheduling if the 'TrustedFilter' filter is enabled.
9303#
9304# Related options:
9305#
9306# * attestation_server
9307# * attestation_server_ca_file
9308# * attestation_api_url
9309# * attestation_auth_blob
9310# * attestation_auth_timeout
9311# * attestation_insecure_ssl
9312# (port value)
9313# Minimum value: 0
9314# Maximum value: 65535
9315#attestation_port=8443
9316
9317#
9318# The URL on the attestation server to use. See the `attestation_server` help
9319# text for more information about host verification.
9320#
9321# This value must be just that path portion of the full URL, as it will be
9322# joined
9323# to the host specified in the attestation_server option.
9324#
9325# This option is only used by the FilterScheduler and its subclasses; if you use
9326# a different scheduler, this option has no effect. Also note that this setting
9327# only affects scheduling if the 'TrustedFilter' filter is enabled.
9328#
9329# Possible values:
9330#
9331# * A valid URL string of the attestation server, or an empty string.
9332#
9333# Related options:
9334#
9335# * attestation_server
9336# * attestation_server_ca_file
9337# * attestation_port
9338# * attestation_auth_blob
9339# * attestation_auth_timeout
9340# * attestation_insecure_ssl
9341# (string value)
9342#attestation_api_url=/OpenAttestationWebServices/V1.0
9343
9344#
9345# Attestation servers require a specific blob that is used to authenticate. The
9346# content and format of the blob are determined by the particular attestation
9347# server being used. There is no default value; you must supply the value as
9348# specified by your attestation service. See the `attestation_server` help text
9349# for more information about host verification.
9350#
9351# This option is only used by the FilterScheduler and its subclasses; if you use
9352# a different scheduler, this option has no effect. Also note that this setting
9353# only affects scheduling if the 'TrustedFilter' filter is enabled.
9354#
9355# Possible values:
9356#
9357# * A string containing the specific blob required by the attestation server, or
9358# an empty string.
9359#
9360# Related options:
9361#
9362# * attestation_server
9363# * attestation_server_ca_file
9364# * attestation_port
9365# * attestation_api_url
9366# * attestation_auth_timeout
9367# * attestation_insecure_ssl
9368# (string value)
9369#attestation_auth_blob=<None>
9370
9371#
9372# This value controls how long a successful attestation is cached. Once this
9373# period has elapsed, a new attestation request will be made. See the
9374# `attestation_server` help text for more information about host verification.
9375#
9376# This option is only used by the FilterScheduler and its subclasses; if you use
9377# a different scheduler, this option has no effect. Also note that this setting
9378# only affects scheduling if the 'TrustedFilter' filter is enabled.
9379#
9380# Possible values:
9381#
9382# * A integer value, corresponding to the timeout interval for attestations in
9383# seconds. Any integer is valid, although setting this to zero or negative
9384# values can greatly impact performance when using an attestation service.
9385#
9386# Related options:
9387#
9388# * attestation_server
9389# * attestation_server_ca_file
9390# * attestation_port
9391# * attestation_api_url
9392# * attestation_auth_blob
9393# * attestation_insecure_ssl
9394# (integer value)
9395#attestation_auth_timeout=60
9396
9397#
9398# When set to True, the SSL certificate verification is skipped for the
9399# attestation service. See the `attestation_server` help text for more
9400# information about host verification.
9401#
9402# This option is only used by the FilterScheduler and its subclasses; if you use
9403# a different scheduler, this option has no effect. Also note that this setting
9404# only affects scheduling if the 'TrustedFilter' filter is enabled.
9405#
9406# Related options:
9407#
9408# * attestation_server
9409# * attestation_server_ca_file
9410# * attestation_port
9411# * attestation_api_url
9412# * attestation_auth_blob
9413# * attestation_auth_timeout
9414# (boolean value)
9415#attestation_insecure_ssl=false
9416
9417
9418[upgrade_levels]
Dmitry Stremkovskiy91f45852017-07-18 16:22:31 +03009419{%- if controller.upgrade_levels is defined %}
9420{%- for key, value in controller.upgrade_levels.iteritems() %}
9421{{ key }}={{ value }}
9422{%- endfor %}
Dmitry Stremkovskiyf82fc732017-07-27 16:27:34 +03009423{%- endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +02009424#
9425# upgrade_levels options are used to set version cap for RPC
9426# messages sent between different nova services.
9427#
9428# By default all services send messages using the latest version
9429# they know about.
9430#
9431# The compute upgrade level is an important part of rolling upgrades
9432# where old and new nova-compute services run side by side.
9433#
9434# The other options can largely be ignored, and are only kept to
9435# help with a possible future backport issue.
9436
9437#
9438# From nova.conf
9439#
9440
9441#
9442# Compute RPC API version cap.
9443#
9444# By default, we always send messages using the most recent version
9445# the client knows about.
9446#
9447# Where you have old and new compute services running, you should set
9448# this to the lowest deployed version. This is to guarantee that all
9449# services never send messages that one of the compute nodes can't
9450# understand. Note that we only support upgrading from release N to
9451# release N+1.
9452#
9453# Set this option to "auto" if you want to let the compute RPC module
9454# automatically determine what version to use based on the service
9455# versions in the deployment.
9456#
9457# Possible values:
9458#
9459# * By default send the latest version the client knows about
9460# * 'auto': Automatically determines what version to use based on
9461# the service versions in the deployment.
9462# * A string representing a version number in the format 'N.N';
9463# for example, possible values might be '1.12' or '2.0'.
9464# * An OpenStack release name, in lower case, such as 'mitaka' or
9465# 'liberty'.
9466# (string value)
9467#compute=<None>
9468
9469# Cells RPC API version cap (string value)
9470#cells=<None>
9471
9472# Intercell RPC API version cap (string value)
9473#intercell=<None>
9474
9475# Cert RPC API version cap (string value)
9476#cert=<None>
9477
9478# Scheduler RPC API version cap (string value)
9479#scheduler=<None>
9480
9481# Conductor RPC API version cap (string value)
9482#conductor=<None>
9483
9484# Console RPC API version cap (string value)
9485#console=<None>
9486
9487# Consoleauth RPC API version cap (string value)
9488#consoleauth=<None>
9489
9490# Network RPC API version cap (string value)
9491#network=<None>
9492
9493# Base API RPC API version cap (string value)
9494#baseapi=<None>
9495
9496
9497[vendordata_dynamic_auth]
9498#
9499# Options within this group control the authentication of the vendordata
9500# subsystem of the metadata API server (and config drive) with external systems.
9501
9502#
9503# From nova.conf
9504#
9505
9506# PEM encoded Certificate Authority to use when verifying HTTPs connections.
9507# (string value)
9508#cafile=<None>
9509
9510# PEM encoded client certificate cert file (string value)
9511#certfile=<None>
9512
9513# PEM encoded client certificate key file (string value)
9514#keyfile=<None>
9515
9516# Verify HTTPS connections. (boolean value)
9517#insecure=false
9518
9519# Timeout value for http requests (integer value)
9520#timeout=<None>
9521
9522# Authentication type to load (string value)
9523# Deprecated group/name - [vendordata_dynamic_auth]/auth_plugin
9524#auth_type=<None>
9525
9526# Config Section from which to load plugin specific options (string value)
9527#auth_section=<None>
9528
9529# Authentication URL (string value)
9530#auth_url=<None>
9531
9532# Domain ID to scope to (string value)
9533#domain_id=<None>
9534
9535# Domain name to scope to (string value)
9536#domain_name=<None>
9537
9538# Project ID to scope to (string value)
9539#project_id=<None>
9540
9541# Project name to scope to (string value)
9542#project_name=<None>
9543
9544# Domain ID containing project (string value)
9545#project_domain_id=<None>
9546
9547# Domain name containing project (string value)
9548#project_domain_name=<None>
9549
9550# Trust ID (string value)
9551#trust_id=<None>
9552
9553# Optional domain ID to use with v3 and v2 parameters. It will be used for both
9554# the user and project domain in v3 and ignored in v2 authentication. (string
9555# value)
9556#default_domain_id=<None>
9557
9558# Optional domain name to use with v3 API and v2 parameters. It will be used for
9559# both the user and project domain in v3 and ignored in v2 authentication.
9560# (string value)
9561#default_domain_name=<None>
9562
9563# User ID (string value)
9564#user_id=<None>
9565
9566# Username (string value)
9567# Deprecated group/name - [vendordata_dynamic_auth]/user-name
9568#username=<None>
9569
9570# User's domain id (string value)
9571#user_domain_id=<None>
9572
9573# User's domain name (string value)
9574#user_domain_name=<None>
9575
9576# User's password (string value)
9577#password=<None>
9578
9579# Tenant ID (string value)
9580#tenant_id=<None>
9581
9582# Tenant Name (string value)
9583#tenant_name=<None>
9584
9585
9586[vmware]
9587#
9588# Related options:
9589# Following options must be set in order to launch VMware-based
9590# virtual machines.
9591#
9592# * compute_driver: Must use vmwareapi.VMwareVCDriver.
9593# * vmware.host_username
9594# * vmware.host_password
9595# * vmware.cluster_name
9596
9597#
9598# From nova.conf
9599#
9600
9601#
9602# This option specifies the physical ethernet adapter name for VLAN
9603# networking.
9604#
9605# Set the vlan_interface configuration option to match the ESX host
9606# interface that handles VLAN-tagged VM traffic.
9607#
9608# Possible values:
9609#
9610# * Any valid string representing VLAN interface name
9611# (string value)
9612#vlan_interface=vmnic0
9613
9614#
9615# This option should be configured only when using the NSX-MH Neutron
9616# plugin. This is the name of the integration bridge on the ESXi server
9617# or host. This should not be set for any other Neutron plugin. Hence
9618# the default value is not set.
9619#
9620# Possible values:
9621#
9622# * Any valid string representing the name of the integration bridge
9623# (string value)
9624#integration_bridge=<None>
9625
9626#
9627# Set this value if affected by an increased network latency causing
9628# repeated characters when typing in a remote console.
9629# (integer value)
9630# Minimum value: 0
9631#console_delay_seconds=<None>
9632
9633#
9634# Identifies the remote system where the serial port traffic will
9635# be sent.
9636#
9637# This option adds a virtual serial port which sends console output to
9638# a configurable service URI. At the service URI address there will be
9639# virtual serial port concentrator that will collect console logs.
9640# If this is not set, no serial ports will be added to the created VMs.
9641#
9642# Possible values:
9643#
9644# * Any valid URI
9645# (string value)
9646#serial_port_service_uri=<None>
9647
9648#
9649# Identifies a proxy service that provides network access to the
9650# serial_port_service_uri.
9651#
9652# Possible values:
9653#
9654# * Any valid URI
9655#
9656# Related options:
9657# This option is ignored if serial_port_service_uri is not specified.
9658# * serial_port_service_uri
9659# (string value)
9660#serial_port_proxy_uri=<None>
9661
9662#
9663# Hostname or IP address for connection to VMware vCenter host. (string value)
9664#host_ip=<None>
9665
9666# Port for connection to VMware vCenter host. (port value)
9667# Minimum value: 0
9668# Maximum value: 65535
9669#host_port=443
9670
9671# Username for connection to VMware vCenter host. (string value)
9672#host_username=<None>
9673
9674# Password for connection to VMware vCenter host. (string value)
9675#host_password=<None>
9676
9677#
9678# Specifies the CA bundle file to be used in verifying the vCenter
9679# server certificate.
9680# (string value)
9681#ca_file=<None>
9682
9683#
9684# If true, the vCenter server certificate is not verified. If false,
9685# then the default CA truststore is used for verification.
9686#
9687# Related options:
9688# * ca_file: This option is ignored if "ca_file" is set.
9689# (boolean value)
9690#insecure=false
9691
9692# Name of a VMware Cluster ComputeResource. (string value)
9693#cluster_name=<None>
9694
9695#
9696# Regular expression pattern to match the name of datastore.
9697#
9698# The datastore_regex setting specifies the datastores to use with
9699# Compute. For example, datastore_regex="nas.*" selects all the data
9700# stores that have a name starting with "nas".
9701#
9702# NOTE: If no regex is given, it just picks the datastore with the
9703# most freespace.
9704#
9705# Possible values:
9706#
9707# * Any matching regular expression to a datastore must be given
9708# (string value)
9709#datastore_regex=<None>
9710
9711#
9712# Time interval in seconds to poll remote tasks invoked on
9713# VMware VC server.
9714# (floating point value)
9715#task_poll_interval=0.5
9716
9717#
9718# Number of times VMware vCenter server API must be retried on connection
9719# failures, e.g. socket error, etc.
9720# (integer value)
9721# Minimum value: 0
9722#api_retry_count=10
9723
9724#
9725# This option specifies VNC starting port.
9726#
9727# Every VM created by ESX host has an option of enabling VNC client
9728# for remote connection. Above option 'vnc_port' helps you to set
9729# default starting port for the VNC client.
9730#
9731# Possible values:
9732#
9733# * Any valid port number within 5900 -(5900 + vnc_port_total)
9734#
9735# Related options:
9736# Below options should be set to enable VNC client.
9737# * vnc.enabled = True
9738# * vnc_port_total
9739# (port value)
9740# Minimum value: 0
9741# Maximum value: 65535
9742#vnc_port=5900
9743
9744#
9745# Total number of VNC ports.
9746# (integer value)
9747# Minimum value: 0
9748#vnc_port_total=10000
9749
9750#
9751# This option enables/disables the use of linked clone.
9752#
9753# The ESX hypervisor requires a copy of the VMDK file in order to boot
9754# up a virtual machine. The compute driver must download the VMDK via
9755# HTTP from the OpenStack Image service to a datastore that is visible
9756# to the hypervisor and cache it. Subsequent virtual machines that need
9757# the VMDK use the cached version and don't have to copy the file again
9758# from the OpenStack Image service.
9759#
9760# If set to false, even with a cached VMDK, there is still a copy
9761# operation from the cache location to the hypervisor file directory
9762# in the shared datastore. If set to true, the above copy operation
9763# is avoided as it creates copy of the virtual machine that shares
9764# virtual disks with its parent VM.
9765# (boolean value)
9766#use_linked_clone=true
9767
9768# DEPRECATED:
9769# This option specifies VIM Service WSDL Location
9770#
9771# If vSphere API versions 5.1 and later is being used, this section can
9772# be ignored. If version is less than 5.1, WSDL files must be hosted
9773# locally and their location must be specified in the above section.
9774#
9775# Optional over-ride to default location for bug work-arounds.
9776#
9777# Possible values:
9778#
9779# * http://<server>/vimService.wsdl
9780# * file:///opt/stack/vmware/SDK/wsdl/vim25/vimService.wsdl
9781# (string value)
9782# This option is deprecated for removal since 15.0.0.
9783# Its value may be silently ignored in the future.
9784# Reason: Only vCenter versions earlier than 5.1 require this option and the
9785# current minimum version is 5.1.
9786#wsdl_location=<None>
9787
9788#
9789# This option enables or disables storage policy based placement
9790# of instances.
9791#
9792# Related options:
9793#
9794# * pbm_default_policy
9795# (boolean value)
9796#pbm_enabled=false
9797
9798#
9799# This option specifies the PBM service WSDL file location URL.
9800#
9801# Setting this will disable storage policy based placement
9802# of instances.
9803#
9804# Possible values:
9805#
9806# * Any valid file path
9807# e.g file:///opt/SDK/spbm/wsdl/pbmService.wsdl
9808# (string value)
9809#pbm_wsdl_location=<None>
9810
9811#
9812# This option specifies the default policy to be used.
9813#
9814# If pbm_enabled is set and there is no defined storage policy for the
9815# specific request, then this policy will be used.
9816#
9817# Possible values:
9818#
9819# * Any valid storage policy such as VSAN default storage policy
9820#
9821# Related options:
9822#
9823# * pbm_enabled
9824# (string value)
9825#pbm_default_policy=<None>
9826
9827#
9828# This option specifies the limit on the maximum number of objects to
9829# return in a single result.
9830#
9831# A positive value will cause the operation to suspend the retrieval
9832# when the count of objects reaches the specified limit. The server may
9833# still limit the count to something less than the configured value.
9834# Any remaining objects may be retrieved with additional requests.
9835# (integer value)
9836# Minimum value: 0
9837#maximum_objects=100
9838
9839#
9840# This option adds a prefix to the folder where cached images are stored
9841#
9842# This is not the full path - just a folder prefix. This should only be
9843# used when a datastore cache is shared between compute nodes.
9844#
9845# Note: This should only be used when the compute nodes are running on same
9846# host or they have a shared file system.
9847#
9848# Possible values:
9849#
9850# * Any string representing the cache prefix to the folder
9851# (string value)
9852#cache_prefix=<None>
9853
9854
9855[vnc]
9856#
9857# Virtual Network Computer (VNC) can be used to provide remote desktop
9858# console access to instances for tenants and/or administrators.
9859
9860#
9861# From nova.conf
9862#
9863
9864#
9865# Enable VNC related features.
9866#
9867# Guests will get created with graphical devices to support this. Clients
9868# (for example Horizon) can then establish a VNC connection to the guest.
9869# (boolean value)
9870# Deprecated group/name - [DEFAULT]/vnc_enabled
9871#enabled=true
9872enabled=true
9873
9874#
9875# Keymap for VNC.
9876#
9877# The keyboard mapping (keymap) determines which keyboard layout a VNC
9878# session should use by default.
9879#
9880# Possible values:
9881#
9882# * A keyboard layout which is supported by the underlying hypervisor on
9883# this node. This is usually an 'IETF language tag' (for example
9884# 'en-us'). If you use QEMU as hypervisor, you should find the list
9885# of supported keyboard layouts at ``/usr/share/qemu/keymaps``.
9886# (string value)
9887# Deprecated group/name - [DEFAULT]/vnc_keymap
9888#keymap=en-us
9889
9890#
9891# The IP address or hostname on which an instance should listen to for
9892# incoming VNC connection requests on this node.
9893# (string value)
9894# Deprecated group/name - [DEFAULT]/vncserver_listen
9895#vncserver_listen=127.0.0.1
9896
9897#
9898# Private, internal IP address or hostname of VNC console proxy.
9899#
9900# The VNC proxy is an OpenStack component that enables compute service
9901# users to access their instances through VNC clients.
9902#
9903# This option sets the private address to which proxy clients, such as
9904# ``nova-xvpvncproxy``, should connect to.
9905# (string value)
9906# Deprecated group/name - [DEFAULT]/vncserver_proxyclient_address
9907#vncserver_proxyclient_address=127.0.0.1
9908
9909#
9910# Public address of noVNC VNC console proxy.
9911#
9912# The VNC proxy is an OpenStack component that enables compute service
9913# users to access their instances through VNC clients. noVNC provides
9914# VNC support through a websocket-based client.
9915#
9916# This option sets the public base URL to which client systems will
9917# connect. noVNC clients can use this address to connect to the noVNC
9918# instance and, by extension, the VNC sessions.
9919#
9920# Related options:
9921#
9922# * novncproxy_host
9923# * novncproxy_port
9924# (uri value)
9925# Deprecated group/name - [DEFAULT]/novncproxy_base_url
9926#novncproxy_base_url=http://127.0.0.1:6080/vnc_auto.html
9927enabled = true
9928novncproxy_host = {{ controller.bind.get('novncproxy_address', '0.0.0.0') }}
9929novncproxy_base_url = {{ controller.vncproxy_url }}/vnc_auto.html
9930novncproxy_port={{ controller.bind.get('vncproxy_port', '6080') }}
9931{%- if pillar.nova.compute is defined %}
9932vncserver_listen={{ controller.bind.private_address }}
9933vncserver_proxyclient_address={{ controller.bind.private_address }}
9934{%- else %}
9935vncserver_listen={{ controller.bind.get('novncproxy_address', '0.0.0.0') }}
9936{%- endif %}
9937keymap = {{ controller.get('vnc_keymap', 'en-us') }}
9938
9939#
9940# IP address or hostname that the XVP VNC console proxy should bind to.
9941#
9942# The VNC proxy is an OpenStack component that enables compute service
9943# users to access their instances through VNC clients. Xen provides
9944# the Xenserver VNC Proxy, or XVP, as an alternative to the
9945# websocket-based noVNC proxy used by Libvirt. In contrast to noVNC,
9946# XVP clients are Java-based.
9947#
9948# This option sets the private address to which the XVP VNC console proxy
9949# service should bind to.
9950#
9951# Related options:
9952#
9953# * xvpvncproxy_port
9954# * xvpvncproxy_base_url
9955# (string value)
9956# Deprecated group/name - [DEFAULT]/xvpvncproxy_host
9957#xvpvncproxy_host=0.0.0.0
9958
9959#
9960# Port that the XVP VNC console proxy should bind to.
9961#
9962# The VNC proxy is an OpenStack component that enables compute service
9963# users to access their instances through VNC clients. Xen provides
9964# the Xenserver VNC Proxy, or XVP, as an alternative to the
9965# websocket-based noVNC proxy used by Libvirt. In contrast to noVNC,
9966# XVP clients are Java-based.
9967#
9968# This option sets the private port to which the XVP VNC console proxy
9969# service should bind to.
9970#
9971# Related options:
9972#
9973# * xvpvncproxy_host
9974# * xvpvncproxy_base_url
9975# (port value)
9976# Minimum value: 0
9977# Maximum value: 65535
9978# Deprecated group/name - [DEFAULT]/xvpvncproxy_port
9979#xvpvncproxy_port=6081
9980
9981#
9982# Public URL address of XVP VNC console proxy.
9983#
9984# The VNC proxy is an OpenStack component that enables compute service
9985# users to access their instances through VNC clients. Xen provides
9986# the Xenserver VNC Proxy, or XVP, as an alternative to the
9987# websocket-based noVNC proxy used by Libvirt. In contrast to noVNC,
9988# XVP clients are Java-based.
9989#
9990# This option sets the public base URL to which client systems will
9991# connect. XVP clients can use this address to connect to the XVP
9992# instance and, by extension, the VNC sessions.
9993#
9994# Related options:
9995#
9996# * xvpvncproxy_host
9997# * xvpvncproxy_port
9998# (uri value)
9999# Deprecated group/name - [DEFAULT]/xvpvncproxy_base_url
10000#xvpvncproxy_base_url=http://127.0.0.1:6081/console
10001
10002#
10003# IP address that the noVNC console proxy should bind to.
10004#
10005# The VNC proxy is an OpenStack component that enables compute service
10006# users to access their instances through VNC clients. noVNC provides
10007# VNC support through a websocket-based client.
10008#
10009# This option sets the private address to which the noVNC console proxy
10010# service should bind to.
10011#
10012# Related options:
10013#
10014# * novncproxy_port
10015# * novncproxy_base_url
10016# (string value)
10017# Deprecated group/name - [DEFAULT]/novncproxy_host
10018#novncproxy_host=0.0.0.0
10019
10020#
10021# Port that the noVNC console proxy should bind to.
10022#
10023# The VNC proxy is an OpenStack component that enables compute service
10024# users to access their instances through VNC clients. noVNC provides
10025# VNC support through a websocket-based client.
10026#
10027# This option sets the private port to which the noVNC console proxy
10028# service should bind to.
10029#
10030# Related options:
10031#
10032# * novncproxy_host
10033# * novncproxy_base_url
10034# (port value)
10035# Minimum value: 0
10036# Maximum value: 65535
10037# Deprecated group/name - [DEFAULT]/novncproxy_port
10038#novncproxy_port=6080
10039
10040
10041[workarounds]
10042#
10043# A collection of workarounds used to mitigate bugs or issues found in system
10044# tools (e.g. Libvirt or QEMU) or Nova itself under certain conditions. These
10045# should only be enabled in exceptional circumstances. All options are linked
10046# against bug IDs, where more information on the issue can be found.
10047
10048#
10049# From nova.conf
10050#
10051
10052#
10053# Use sudo instead of rootwrap.
10054#
10055# Allow fallback to sudo for performance reasons.
10056#
10057# For more information, refer to the bug report:
10058#
10059# https://bugs.launchpad.net/nova/+bug/1415106
10060#
10061# Possible values:
10062#
10063# * True: Use sudo instead of rootwrap
10064# * False: Use rootwrap as usual
10065#
10066# Interdependencies to other options:
10067#
10068# * Any options that affect 'rootwrap' will be ignored.
10069# (boolean value)
10070#disable_rootwrap=false
10071
10072#
10073# Disable live snapshots when using the libvirt driver.
10074#
10075# Live snapshots allow the snapshot of the disk to happen without an
10076# interruption to the guest, using coordination with a guest agent to
10077# quiesce the filesystem.
10078#
10079# When using libvirt 1.2.2 live snapshots fail intermittently under load
10080# (likely related to concurrent libvirt/qemu operations). This config
10081# option provides a mechanism to disable live snapshot, in favor of cold
10082# snapshot, while this is resolved. Cold snapshot causes an instance
10083# outage while the guest is going through the snapshotting process.
10084#
10085# For more information, refer to the bug report:
10086#
10087# https://bugs.launchpad.net/nova/+bug/1334398
10088#
10089# Possible values:
10090#
10091# * True: Live snapshot is disabled when using libvirt
10092# * False: Live snapshots are always used when snapshotting (as long as
10093# there is a new enough libvirt and the backend storage supports it)
10094# (boolean value)
10095#disable_libvirt_livesnapshot=true
10096
10097#
10098# Enable handling of events emitted from compute drivers.
10099#
10100# Many compute drivers emit lifecycle events, which are events that occur when,
10101# for example, an instance is starting or stopping. If the instance is going
10102# through task state changes due to an API operation, like resize, the events
10103# are ignored.
10104#
10105# This is an advanced feature which allows the hypervisor to signal to the
10106# compute service that an unexpected state change has occurred in an instance
10107# and that the instance can be shutdown automatically. Unfortunately, this can
10108# race in some conditions, for example in reboot operations or when the compute
10109# service or when host is rebooted (planned or due to an outage). If such races
10110# are common, then it is advisable to disable this feature.
10111#
10112# Care should be taken when this feature is disabled and
10113# 'sync_power_state_interval' is set to a negative value. In this case, any
10114# instances that get out of sync between the hypervisor and the Nova database
10115# will have to be synchronized manually.
10116#
10117# For more information, refer to the bug report:
10118#
10119# https://bugs.launchpad.net/bugs/1444630
10120#
10121# Interdependencies to other options:
10122#
10123# * If ``sync_power_state_interval`` is negative and this feature is disabled,
10124# then instances that get out of sync between the hypervisor and the Nova
10125# database will have to be synchronized manually.
10126# (boolean value)
10127#handle_virt_lifecycle_events=true
10128
10129
10130[wsgi]
10131#
10132# Options under this group are used to configure WSGI (Web Server Gateway
10133# Interface). WSGI is used to serve API requests.
10134
10135#
10136# From nova.conf
10137#
10138
10139#
10140# This option represents a file name for the paste.deploy config for nova-api.
10141#
10142# Possible values:
10143#
10144# * A string representing file name for the paste.deploy config.
10145# (string value)
10146# Deprecated group/name - [DEFAULT]/api_paste_config
10147api_paste_config=/etc/nova/api-paste.ini
10148
10149#
10150# It represents a python format string that is used as the template to generate
10151# log lines. The following values can be formatted into it: client_ip,
10152# date_time, request_line, status_code, body_length, wall_seconds.
10153#
10154# This option is used for building custom request loglines.
10155#
10156# Possible values:
10157#
10158# * '%(client_ip)s "%(request_line)s" status: %(status_code)s'
10159# 'len: %(body_length)s time: %(wall_seconds).7f' (default)
10160# * Any formatted string formed by specific values.
10161# (string value)
10162# Deprecated group/name - [DEFAULT]/wsgi_log_format
10163#wsgi_log_format=%(client_ip)s "%(request_line)s" status: %(status_code)s len: %(body_length)s time: %(wall_seconds).7f
10164
10165#
10166# This option specifies the HTTP header used to determine the protocol scheme
10167# for the original request, even if it was removed by a SSL terminating proxy.
10168#
10169# Possible values:
10170#
10171# * None (default) - the request scheme is not influenced by any HTTP headers.
10172# * Valid HTTP header, like HTTP_X_FORWARDED_PROTO
10173# (string value)
10174# Deprecated group/name - [DEFAULT]/secure_proxy_ssl_header
10175#secure_proxy_ssl_header=<None>
10176
10177#
10178# This option allows setting path to the CA certificate file that should be used
10179# to verify connecting clients.
10180#
10181# Possible values:
10182#
10183# * String representing path to the CA certificate file.
10184#
10185# Related options:
10186#
10187# * enabled_ssl_apis
10188# (string value)
10189# Deprecated group/name - [DEFAULT]/ssl_ca_file
10190#ssl_ca_file=<None>
10191
10192#
10193# This option allows setting path to the SSL certificate of API server.
10194#
10195# Possible values:
10196#
10197# * String representing path to the SSL certificate.
10198#
10199# Related options:
10200#
10201# * enabled_ssl_apis
10202# (string value)
10203# Deprecated group/name - [DEFAULT]/ssl_cert_file
10204#ssl_cert_file=<None>
10205
10206#
10207# This option specifies the path to the file where SSL private key of API
10208# server is stored when SSL is in effect.
10209#
10210# Possible values:
10211#
10212# * String representing path to the SSL private key.
10213#
10214# Related options:
10215#
10216# * enabled_ssl_apis
10217# (string value)
10218# Deprecated group/name - [DEFAULT]/ssl_key_file
10219#ssl_key_file=<None>
10220
10221#
10222# This option sets the value of TCP_KEEPIDLE in seconds for each server socket.
10223# It specifies the duration of time to keep connection active. TCP generates a
10224# KEEPALIVE transmission for an application that requests to keep connection
10225# active. Not supported on OS X.
10226#
10227# Related options:
10228#
10229# * keep_alive
10230# (integer value)
10231# Minimum value: 0
10232# Deprecated group/name - [DEFAULT]/tcp_keepidle
10233#tcp_keepidle=600
10234
10235#
10236# This option specifies the size of the pool of greenthreads used by wsgi.
10237# It is possible to limit the number of concurrent connections using this
10238# option.
10239# (integer value)
10240# Minimum value: 0
10241# Deprecated group/name - [DEFAULT]/wsgi_default_pool_size
10242#default_pool_size=1000
10243
10244#
10245# This option specifies the maximum line size of message headers to be accepted.
10246# max_header_line may need to be increased when using large tokens (typically
10247# those generated by the Keystone v3 API with big service catalogs).
10248#
10249# Since TCP is a stream based protocol, in order to reuse a connection, the HTTP
10250# has to have a way to indicate the end of the previous response and beginning
10251# of the next. Hence, in a keep_alive case, all messages must have a
10252# self-defined message length.
10253# (integer value)
10254# Minimum value: 0
10255# Deprecated group/name - [DEFAULT]/max_header_line
10256#max_header_line=16384
10257
10258#
10259# This option allows using the same TCP connection to send and receive multiple
10260# HTTP requests/responses, as opposed to opening a new one for every single
10261# request/response pair. HTTP keep-alive indicates HTTP connection reuse.
10262#
10263# Possible values:
10264#
10265# * True : reuse HTTP connection.
10266# * False : closes the client socket connection explicitly.
10267#
10268# Related options:
10269#
10270# * tcp_keepidle
10271# (boolean value)
10272# Deprecated group/name - [DEFAULT]/wsgi_keep_alive
10273#keep_alive=true
10274
10275#
10276# This option specifies the timeout for client connections' socket operations.
10277# If an incoming connection is idle for this number of seconds it will be
10278# closed. It indicates timeout on individual read/writes on the socket
10279# connection. To wait forever set to 0.
10280# (integer value)
10281# Minimum value: 0
10282# Deprecated group/name - [DEFAULT]/client_socket_timeout
10283#client_socket_timeout=900
10284
10285
10286[xenserver]
10287#
10288# XenServer options are used when the compute_driver is set to use
10289# XenServer (compute_driver=xenapi.XenAPIDriver).
10290#
10291# Must specify connection_url, connection_password and ovs_integration_bridge to
10292# use compute_driver=xenapi.XenAPIDriver.
10293
10294#
10295# From nova.conf
10296#
10297
10298#
10299# Number of seconds to wait for agent's reply to a request.
10300#
10301# Nova configures/performs certain administrative actions on a server with the
10302# help of an agent that's installed on the server. The communication between
10303# Nova and the agent is achieved via sharing messages, called records, over
10304# xenstore, a shared storage across all the domains on a Xenserver host.
10305# Operations performed by the agent on behalf of nova are: 'version','
10306# key_init',
10307# 'password','resetnetwork','inject_file', and 'agentupdate'.
10308#
10309# To perform one of the above operations, the xapi 'agent' plugin writes the
10310# command and its associated parameters to a certain location known to the
10311# domain
10312# and awaits response. On being notified of the message, the agent performs
10313# appropriate actions on the server and writes the result back to xenstore. This
10314# result is then read by the xapi 'agent' plugin to determine the
10315# success/failure
10316# of the operation.
10317#
10318# This config option determines how long the xapi 'agent' plugin shall wait to
10319# read the response off of xenstore for a given request/command. If the agent on
10320# the instance fails to write the result in this time period, the operation is
10321# considered to have timed out.
10322#
10323# Related options:
10324#
10325# * ``agent_version_timeout``
10326# * ``agent_resetnetwork_timeout``
10327#
10328# (integer value)
10329# Minimum value: 0
10330#agent_timeout=30
10331
10332#
10333# Number of seconds to wait for agent't reply to version request.
10334#
10335# This indicates the amount of time xapi 'agent' plugin waits for the agent to
10336# respond to the 'version' request specifically. The generic timeout for agent
10337# communication ``agent_timeout`` is ignored in this case.
10338#
10339# During the build process the 'version' request is used to determine if the
10340# agent is available/operational to perform other requests such as
10341# 'resetnetwork', 'password', 'key_init' and 'inject_file'. If the 'version'
10342# call
10343# fails, the other configuration is skipped. So, this configuration option can
10344# also be interpreted as time in which agent is expected to be fully
10345# operational.
10346# (integer value)
10347# Minimum value: 0
10348#agent_version_timeout=300
10349
10350#
10351# Number of seconds to wait for agent's reply to resetnetwork
10352# request.
10353#
10354# This indicates the amount of time xapi 'agent' plugin waits for the agent to
10355# respond to the 'resetnetwork' request specifically. The generic timeout for
10356# agent communication ``agent_timeout`` is ignored in this case.
10357# (integer value)
10358# Minimum value: 0
10359#agent_resetnetwork_timeout=60
10360
10361#
10362# Path to locate guest agent on the server.
10363#
10364# Specifies the path in which the XenAPI guest agent should be located. If the
10365# agent is present, network configuration is not injected into the image.
10366#
10367# Related options:
10368#
10369# For this option to have an effect:
10370# * ``flat_injected`` should be set to ``True``
10371# * ``compute_driver`` should be set to ``xenapi.XenAPIDriver``
10372#
10373# (string value)
10374#agent_path=usr/sbin/xe-update-networking
10375
10376#
10377# Disables the use of XenAPI agent.
10378#
10379# This configuration option suggests whether the use of agent should be enabled
10380# or not regardless of what image properties are present. Image properties have
10381# an effect only when this is set to ``True``. Read description of config option
10382# ``use_agent_default`` for more information.
10383#
10384# Related options:
10385#
10386# * ``use_agent_default``
10387#
10388# (boolean value)
10389#disable_agent=false
10390
10391#
10392# Whether or not to use the agent by default when its usage is enabled but not
10393# indicated by the image.
10394#
10395# The use of XenAPI agent can be disabled altogether using the configuration
10396# option ``disable_agent``. However, if it is not disabled, the use of an agent
10397# can still be controlled by the image in use through one of its properties,
10398# ``xenapi_use_agent``. If this property is either not present or specified
10399# incorrectly on the image, the use of agent is determined by this configuration
10400# option.
10401#
10402# Note that if this configuration is set to ``True`` when the agent is not
10403# present, the boot times will increase significantly.
10404#
10405# Related options:
10406#
10407# * ``disable_agent``
10408#
10409# (boolean value)
10410#use_agent_default=false
10411
10412# Timeout in seconds for XenAPI login. (integer value)
10413# Minimum value: 0
10414#login_timeout=10
10415
10416#
10417# Maximum number of concurrent XenAPI connections.
10418#
10419# In nova, multiple XenAPI requests can happen at a time.
10420# Configuring this option will parallelize access to the XenAPI
10421# session, which allows you to make concurrent XenAPI connections.
10422# (integer value)
10423# Minimum value: 1
10424#connection_concurrent=5
10425
10426# DEPRECATED:
10427# Base URL for torrent files; must contain a slash character (see RFC 1808,
10428# step 6).
10429# (string value)
10430# This option is deprecated for removal since 15.0.0.
10431# Its value may be silently ignored in the future.
10432# Reason:
10433# The torrent feature has not been tested nor maintained, and as such is being
10434# removed.
10435#torrent_base_url=<None>
10436
10437# DEPRECATED: Probability that peer will become a seeder (1.0 = 100%) (floating
10438# point value)
10439# Minimum value: 0
10440# This option is deprecated for removal since 15.0.0.
10441# Its value may be silently ignored in the future.
10442# Reason:
10443# The torrent feature has not been tested nor maintained, and as such is being
10444# removed.
10445#torrent_seed_chance=1.0
10446
10447# DEPRECATED:
10448# Number of seconds after downloading an image via BitTorrent that it should
10449# be seeded for other peers.'
10450# (integer value)
10451# This option is deprecated for removal since 15.0.0.
10452# Its value may be silently ignored in the future.
10453# Reason:
10454# The torrent feature has not been tested nor maintained, and as such is being
10455# removed.
10456#torrent_seed_duration=3600
10457
10458# DEPRECATED:
10459# Cached torrent files not accessed within this number of seconds can be reaped.
10460# (integer value)
10461# Minimum value: 0
10462# This option is deprecated for removal since 15.0.0.
10463# Its value may be silently ignored in the future.
10464# Reason:
10465# The torrent feature has not been tested nor maintained, and as such is being
10466# removed.
10467#torrent_max_last_accessed=86400
10468
10469# DEPRECATED: Beginning of port range to listen on (port value)
10470# Minimum value: 0
10471# Maximum value: 65535
10472# This option is deprecated for removal since 15.0.0.
10473# Its value may be silently ignored in the future.
10474# Reason:
10475# The torrent feature has not been tested nor maintained, and as such is being
10476# removed.
10477#torrent_listen_port_start=6881
10478
10479# DEPRECATED: End of port range to listen on (port value)
10480# Minimum value: 0
10481# Maximum value: 65535
10482# This option is deprecated for removal since 15.0.0.
10483# Its value may be silently ignored in the future.
10484# Reason:
10485# The torrent feature has not been tested nor maintained, and as such is being
10486# removed.
10487#torrent_listen_port_end=6891
10488
10489# DEPRECATED:
10490# Number of seconds a download can remain at the same progress percentage w/o
10491# being considered a stall.
10492# (integer value)
10493# Minimum value: 0
10494# This option is deprecated for removal since 15.0.0.
10495# Its value may be silently ignored in the future.
10496# Reason:
10497# The torrent feature has not been tested nor maintained, and as such is being
10498# removed.
10499#torrent_download_stall_cutoff=600
10500
10501# DEPRECATED:
10502# Maximum number of seeder processes to run concurrently within a given dom0
10503# (-1 = no limit).
10504# (integer value)
10505# Minimum value: -1
10506# This option is deprecated for removal since 15.0.0.
10507# Its value may be silently ignored in the future.
10508# Reason:
10509# The torrent feature has not been tested nor maintained, and as such is being
10510# removed.
10511#torrent_max_seeder_processes_per_host=1
10512
10513#
10514# Cache glance images locally.
10515#
10516# The value for this option must be chosen from the choices listed
10517# here. Configuring a value other than these will default to 'all'.
10518#
10519# Note: There is nothing that deletes these images.
10520#
10521# Possible values:
10522#
10523# * `all`: will cache all images.
10524# * `some`: will only cache images that have the
10525# image_property `cache_in_nova=True`.
10526# * `none`: turns off caching entirely.
10527# (string value)
10528# Allowed values: all, some, none
10529#cache_images=all
10530
10531#
10532# Compression level for images.
10533#
10534# By setting this option we can configure the gzip compression level.
10535# This option sets GZIP environment variable before spawning tar -cz
10536# to force the compression level. It defaults to none, which means the
10537# GZIP environment variable is not set and the default (usually -6)
10538# is used.
10539#
10540# Possible values:
10541#
10542# * Range is 1-9, e.g., 9 for gzip -9, 9 being most
10543# compressed but most CPU intensive on dom0.
10544# * Any values out of this range will default to None.
10545# (integer value)
10546# Minimum value: 1
10547# Maximum value: 9
10548#image_compression_level=<None>
10549
10550# Default OS type used when uploading an image to glance (string value)
10551#default_os_type=linux
10552
10553# Time in secs to wait for a block device to be created (integer value)
10554# Minimum value: 1
10555#block_device_creation_timeout=10
stelucz78e77262017-07-10 20:27:30 +020010556{%- if controller.block_device_creation_timeout is defined %}
10557block_device_creation_timeout = {{ controller.block_device_creation_timeout }}
Stehlik Lukas2e3ef322017-07-11 09:44:43 +020010558{%- endif %}
Jakub Pavlik02a01c72017-04-11 16:04:51 +020010559
10560#
10561# Maximum size in bytes of kernel or ramdisk images.
10562#
10563# Specifying the maximum size of kernel or ramdisk will avoid copying
10564# large files to dom0 and fill up /boot/guest.
10565# (integer value)
10566#max_kernel_ramdisk_size=16777216
10567
10568#
10569# Filter for finding the SR to be used to install guest instances on.
10570#
10571# Possible values:
10572#
10573# * To use the Local Storage in default XenServer/XCP installations
10574# set this flag to other-config:i18n-key=local-storage.
10575# * To select an SR with a different matching criteria, you could
10576# set it to other-config:my_favorite_sr=true.
10577# * To fall back on the Default SR, as displayed by XenCenter,
10578# set this flag to: default-sr:true.
10579# (string value)
10580#sr_matching_filter=default-sr:true
10581
10582#
10583# Whether to use sparse_copy for copying data on a resize down.
10584# (False will use standard dd). This speeds up resizes down
10585# considerably since large runs of zeros won't have to be rsynced.
10586# (boolean value)
10587#sparse_copy=true
10588
10589#
10590# Maximum number of retries to unplug VBD.
10591# If set to 0, should try once, no retries.
10592# (integer value)
10593# Minimum value: 0
10594#num_vbd_unplug_retries=10
10595
10596#
10597# Whether or not to download images via Bit Torrent.
10598#
10599# The value for this option must be chosen from the choices listed
10600# here. Configuring a value other than these will default to 'none'.
10601#
10602# Possible values:
10603#
10604# * `all`: will download all images.
10605# * `some`: will only download images that have the image_property
10606# `bittorrent=true`.
10607# * `none`: will turnoff downloading images via Bit Torrent.
10608# (string value)
10609# Allowed values: all, some, none
10610#torrent_images=none
10611
10612#
10613# Name of network to use for booting iPXE ISOs.
10614#
10615# An iPXE ISO is a specially crafted ISO which supports iPXE booting.
10616# This feature gives a means to roll your own image.
10617#
10618# By default this option is not set. Enable this option to
10619# boot an iPXE ISO.
10620#
10621# Related Options:
10622#
10623# * `ipxe_boot_menu_url`
10624# * `ipxe_mkisofs_cmd`
10625# (string value)
10626#ipxe_network_name=<None>
10627
10628#
10629# URL to the iPXE boot menu.
10630#
10631# An iPXE ISO is a specially crafted ISO which supports iPXE booting.
10632# This feature gives a means to roll your own image.
10633#
10634# By default this option is not set. Enable this option to
10635# boot an iPXE ISO.
10636#
10637# Related Options:
10638#
10639# * `ipxe_network_name`
10640# * `ipxe_mkisofs_cmd`
10641# (string value)
10642#ipxe_boot_menu_url=<None>
10643
10644#
10645# Name and optionally path of the tool used for ISO image creation.
10646#
10647# An iPXE ISO is a specially crafted ISO which supports iPXE booting.
10648# This feature gives a means to roll your own image.
10649#
10650# Note: By default `mkisofs` is not present in the Dom0, so the
10651# package can either be manually added to Dom0 or include the
10652# `mkisofs` binary in the image itself.
10653#
10654# Related Options:
10655#
10656# * `ipxe_network_name`
10657# * `ipxe_boot_menu_url`
10658# (string value)
10659#ipxe_mkisofs_cmd=mkisofs
10660
10661#
10662# URL for connection to XenServer/Xen Cloud Platform. A special value
10663# of unix://local can be used to connect to the local unix socket.
10664#
10665# Possible values:
10666#
10667# * Any string that represents a URL. The connection_url is
10668# generally the management network IP address of the XenServer.
10669# * This option must be set if you chose the XenServer driver.
10670# (string value)
10671#connection_url=<None>
10672
10673# Username for connection to XenServer/Xen Cloud Platform (string value)
10674#connection_username=root
10675
10676# Password for connection to XenServer/Xen Cloud Platform (string value)
10677#connection_password=<None>
10678
10679#
10680# The interval used for polling of coalescing vhds.
10681#
10682# This is the interval after which the task of coalesce VHD is
10683# performed, until it reaches the max attempts that is set by
10684# vhd_coalesce_max_attempts.
10685#
10686# Related options:
10687#
10688# * `vhd_coalesce_max_attempts`
10689# (floating point value)
10690# Minimum value: 0
10691#vhd_coalesce_poll_interval=5.0
10692
10693#
10694# Ensure compute service is running on host XenAPI connects to.
10695# This option must be set to false if the 'independent_compute'
10696# option is set to true.
10697#
10698# Possible values:
10699#
10700# * Setting this option to true will make sure that compute service
10701# is running on the same host that is specified by connection_url.
10702# * Setting this option to false, doesn't perform the check.
10703#
10704# Related options:
10705#
10706# * `independent_compute`
10707# (boolean value)
10708#check_host=true
10709
10710#
10711# Max number of times to poll for VHD to coalesce.
10712#
10713# This option determines the maximum number of attempts that can be
10714# made for coalescing the VHD before giving up.
10715#
10716# Related opitons:
10717#
10718# * `vhd_coalesce_poll_interval`
10719# (integer value)
10720# Minimum value: 0
10721#vhd_coalesce_max_attempts=20
10722
10723# Base path to the storage repository on the XenServer host. (string value)
10724#sr_base_path=/var/run/sr-mount
10725
10726#
10727# The iSCSI Target Host.
10728#
10729# This option represents the hostname or ip of the iSCSI Target.
10730# If the target host is not present in the connection information from
10731# the volume provider then the value from this option is taken.
10732#
10733# Possible values:
10734#
10735# * Any string that represents hostname/ip of Target.
10736# (string value)
10737#target_host=<None>
10738
10739#
10740# The iSCSI Target Port.
10741#
10742# This option represents the port of the iSCSI Target. If the
10743# target port is not present in the connection information from the
10744# volume provider then the value from this option is taken.
10745# (port value)
10746# Minimum value: 0
10747# Maximum value: 65535
10748#target_port=3260
10749
10750# DEPRECATED:
10751# Used to enable the remapping of VBD dev.
10752# (Works around an issue in Ubuntu Maverick)
10753# (boolean value)
10754# This option is deprecated for removal since 15.0.0.
10755# Its value may be silently ignored in the future.
10756# Reason:
10757# This option provided a workaround for issues in Ubuntu Maverick, which
10758# was released in April 2010 and was dropped from support in April 2012.
10759# There's no reason to continue supporting this option.
10760#remap_vbd_dev=false
10761
10762#
10763# Specify prefix to remap VBD dev to (ex. /dev/xvdb -> /dev/sdb).
10764#
10765# Related options:
10766#
10767# * If `remap_vbd_dev` is set to False this option has no impact.
10768# (string value)
10769#remap_vbd_dev_prefix=sd
10770
10771#
10772# Used to prevent attempts to attach VBDs locally, so Nova can
10773# be run in a VM on a different host.
10774#
10775# Related options:
10776#
10777# * ``CONF.flat_injected`` (Must be False)
10778# * ``CONF.xenserver.check_host`` (Must be False)
10779# * ``CONF.default_ephemeral_format`` (Must be unset or 'ext3')
10780# * Joining host aggregates (will error if attempted)
10781# * Swap disks for Windows VMs (will error if attempted)
10782# * Nova-based auto_configure_disk (will error if attempted)
10783# (boolean value)
10784#independent_compute=false
10785
10786#
10787# Wait time for instances to go to running state.
10788#
10789# Provide an integer value representing time in seconds to set the
10790# wait time for an instance to go to running state.
10791#
10792# When a request to create an instance is received by nova-api and
10793# communicated to nova-compute, the creation of the instance occurs
10794# through interaction with Xen via XenAPI in the compute node. Once
10795# the node on which the instance(s) are to be launched is decided by
10796# nova-schedule and the launch is triggered, a certain amount of wait
10797# time is involved until the instance(s) can become available and
10798# 'running'. This wait time is defined by running_timeout. If the
10799# instances do not go to running state within this specified wait
10800# time, the launch expires and the instance(s) are set to 'error'
10801# state.
10802# (integer value)
10803# Minimum value: 0
10804#running_timeout=60
10805
10806# DEPRECATED:
10807# The XenAPI VIF driver using XenServer Network APIs.
10808#
10809# Provide a string value representing the VIF XenAPI vif driver to use for
10810# plugging virtual network interfaces.
10811#
10812# Xen configuration uses bridging within the backend domain to allow
10813# all VMs to appear on the network as individual hosts. Bridge
10814# interfaces are used to create a XenServer VLAN network in which
10815# the VIFs for the VM instances are plugged. If no VIF bridge driver
10816# is plugged, the bridge is not made available. This configuration
10817# option takes in a value for the VIF driver.
10818#
10819# Possible values:
10820#
10821# * nova.virt.xenapi.vif.XenAPIOpenVswitchDriver (default)
10822# * nova.virt.xenapi.vif.XenAPIBridgeDriver (deprecated)
10823#
10824# Related options:
10825#
10826# * ``vlan_interface``
10827# * ``ovs_integration_bridge``
10828# (string value)
10829# This option is deprecated for removal since 15.0.0.
10830# Its value may be silently ignored in the future.
10831# Reason:
10832# There are only two in-tree vif drivers for XenServer. XenAPIBridgeDriver is
10833# for
10834# nova-network which is deprecated and XenAPIOpenVswitchDriver is for Neutron
10835# which is the default configuration for Nova since the 15.0.0 Ocata release. In
10836# the future the "use_neutron" configuration option will be used to determine
10837# which vif driver to use.
10838#vif_driver=nova.virt.xenapi.vif.XenAPIOpenVswitchDriver
10839
10840#
10841# Dom0 plugin driver used to handle image uploads.
10842#
10843# Provide a string value representing a plugin driver required to
10844# handle the image uploading to GlanceStore.
10845#
10846# Images, and snapshots from XenServer need to be uploaded to the data
10847# store for use. image_upload_handler takes in a value for the Dom0
10848# plugin driver. This driver is then called to uplaod images to the
10849# GlanceStore.
10850# (string value)
10851#image_upload_handler=nova.virt.xenapi.image.glance.GlanceStore
10852
10853#
10854# Number of seconds to wait for SR to settle if the VDI
10855# does not exist when first introduced.
10856#
10857# Some SRs, particularly iSCSI connections are slow to see the VDIs
10858# right after they got introduced. Setting this option to a
10859# time interval will make the SR to wait for that time period
10860# before raising VDI not found exception.
10861# (integer value)
10862# Minimum value: 0
10863#introduce_vdi_retry_wait=20
10864
10865#
10866# The name of the integration Bridge that is used with xenapi
10867# when connecting with Open vSwitch.
10868#
10869# Note: The value of this config option is dependent on the
10870# environment, therefore this configuration value must be set
10871# accordingly if you are using XenAPI.
10872#
10873# Possible values:
10874#
10875# * Any string that represents a bridge name.
10876# (string value)
10877#ovs_integration_bridge=<None>
10878
10879#
10880# When adding new host to a pool, this will append a --force flag to the
10881# command, forcing hosts to join a pool, even if they have different CPUs.
10882#
10883# Since XenServer version 5.6 it is possible to create a pool of hosts that have
10884# different CPU capabilities. To accommodate CPU differences, XenServer limited
10885# features it uses to determine CPU compatibility to only the ones that are
10886# exposed by CPU and support for CPU masking was added.
10887# Despite this effort to level differences between CPUs, it is still possible
10888# that adding new host will fail, thus option to force join was introduced.
10889# (boolean value)
10890#use_join_force=true
10891
10892#
10893# Publicly visible name for this console host.
10894#
10895# Possible values:
10896#
10897# * A string representing a valid hostname
10898# (string value)
10899# Deprecated group/name - [DEFAULT]/console_public_hostname
10900#console_public_hostname=lcy01-22
10901
10902
10903[xvp]
10904#
10905# Configuration options for XVP.
10906#
10907# xvp (Xen VNC Proxy) is a proxy server providing password-protected VNC-based
10908# access to the consoles of virtual machines hosted on Citrix XenServer.
10909
10910#
10911# From nova.conf
10912#
10913
10914# XVP conf template (string value)
10915# Deprecated group/name - [DEFAULT]/console_xvp_conf_template
10916#console_xvp_conf_template=$pybasedir/nova/console/xvp.conf.template
10917
10918# Generated XVP conf file (string value)
10919# Deprecated group/name - [DEFAULT]/console_xvp_conf
10920#console_xvp_conf=/etc/xvp.conf
10921
10922# XVP master process pid file (string value)
10923# Deprecated group/name - [DEFAULT]/console_xvp_pid
10924#console_xvp_pid=/var/run/xvp.pid
10925
10926# XVP log file (string value)
10927# Deprecated group/name - [DEFAULT]/console_xvp_log
10928#console_xvp_log=/var/log/xvp.log
10929
10930# Port for XVP to multiplex VNC connections on (port value)
10931# Minimum value: 0
10932# Maximum value: 65535
10933# Deprecated group/name - [DEFAULT]/console_xvp_multiplex_port
10934#console_xvp_multiplex_port=5900