You can update certain parameters in your Nova service configuration by using the viocli update nova command.
For more information about Nova configuration, see the OpenStack Nova Configuration documentation.
For more information about Nova service configuration examples, see the OpenStack Nova Configuration file.
conf:
nova:
DEFAULT:
force_config_drive: false
rpc_response_timeout: 6000
executor_thread_pool_size: 64
conductor:
workers: 2
vmware:
network_passthrough: false
tenant_vdc: false
filter_scheduler:
max_instance_per_host: 50
max_io_ops_per_host: 8
available_filters: nova.scheduler.filters.all_filters
enabled_filters: AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,
ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,PciPassthroughFilter,AggregateInstanceExtraSpecsFilter
pci:
alias: [{"device_type": "type-VF", "name": "sriov"}, {"vendor_id":"8086", "product_id":"1520",
"device_type": "type-PF", "name":"fpt"}]
passthrough_whitelist: [{"vendor_id": "*", "product_id": "*"}]
cinder:
cross_az_attach: true
scheduler:
max_attempts: 3
database:
max_pool_size: 50
| Parameter | Default Value | Description |
|---|---|---|
| force_config_drive |
false |
Enter |
| rpc_response_timeout |
60 |
Enter the value in seconds to wait for a response from a call. |
| executor_thread_pool_size |
64 |
Enter the size of the executor thread pool for the executor to thread or eventlet. |
| workers |
none |
Enter the number of workers for the OpenStack Conductor service. |
| max_instances_per_host |
50 |
Enter the maximum number of instances that can exist on a host. |
| max_io_ops_per_host |
8 |
Enter the maximum number of instances that can actively perform input and output operation on a host. |
| available_filters |
nova.scheduler.filters.all_filters |
Enter filters that a scheduler can use. |
| enabled_filters |
Enter filters that a scheduler must use.
Supported filters: AvailabilityZoneFilter, ComputeFilter,, ImagePropertiesFilter,, ServerGroupAffinityFilter PciPassthroughFilter, AggregateInstanceExtraSpecsFilter, AggregateMultiTenancyIsolation |
|
| alias |
'' |
Enter the aliasfor the PCI passthrough device requirement. |
| passthrough_whitelist |
'' |
Enter the allowlist of peripheral component interconnect devices available to virtual machines. |
| cross_az_attach |
true |
Enter the attach between instance and volume in different availability zones. If this value is |
| max_attempt |
3 |
Enter the maximum number of schedule attempts for a chosen host. |
| max_pool_size |
none |
Enter the maximum number of SQL connections to keep open in a pool. A value of |